order: fix payment summary

This commit is contained in:
2025-11-27 19:02:43 +03:00
parent cba4cf8f1c
commit 024fd6b85b
2 changed files with 15 additions and 92 deletions

View File

@@ -15,13 +15,9 @@ export default function PaymentDetails({ order }: { order?: Order }) {
<ProTitle style={{ fontSize: 18 }}>{t("cart.orderSummary")}</ProTitle>
<Divider style={{ margin: "15px 0 15px 0" }} />
<Space direction="vertical" style={{ width: "100%" }}>
<div className={`${styles.summaryRow} ${styles.totalRow}`}>
<ProText strong>{t("cart.totalAmount")}</ProText>
<ArabicPrice
price={order?.total_price || 0}
strong
/>
<ArabicPrice price={order?.total_price || 0} strong />
</div>
</Space>
</Card>