fix: hide btn on pay condition full & status pending
This commit is contained in:
parent
1325f79bc2
commit
57f1d6665f
1 changed files with 8 additions and 1 deletions
|
|
@ -1528,7 +1528,13 @@ const view = ref<View>(View.Quotation);
|
||||||
</MainButton>
|
</MainButton>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<div v-if="view === View.Invoice">
|
<div
|
||||||
|
v-if="
|
||||||
|
view === View.Invoice &&
|
||||||
|
quotationFormData.quotationStatus !== 'PaymentPending' &&
|
||||||
|
quotationFormData.payCondition !== 'Full'
|
||||||
|
"
|
||||||
|
>
|
||||||
<MainButton
|
<MainButton
|
||||||
solid
|
solid
|
||||||
icon="mdi-account-multiple-check-outline"
|
icon="mdi-account-multiple-check-outline"
|
||||||
|
|
@ -1542,6 +1548,7 @@ const view = ref<View>(View.Quotation);
|
||||||
{{ $t('quotation.approveInvoice') }}
|
{{ $t('quotation.approveInvoice') }}
|
||||||
</MainButton>
|
</MainButton>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
class="row"
|
class="row"
|
||||||
style="gap: var(--size-2)"
|
style="gap: var(--size-2)"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue