From 1a3eb8af17b307a0a0e2a9fb565d563fb9486a7b Mon Sep 17 00:00:00 2001 From: Elsio Sanchez <45974454+elsiosanchez@users.noreply.github.com> Date: Sun, 22 Aug 2021 21:18:28 -0400 Subject: [PATCH] Support for payment types in the return of funds (#1096) * Support for payment types in the return of funds * renaming the file Co-authored-by: elsiosanchez --- .../Collection/overdrawnInvoice/index.vue | 95 +++---- .../paymentTypeChange/ACH/fieldsListACH.js | 108 ++++++++ .../paymentTypeChange/ACH/index.vue | 232 ++++++++++++++++++ .../paymentTypeChange/MobilePayment.vue | 224 +++++++++++++++++ 4 files changed, 614 insertions(+), 45 deletions(-) create mode 100644 src/components/ADempiere/Form/VPOS/Collection/overdrawnInvoice/paymentTypeChange/ACH/fieldsListACH.js create mode 100644 src/components/ADempiere/Form/VPOS/Collection/overdrawnInvoice/paymentTypeChange/ACH/index.vue create mode 100644 src/components/ADempiere/Form/VPOS/Collection/overdrawnInvoice/paymentTypeChange/MobilePayment.vue diff --git a/src/components/ADempiere/Form/VPOS/Collection/overdrawnInvoice/index.vue b/src/components/ADempiere/Form/VPOS/Collection/overdrawnInvoice/index.vue index 268648ba..242f02c7 100644 --- a/src/components/ADempiere/Form/VPOS/Collection/overdrawnInvoice/index.vue +++ b/src/components/ADempiere/Form/VPOS/Collection/overdrawnInvoice/index.vue @@ -65,49 +65,31 @@ {{ $t('form.pos.collect.overdrawnInvoice.customerLimit') }}: {{ formatPrice(maximumRefundAllowed, currency.iSOCode) }} | {{ formatPrice(0, isoCode) }} -
- - - - - - - - - - - - - - - - - +
+ + +
+ +
+ + {{ payment.name }} + +
+

Nombre

+

Cedula

+

Telefono

+

Banco

+

Descripcion

+
+
+
+
+
+
+
@@ -130,6 +112,13 @@ + import('./paymentTypeChange/MobilePayment.vue') + break + case 'A': + typePay = () => import('./paymentTypeChange/ACH/index.vue') + break + } + return typePay + }, showDialogo() { return this.$store.state['pointOfSales/payments/index'].dialogoInvoce.show }, @@ -211,14 +213,12 @@ export default { return this.$store.getters.posAttributes.currentPointOfSales.displayCurrency.iso_code }, maximumDailyRefundAllowed() { - console.log(this.$store.getters.posAttributes.currentPointOfSales.displayCurrency.iso_code) return this.$store.getters.posAttributes.currentPointOfSales.maximumDailyRefundAllowed }, maximumRefundAllowed() { return this.$store.getters.posAttributes.currentPointOfSales.maximumRefundAllowed }, displayeCurrency() { - console.log(this.$store.getters.posAttributes.currentPointOfSales) const tenderType = this.$store.getters.getValueOfField({ containerUuid: 'OverdrawnInvoice', columnName: 'TenderType' @@ -392,6 +392,11 @@ export default { diff --git a/src/components/ADempiere/Form/VPOS/Collection/overdrawnInvoice/paymentTypeChange/MobilePayment.vue b/src/components/ADempiere/Form/VPOS/Collection/overdrawnInvoice/paymentTypeChange/MobilePayment.vue new file mode 100644 index 00000000..fbf7806c --- /dev/null +++ b/src/components/ADempiere/Form/VPOS/Collection/overdrawnInvoice/paymentTypeChange/MobilePayment.vue @@ -0,0 +1,224 @@ + + + + + +