Skip to content

feat(productos): add permanent delete with global inventory validation - #54

Merged
iJosueeh merged 1 commit into
devfrom
feat/producto-delete-actions
Jul 15, 2026
Merged

feat(productos): add permanent delete with global inventory validation#54
iJosueeh merged 1 commit into
devfrom
feat/producto-delete-actions

Conversation

@iJosueeh

Copy link
Copy Markdown
Owner
  • Add 3rd action button (permanent delete) alongside edit and deactivate
  • Change deactivate icon from fas-trash to fas-toggle-off (warning style)
  • Permanent delete uses fas-trash (danger style) with text confirmation
  • Validate product has no lotes across ALL sedes before allowing deletion
  • Add existsByProducto to LoteRepository chain (global check)
  • Adjust colAcciones width (pref=120, min=110, max=160) for 3 buttons

- Add 3rd action button (permanent delete) alongside edit and deactivate
- Change deactivate icon from fas-trash to fas-toggle-off (warning style)
- Permanent delete uses fas-trash (danger style) with text confirmation
- Validate product has no lotes across ALL sedes before allowing deletion
- Add existsByProducto to LoteRepository chain (global check)
- Adjust colAcciones width (pref=120, min=110, max=160) for 3 buttons
Copilot AI review requested due to automatic review settings July 15, 2026 21:43

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@iJosueeh
iJosueeh merged commit d1558b1 into dev Jul 15, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants