User interface to allow admin to waive warehouse storage invoice transaction

This commit is contained in:
Dillon Ngo
2024-02-15 21:21:08 +08:00
parent c427ae42a0
commit d807e5d4fd
@@ -69,7 +69,7 @@
</div>
</div>
<div class="col-1 p-l-0 p-r-0 d-flex justify-content-center align-items-center" v-if="$store.getters.isAdmin">
<span class="d-inline-block m-r-15 text-primary bold text-underline pointer requestModal" v-if="item.type === 16 && item.is_waived === 0 && item.is_waived === 2" :data-type="'waiveInvoice-' + item.id">
<span class="d-inline-block m-r-15 text-primary bold text-underline pointer requestModal" v-if="item.type === 16 && item.is_waived === 0 && item.status === 2" :data-type="'waiveInvoice-' + item.id">
Waive Transaction
</span>
<span class="d-inline-block m-r-15 text-primary bold" v-else-if="item.type === 16 && item.is_waived === 1">
@@ -78,7 +78,7 @@
<span class="d-inline-block m-r-15 text-primary bold" v-else>
N/A
</span>
<modal-component class="animate__animated animate__fast animate__fadeIn" styleType="fill-in" v-if="item.type === 16 && item.is_waived === 0 && item.is_waived === 2" :type="'waiveInvoice-' + item.id">
<modal-component class="animate__animated animate__fast animate__fadeIn" styleType="fill-in" v-if="item.type === 16 && item.is_waived === 0 && item.status === 2" :type="'waiveInvoice-' + item.id">
<waive-invoice-form-component :data="item" :section="section"></waive-invoice-form-component>
</modal-component>
</div>