changes
This commit is contained in:
@@ -27,12 +27,12 @@ const invoiceProducts = computed(() => {
|
||||
<div
|
||||
v-for="product in invoiceProducts"
|
||||
:key="product.id"
|
||||
class="p-3 has-background-white-ter rounded-md"
|
||||
class="p-3 has-background-white-95 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-dark mt-1">
|
||||
<div class="is-flex is-gap-8 fs-13 has-text-grey-30 mt-1">
|
||||
<p>SL: {{ product.amount }}</p>
|
||||
<p>Đơn giá: {{ $formatNum(product.price, { hasUnit: true }) }}</p>
|
||||
</div>
|
||||
@@ -47,15 +47,15 @@ const invoiceProducts = computed(() => {
|
||||
<table class="table is-fullwidth is-bordered fs-14 mb-8">
|
||||
<tbody class="has-text-right">
|
||||
<tr>
|
||||
<td class="has-text-grey-dark">Tổng tiền hàng</td>
|
||||
<td class="has-text-grey-30">Tổng tiền hàng</td>
|
||||
<td>{{ $formatNum(invoice.total_amount, { hasUnit: true }) }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="has-text-grey-dark">Phí vận chuyển</td>
|
||||
<td class="has-text-grey-30">Phí vận chuyển</td>
|
||||
<td>{{ $formatNum(invoice.shipping_fee, { hasUnit: true }) }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="has-text-grey-dark">Giảm giá</td>
|
||||
<td class="has-text-grey-30">Giảm giá</td>
|
||||
<td>{{ $formatNum(invoice.discount_amount, { hasUnit: true }) }}</td>
|
||||
</tr>
|
||||
<tr class="font-bold">
|
||||
|
||||
Reference in New Issue
Block a user