update modal to approve match and reject match

This commit is contained in:
edmondlang
2023-04-19 22:51:52 +08:00
parent 082c9de572
commit 9e865ea5b2
@@ -28,9 +28,25 @@
</div>
</div>
<div class="col">
<div class="row" v-for="owner in item.owners">
<div class="row parentContainer" v-for="owner in item.owners">
<div class="col">
<a :href="owner.reference_link" target="_blank">{{ owner.reference }}</a>
<div v-if="stage === 2">
<button class="btn btn-xs btn-outline-primary b-rad-none m-r-5 requestModal" data-type="approveCorrectMappingTransaction">
<i class="fa fa-times fa-fw"></i>
</button>
<modal-component class="animate__animated animate__fast animate__fadeIn" styleType="fill-in" type="approveCorrectMappingTransaction">
<general-confirmation-form-component
contentText="Are you sure you want to choose this mapping?"
modalType="confirm"
class="text-center"
:apiRoute="route('api.company.delete', 1)"
apiMethod="post"
section="statementTransactionComponent"
>
</general-confirmation-form-component>
</modal-component>
</div>
</div>
</div>
</div>