Merged PR 1889: feat(remission-data-access, remission-list, remission-start-card): add remission item selection and quantity update logic

- Introduce `addReturnItem` and `addReturnSuggestionItem` methods to `RemissionReturnReceiptService` with full schema validation and error handling
- Add models and schemas for receipt-return tuples and add-return-item/suggestion operations
- Refactor `RemissionStore` (formerly `RemissionSelectionStore`) to support selection, quantity updates, and clearing of remission items; update all usages to new store name and API
- Update `RemissionListItemComponent` to support item selection via checkbox and quantity dialog, following workspace UX and state management guidelines
- Enhance `RemissionListComponent` to handle selected items, batch remission, and error/success feedback using new store and service APIs
- Fix and extend tests for new store and service logic, ensuring coverage for selection, quantity, and remission flows
- Update remission start dialog and assign package number components for improved validation and loading state handling

Ref: #5221
This commit is contained in:
Nino Righi
2025-07-21 10:28:12 +00:00
committed by Lorenz Hilpert
parent 594acaa5f5
commit 3cd6f4bd58
45 changed files with 4936 additions and 1007 deletions

View File

@@ -1,6 +1,6 @@
.ui-dialog {
@apply bg-isa-white p-8 grid gap-8 items-start rounded-[2rem] grid-flow-row text-isa-neutral-900 relative;
@apply max-h-[90vh] overflow-hidden;
@apply max-h-[90vh] max-w-[90vw] overflow-hidden;
grid-template-rows: auto 1fr;
.ui-dialog-title {
@@ -14,7 +14,8 @@
@apply min-h-0;
}
&:has(ui-feedback-dialog) {
&:has(ui-feedback-dialog),
&:has(remi-remission-start-dialog) {
@apply gap-0;
}
}