eb39f42b8c
- Added new API routes for correction and return from sale in POS_SALE_INVOICES_API_ROUTES. - Implemented correction and return from sale methods in PosSaleInvoicesService. - Updated PosSaleInvoiceStore to include actions for correction and return from sale. - Enhanced single.component to handle correction and return from sale events. - Created correction and return from sale forms with appropriate validation and submission logic. - Updated sale-invoice-single-view component to manage correction and return from sale actions. - Added models for correction and return from sale requests. - Improved user interface messages and form handling for better user experience.
14 lines
395 B
HTML
14 lines
395 B
HTML
<div class="p-4">
|
|
<shared-sale-invoice-single-view
|
|
[loading]="loading()"
|
|
[invoice]="invoice()"
|
|
[backRoute]="backRoute()"
|
|
[sendToTspLoading]="sendToTspLoading()"
|
|
[inquiryLoading]="inquiryLoading()"
|
|
(onSendToTsp)="sendToTsp()"
|
|
(onInquiry)="inquiry()"
|
|
(onCorrection)="correction($event)"
|
|
(onReturnFromSale)="returnFromSale($event)"
|
|
variant="pos" />
|
|
</div>
|