feat(payment): update payment bridge and form components
- Refactor PosPaymentBridgeAbstract to enforce PosPaymentResult type for emitPaymentResultForTest method. - Simplify PosPaymentBridgeService by removing commented-out code and improving error handling. - Replace PosPaymentFormDialogComponent with SharedInvoicePaymentFormDialog in root.component.html for better payment handling. - Enhance root.component.ts to manage payment form visibility and submission logic. - Update light-bottomsheet.component.html for improved styling. - Add new return form features including item removal and total price calculation in returnForm components. - Introduce new payment form dialog for handling invoice payments with detailed structure and validation. - Implement payment handling logic in sale-invoice-single-view component to support correction payments. - Ensure proper integration of payment components in the shared components index.
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
}
|
||||
</header>
|
||||
}
|
||||
<div class="light-bottomsheet-body p-4">
|
||||
<div class="light-bottomsheet-body mx-auto w-full max-w-xl p-4">
|
||||
@if (contentRendered) {
|
||||
<ng-content></ng-content>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user