add fields
This commit is contained in:
@@ -133,11 +133,14 @@ const handlePayment = () => {
|
||||
{{ cart?.cart_total }}
|
||||
</span>
|
||||
</div>
|
||||
<div
|
||||
class="flex items-center justify-between w-full text-gray-500"
|
||||
>
|
||||
<span class="max-w-1/2 text-sm"> تخفیف کلی محصولات: </span>
|
||||
|
||||
<div class="flex items-center justify-between w-full text-slate-800">
|
||||
<span class="max-w-1/2 text-sm"> مالیات ارزش افزوده: </span>
|
||||
|
||||
<span class="max-w-1/2 text-sm"> {{ cart?.tax }} </span>
|
||||
<span class="max-w-1/2 text-sm">
|
||||
{{ cart?.items_discount_amount }}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div
|
||||
@@ -151,6 +154,13 @@ const handlePayment = () => {
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div class="flex items-center justify-between w-full text-slate-800">
|
||||
<span class="max-w-1/2 text-sm"> مالیات ارزش افزوده: </span>
|
||||
|
||||
<span class="max-w-1/2 text-sm"> {{ cart?.tax_amount }} </span>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="flex items-center justify-between w-full text-slate-900">
|
||||
<span class="max-w-1/2 text-sm"> جمع کل: </span>
|
||||
|
||||
|
||||
Vendored
+2
-1
@@ -235,7 +235,8 @@ declare global {
|
||||
discount_code: DiscountCode;
|
||||
items: CartItem[];
|
||||
cart_total: string;
|
||||
tax: string;
|
||||
items_discount_amount: string
|
||||
tax_amount: string;
|
||||
final_price: string;
|
||||
address: Address;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user