enhacnements

This commit is contained in:
2026-01-02 05:18:09 +03:00
parent d337eb4220
commit f1ae1568a8
3 changed files with 29 additions and 14 deletions

View File

@@ -16,8 +16,31 @@ export default function PaymentDetails({ order }: { order?: Order }) {
<Divider style={{ margin: "15px 0 15px 0" }} />
<Space orientation="vertical" style={{ width: "100%" }}>
<div className={`${styles.summaryRow} ${styles.totalRow}`}>
<ProText strong>{t("cart.totalAmount")}</ProText>
<ArabicPrice price={order?.total_price || 0} strong />
<ProText
style={{
fontWeight: 600,
fontStyle: "SemiBold",
fontSize: 16,
lineHeight: "140%",
letterSpacing: "0%",
textAlign: "center",
color: "#333333",
}}
>
{t("cart.totalAmount")}
</ProText>
<ArabicPrice
price={order?.total_price || 0}
textStyle={{
fontWeight: 400,
fontStyle: "Regular",
fontSize: 16,
lineHeight: "140%",
letterSpacing: "0%",
textAlign: "center",
color: "#434E5C",
}}
/>
</div>
</Space>
</Card>