|
|
|
@ -33,7 +33,7 @@ function OrderDetails({ order, setHeaderOptions, headerOptions, isMobile }) { |
|
|
|
|
<div className="flex w-full justify-between items-center p-3 bg-blueC0 bg-opacity-10 rounded-t-md dark:bg-blueC0 dark:bg-opacity-10"> |
|
|
|
|
{order?.transactionId ? ( |
|
|
|
|
<strong className="font-medium text-sm lg:text-tiny text-blue52 dark:text-white"> |
|
|
|
|
{"شماره سفارش:" + " " + order?.transactionId} |
|
|
|
|
{window.t("شماره سفارش:") + " " + order?.transactionId} |
|
|
|
|
</strong> |
|
|
|
|
) : null} |
|
|
|
|
{order?.condition ? ( |
|
|
|
@ -83,7 +83,7 @@ function OrderDetails({ order, setHeaderOptions, headerOptions, isMobile }) { |
|
|
|
|
<div className="w-full rounded-md flex flex-col p-4 mt-2 bg-blueC0 bg-opacity-10 dark:bg-blueC0 dark:bg-opacity-20 dark:border-blueC0 dark:border dark:border-solid"> |
|
|
|
|
{order?.recieverPostalCode ? ( |
|
|
|
|
<strong className="text-xs lg:text-tiny text-green4F dark:text-white"> |
|
|
|
|
{"کد تحویل" + " " + order?.recieverPostalCode} |
|
|
|
|
{window.t("کد تحویل") + " " + order?.recieverPostalCode} |
|
|
|
|
</strong> |
|
|
|
|
) : null} |
|
|
|
|
<p className="font-light text-right mt-3 text-xs lg:text-sm text-green4F dark:text-white"> |
|
|
|
@ -104,7 +104,7 @@ function OrderDetails({ order, setHeaderOptions, headerOptions, isMobile }) { |
|
|
|
|
{window.t("مبلغ سبد خرید:")} |
|
|
|
|
</strong> |
|
|
|
|
<span className="flex-1 font-light text-right mr-2 text-xs lg:text-tiny text-green4F dark:text-white"> |
|
|
|
|
{order?.sumPrice + " " + "تومان"} |
|
|
|
|
{order?.sumPrice + " " + window.t("تومان")} |
|
|
|
|
</span> |
|
|
|
|
</div> |
|
|
|
|
) : null} |
|
|
|
@ -116,7 +116,7 @@ function OrderDetails({ order, setHeaderOptions, headerOptions, isMobile }) { |
|
|
|
|
{window.t("هزینه ارسال کالا:")} |
|
|
|
|
</strong> |
|
|
|
|
<span className="flex-1 font-light text-right mr-2 text-xs lg:text-tiny text-green4F dark:text-white"> |
|
|
|
|
{order?.transportPrice + " " + "تومان"} |
|
|
|
|
{order?.transportPrice + " " + window.t("تومان")} |
|
|
|
|
</span> |
|
|
|
|
</div> |
|
|
|
|
) : null} |
|
|
|
@ -126,7 +126,7 @@ function OrderDetails({ order, setHeaderOptions, headerOptions, isMobile }) { |
|
|
|
|
{window.t("جمع هزینه پرداختی:")} |
|
|
|
|
</strong> |
|
|
|
|
<span className="flex-1 font-light text-right mr-2 text-xs lg:text-tiny text-green4F dark:text-white"> |
|
|
|
|
{order?.payPrice + " " + "تومان"} |
|
|
|
|
{order?.payPrice + " " + window.t("تومان")} |
|
|
|
|
</span> |
|
|
|
|
</div> |
|
|
|
|
) : null} |
|
|
|
@ -134,7 +134,6 @@ function OrderDetails({ order, setHeaderOptions, headerOptions, isMobile }) { |
|
|
|
|
<div className="w-full flex flex-row justify-between py-2 border-b border-solid border-blueFF1 dark:border-gray45"> |
|
|
|
|
<div className="flex flex-row py-4"> |
|
|
|
|
<strong className="text-xs lg:text-tiny text-green4F dark:text-white"> |
|
|
|
|
{" "} |
|
|
|
|
{window.t("شماره تراکنش:")} |
|
|
|
|
</strong> |
|
|
|
|
<span className="flex-1 font-light text-right mr-2 text-xs lg:text-tiny text-green4F dark:text-white"> |
|
|
|
@ -158,7 +157,7 @@ function OrderDetails({ order, setHeaderOptions, headerOptions, isMobile }) { |
|
|
|
|
|
|
|
|
|
const mapStateToProps = (state) => ({ |
|
|
|
|
isMobile: state.config.device === "mobile", |
|
|
|
|
order: state.userFactor.selectedOrder |
|
|
|
|
order: state.userFactor.selectedOrder, |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
const mapDispatchToProps = { |
|
|
|
|