@@ -350,8 +347,7 @@
profile?.payButtonColour ||
fyo.singles.Defaults?.payButtonColour,
}"
- :disabled="disablePayButton"
- @click="emitEvent('toggleModal', 'Payment', true)"
+ @click="emitEvent('handlePaymentAction')"
>
@@ -506,6 +502,7 @@ export default defineComponent({
'selectedReturnInvoice',
'setTransferClearanceDate',
'saveAndContinue',
+ 'handlePaymentAction',
],
data() {
return {
diff --git a/src/pages/POS/POS.vue b/src/pages/POS/POS.vue
index 9e19cbf1..fc4a5b74 100644
--- a/src/pages/POS/POS.vue
+++ b/src/pages/POS/POS.vue
@@ -62,6 +62,7 @@
@selected-return-invoice="selectedReturnInvoice"
@set-transfer-clearance-date="setTransferClearanceDate"
@save-and-continue="handleSaveAndContinue"
+ @handle-payment-action="handlePaymentAction"
/>