Skip to content

Dev - #50

Merged
iJosueeh merged 2 commits into
mainfrom
dev
Jul 9, 2026
Merged

Dev#50
iJosueeh merged 2 commits into
mainfrom
dev

Conversation

@iJosueeh

@iJosueeh iJosueeh commented Jul 9, 2026

Copy link
Copy Markdown
Owner

No description provided.

iJosueeh and others added 2 commits July 8, 2026 23:14
…s with stock adjustment

- Add lot duplicate validation in inventory modal (same product + same sede)
- Add inline error label for lot validation in inventory wizard
- Add editable detail table in atencion edit modal (Lote ComboBox + Cantidad TextField)
- Create EditarAtencionUseCase with stock reversal logic (reverse old → apply new)
- Create EliminarAtencionUseCase to restore stock on attention deletion
- Add deleteDetallesByAtencionId and deleteMovimientosByAtencionId to repository
- Add productoId to AtencionDetalle for lot loading per product
- Fix eliminarAtencion to properly restore stock and clean movement records

BREAKING CHANGE: eliminarAtencion now requires session context for stock restoration
feat(inventory, atencion): lot duplicate validation + editable detail…
Copilot AI review requested due to automatic review settings July 9, 2026 04:19

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 2ae1625 into main Jul 9, 2026
2 checks 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