fix(quotation-preview): discount not show

This commit is contained in:
Methapon Metanipat 2024-10-21 15:08:47 +07:00
parent bedbcd1a95
commit c16732dd1a

View file

@ -347,6 +347,13 @@ function print() {
{{ formatNumberDecimal(summaryPrice.vat, 2) }} ฿
</td>
</tr>
<tr>
<td>{{ $t('general.discountAfterVat') }}</td>
<td class="text-right">
{{ formatNumberDecimal(data?.discount || 0, 2) }}
฿
</td>
</tr>
</tbody>
</table>