mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
modal to approve match and reject match
This commit is contained in:
+1
-1
@@ -56,7 +56,7 @@
|
||||
class="text-center"
|
||||
:apiRoute="route('api.company.delete', 1)"
|
||||
apiMethod="post"
|
||||
:section="section"
|
||||
section="statementTransactionComponent"
|
||||
>
|
||||
</general-confirmation-form-component>
|
||||
</modal-component>
|
||||
|
||||
+3
-2
@@ -89,7 +89,7 @@
|
||||
</div>
|
||||
<list-component ref="bankTransactionsList" section="bankTransactionSection" :endpoint="route('api.accounting.bank.transaction')" :options="this.filter">
|
||||
<template slot="list" slot-scope="{data}">
|
||||
<statement-transaction-component :data="data" :stage="stage"></statement-transaction-component>
|
||||
<statement-transaction-component :data="data" :section="section" :stage="stage"></statement-transaction-component>
|
||||
</template>
|
||||
</list-component>
|
||||
</div>
|
||||
@@ -141,7 +141,8 @@ export default {
|
||||
stage: null,
|
||||
exportStage: 0,
|
||||
step: 0,
|
||||
filter: {}
|
||||
filter: {},
|
||||
section: 'bankTransactionSection',
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
||||
@@ -15,7 +15,8 @@
|
||||
<div class="btn btn-sm btn-secondary btn-block b-rad-none" data-dismiss="modal">Cancel</div>
|
||||
</div>
|
||||
<div class="col p-l-5">
|
||||
<div class="btn btn-sm btn-block b-rad-none" :class="[{'btn-danger': modalType !== 'confirm'}, {'btn-success': modalType === 'confirm'}]" @click="submit(apiRoute, apiMethod, section, true, true)">{{ buttonText }}</div>
|
||||
<!-- <div class="btn btn-sm btn-block b-rad-none" :class="[{'btn-danger': modalType !== 'confirm'}, {'btn-success': modalType === 'confirm'}]" @click="submit(apiRoute, apiMethod, section, true, true)">{{ buttonText }}</div> -->
|
||||
<div class="btn btn-sm btn-block b-rad-none" :class="[{'btn-danger': modalType !== 'confirm'}, {'btn-success': modalType === 'confirm'}]" @click="test">{{ buttonText }}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -49,6 +50,11 @@
|
||||
required: true
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
test() {
|
||||
console.log('sjhb');
|
||||
}
|
||||
},
|
||||
mixins: [componentHandler, ModalFormHandler]
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user