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

@ -6,7 +6,7 @@ const props = withDefaults(
defineProps<{
// eslint-disable-next-line @typescript-eslint/no-explicit-any
items: any;
newItems: any;
newItems?: any;
color?: string;
borderSearchSection?: boolean;
itemClass?: string;

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