|
|
|
@ -274,7 +274,9 @@ function ShoppingCart({ |
|
|
|
|
}`}
|
|
|
|
|
> |
|
|
|
|
<div className="flex flex-col flex-1">{layouts[phase]}</div> |
|
|
|
|
{phase !== "address" && ( |
|
|
|
|
{console.log(list)} |
|
|
|
|
{list?.length |
|
|
|
|
? phase !== "address" && ( |
|
|
|
|
<div |
|
|
|
|
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 }} |
|
|
|
@ -293,7 +295,9 @@ function ShoppingCart({ |
|
|
|
|
<PriceStatus |
|
|
|
|
name="مالیات بر ارزش افزوده" |
|
|
|
|
value={ |
|
|
|
|
productsLength ? Math.floor(factorInfo?.sumPrice * 0.009) : "" |
|
|
|
|
productsLength |
|
|
|
|
? Math.floor(factorInfo?.sumPrice * 0.009) |
|
|
|
|
: "" |
|
|
|
|
} |
|
|
|
|
type="error" |
|
|
|
|
/> |
|
|
|
@ -378,7 +382,8 @@ function ShoppingCart({ |
|
|
|
|
</button> |
|
|
|
|
)} |
|
|
|
|
</div> |
|
|
|
|
)} |
|
|
|
|
) |
|
|
|
|
: null} |
|
|
|
|
</div> |
|
|
|
|
); |
|
|
|
|
} |
|
|
|
|