feat: add calc vat into product (will be calc in quotation)
This commit is contained in:
parent
08254d1b9f
commit
6c10c82fcc
5 changed files with 27 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ const serviceCharge = defineModel<number>('serviceCharge');
|
|||
const agentPrice = defineModel<number>('agentPrice');
|
||||
const price = defineModel<number>('price');
|
||||
const vatIncluded = defineModel<boolean>('vatIncluded');
|
||||
const calcVat = defineModel<boolean>('calcVat');
|
||||
|
||||
const price4Show = ref('');
|
||||
const agentPrice4Show = ref('');
|
||||
|
|
@ -154,6 +155,22 @@ withDefaults(
|
|||
}
|
||||
"
|
||||
/>
|
||||
|
||||
<section class="q-px-md q-mx-xs">
|
||||
<input
|
||||
id="input-calc-vat"
|
||||
type="checkbox"
|
||||
v-model="calcVat"
|
||||
:disabled="readonly"
|
||||
/>
|
||||
<label
|
||||
class="q-pl-sm"
|
||||
for="input-calc-vat"
|
||||
:style="{ opacity: readonly ? '.5' : undefined }"
|
||||
>
|
||||
{{ $t('general.calculateVat') }}
|
||||
</label>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue