fix: quotation invoice btn handle
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 6s

This commit is contained in:
puriphatt 2025-07-14 10:53:55 +07:00
parent 40e6d1ba1c
commit 12b49a2a07

View file

@ -2088,7 +2088,14 @@ function covertToNode() {
:style="`background-color:hsla(var(--info-bg) / 0.07)`"
>
<q-th auto-width>
<q-checkbox v-model="props.selected" />
<q-checkbox
v-if="
!quotationFormData.paySplit.every(
(p) => p.invoiceId,
)
"
v-model="props.selected"
/>
</q-th>
<q-th
v-for="col in props.cols"
@ -2298,7 +2305,12 @@ function covertToNode() {
</MainButton>
</div>
<template v-if="view === View.InvoicePre">
<template
v-if="
view === View.InvoicePre &&
!quotationFormData.paySplit.every((p) => p.invoiceId)
"
>
<MainButton
solid
icon="mdi-account-multiple-check-outline"