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>
|
||||
</template>
|
||||
|
||||
<div v-if="view === View.Invoice">
|
||||
<div
|
||||
v-if="
|
||||
view === View.Invoice &&
|
||||
quotationFormData.quotationStatus !== 'PaymentPending' &&
|
||||
quotationFormData.payCondition !== 'Full'
|
||||
"
|
||||
>
|
||||
<MainButton
|
||||
solid
|
||||
icon="mdi-account-multiple-check-outline"
|
||||
|
|
@ -1542,6 +1548,7 @@ const view = ref<View>(View.Quotation);
|
|||
{{ $t('quotation.approveInvoice') }}
|
||||
</MainButton>
|
||||
</div>
|
||||
|
||||
<div
|
||||
class="row"
|
||||
style="gap: var(--size-2)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue