shift in admin
deploy to danak / build_and_deploy (push) Has been cancelled

This commit is contained in:
2026-07-14 16:28:26 +03:30
parent 435fe3e947
commit 9aed33d73b
19 changed files with 1410 additions and 2 deletions
+3 -1
View File
@@ -120,7 +120,9 @@ const OrderDetails: FC = () => {
const hasPaymentDescription = Boolean(payment?.description)
const hasPaymentAttachments = Boolean(payment?.attachments && payment.attachments.length > 0)
const showPaymentReceiptBox = isCreditCardPayment && (hasPaymentDescription || hasPaymentAttachments)
const showVerifyCashPaymentButton = isCashPayment && isPaymentPending && !isCanceled
const showVerifyPaymentButton = (isCashPayment || isCreditCardPayment) && isPaymentPending && !isCanceled
const showPaymentVerificationBox = showPaymentReceiptBox || showVerifyCashPaymentButton
// نمایش دکمه ارسال به آشپزخانه
// برای pendingPayment با پرداخت نقدی یا برای paid
@@ -277,7 +279,7 @@ const OrderDetails: FC = () => {
getPaymentStatusTextColor={getPaymentStatusTextColor}
getPaymentStatusText={getPaymentStatusText}
/>
{showPaymentReceiptBox && (
{showPaymentVerificationBox && (
<PaymentVerificationBox
order={order}
isVerifyingPayment={isVerifyingPayment}