fix: clean and finalproduct installment

This commit is contained in:
puriphatt 2024-10-10 17:49:14 +07:00
parent e40ac7a30e
commit 85b108a9b2
2 changed files with 10 additions and 2 deletions

View file

@ -283,7 +283,15 @@ watch(
{{ $t('quotation.paySplitCount') }}
</span>
<span class="app-text-muted text-caption">
({{ $t('quotation.payTotal', { msg: '10,000' }) }})
({{
$t('quotation.payTotal', {
msg:
formatNumberDecimal(
Math.max(summaryPrice.finalPrice, 0),
2,
) || 0,
})
}})
</span>
</div>
<q-input