This commit is contained in:
Viet An
2026-06-18 16:22:37 +07:00
parent 8b07ab4e65
commit 667832078d
23 changed files with 395 additions and 412 deletions

View File

@@ -27,12 +27,21 @@ const invoiceProducts = computed(() => {
<div
v-for="product in invoiceProducts"
:key="product.id"
class="p-3 has-background-white-95 rounded-md"
class="p-3 has-background-white-ter rounded-md"
>
<div class="is-flex is-justify-content-space-between is-align-items-flex-end">
<div>
<p class="font-semibold">{{ product.variant__product__name }}</p>
<div class="is-flex is-gap-8 fs-13 has-text-grey-30 mt-1">
<p class="font-semibold">
{{ product.variant__product__name }}
</p>
<p class="fs-13 has-text-grey-40">
<span>{{ product.variant__internal_storage__code }}</span>
<span> - </span>
<span>{{ product.variant__ram__code }} RAM</span>
<span> - </span>
<span>{{ product.variant__color__name }}</span>
</p>
<div class="is-flex is-gap-8 fs-13 has-text-grey-30 mt-2">
<p>SL: {{ product.amount }}</p>
<p>Đơn giá: {{ $formatNum(product.price, { hasUnit: true }) }}</p>
</div>