|
|
@ -274,7 +274,9 @@ function ShoppingCart({ |
|
|
|
}`}
|
|
|
|
}`}
|
|
|
|
> |
|
|
|
> |
|
|
|
<div className="flex flex-col flex-1">{layouts[phase]}</div> |
|
|
|
<div className="flex flex-col flex-1">{layouts[phase]}</div> |
|
|
|
{phase !== "address" && ( |
|
|
|
{console.log(list)} |
|
|
|
|
|
|
|
{list?.length |
|
|
|
|
|
|
|
? phase !== "address" && ( |
|
|
|
<div |
|
|
|
<div |
|
|
|
className="flex flex-col w-1/4 p-10 bg-white shadow-all rounded-md px-4 py-4" |
|
|
|
className="flex flex-col w-1/4 p-10 bg-white shadow-all rounded-md px-4 py-4" |
|
|
|
style={{ height: "fit-content", minWidth: 350 }} |
|
|
|
style={{ height: "fit-content", minWidth: 350 }} |
|
|
@ -293,7 +295,9 @@ function ShoppingCart({ |
|
|
|
<PriceStatus |
|
|
|
<PriceStatus |
|
|
|
name="مالیات بر ارزش افزوده" |
|
|
|
name="مالیات بر ارزش افزوده" |
|
|
|
value={ |
|
|
|
value={ |
|
|
|
productsLength ? Math.floor(factorInfo?.sumPrice * 0.009) : "" |
|
|
|
productsLength |
|
|
|
|
|
|
|
? Math.floor(factorInfo?.sumPrice * 0.009) |
|
|
|
|
|
|
|
: "" |
|
|
|
} |
|
|
|
} |
|
|
|
type="error" |
|
|
|
type="error" |
|
|
|
/> |
|
|
|
/> |
|
|
@ -378,7 +382,8 @@ function ShoppingCart({ |
|
|
|
</button> |
|
|
|
</button> |
|
|
|
)} |
|
|
|
)} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
)} |
|
|
|
) |
|
|
|
|
|
|
|
: null} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
} |
|
|
|