From 44ddcebcede7ebf9ab59f4d37ace3ebfd637b37e Mon Sep 17 00:00:00 2001 From: edmondlang Date: Wed, 19 Apr 2023 21:02:52 +0800 Subject: [PATCH] modal to approve match and reject match --- .../accounting/elements/StatementTransactionComponent.vue | 2 +- .../accounting/sections/TransactionsMappingComponent.vue | 5 +++-- .../general/forms/GeneralConfirmationFormComponent.vue | 8 +++++++- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/resources/assets/vue/components/accounting/elements/StatementTransactionComponent.vue b/resources/assets/vue/components/accounting/elements/StatementTransactionComponent.vue index d5459e81..357db4be 100644 --- a/resources/assets/vue/components/accounting/elements/StatementTransactionComponent.vue +++ b/resources/assets/vue/components/accounting/elements/StatementTransactionComponent.vue @@ -56,7 +56,7 @@ class="text-center" :apiRoute="route('api.company.delete', 1)" apiMethod="post" - :section="section" + section="statementTransactionComponent" > diff --git a/resources/assets/vue/components/accounting/sections/TransactionsMappingComponent.vue b/resources/assets/vue/components/accounting/sections/TransactionsMappingComponent.vue index 2e9ba412..e51f1e9f 100644 --- a/resources/assets/vue/components/accounting/sections/TransactionsMappingComponent.vue +++ b/resources/assets/vue/components/accounting/sections/TransactionsMappingComponent.vue @@ -89,7 +89,7 @@ @@ -141,7 +141,8 @@ export default { stage: null, exportStage: 0, step: 0, - filter: {} + filter: {}, + section: 'bankTransactionSection', } }, methods: { diff --git a/resources/assets/vue/components/general/forms/GeneralConfirmationFormComponent.vue b/resources/assets/vue/components/general/forms/GeneralConfirmationFormComponent.vue index 561681aa..7ac446dd 100644 --- a/resources/assets/vue/components/general/forms/GeneralConfirmationFormComponent.vue +++ b/resources/assets/vue/components/general/forms/GeneralConfirmationFormComponent.vue @@ -15,7 +15,8 @@
Cancel
-
{{ buttonText }}
+ +
{{ buttonText }}
@@ -49,6 +50,11 @@ required: true }, }, + methods: { + test() { + console.log('sjhb'); + } + }, mixins: [componentHandler, ModalFormHandler] }