chore: install prettier

This commit is contained in:
Viet An
2026-05-04 15:22:27 +07:00
parent 93d29ca7d8
commit bd58e2b847
267 changed files with 22950 additions and 13581 deletions

View File

@@ -1,6 +1,6 @@
<script setup>
const props = defineProps({
order: Object
order: Object,
});
const { $numtoString } = useNuxtApp();
@@ -16,12 +16,17 @@ const { $numtoString } = useNuxtApp();
>
<div class="fs-15 is-flex is-justify-content-space-between">
<p class="">{{ product.name }}</p>
<p class="font-bold">{{ $numtoString(product.total, { hasUnit: true }) }}</p>
<p class="font-bold">
{{ $numtoString(product.total, { hasUnit: true }) }}
</p>
</div>
<div class="is-flex is-gap-8 fs-13 has-text-grey-50 mt-1">
<p>SL: {{ product.quantity }}</p>
<p>Đơn giá: {{ $numtoString(product.unit_price, { hasUnit: true }) }}</p>
<p>Giảm: {{ new Intl.NumberFormat("vi-VN", { style: "percent" }).format(product.discount) }}</p>
<p>
Giảm:
{{ new Intl.NumberFormat("vi-VN", { style: "percent" }).format(product.discount) }}
</p>
</div>
</div>
</div>