This commit is contained in:
2026-01-14 21:30:32 +03:00
parent 3a72b8e933
commit ce68b8b978
6 changed files with 52 additions and 30 deletions

View File

@@ -450,7 +450,7 @@ export default function OrderPage() {
)}
</Card>
<Ads2 />
{/* <Ads2 /> */}
{/* <ProInputCard
title={
@@ -506,7 +506,7 @@ export default function OrderPage() {
<PaymentDetails order={orderDetails?.order} />
{/* inviteToBill */}
{!hasClosedStatus && (
{/* {!hasClosedStatus && (
<ProInputCard
title={
<>
@@ -622,7 +622,7 @@ export default function OrderPage() {
</ProText>
</Button>
</ProInputCard>
)}
)} */}
<QRBottomSheet isOpen={isOpen} onClose={() => setIsOpen(false)} />
@@ -671,25 +671,25 @@ export default function OrderPage() {
onClose={() => setIsRateOrderOpen(false)}
/>
{!hasClosedStatus ||
(hasCanceledByCustomerStatus && <CancelOrderBottomSheet />)}
{(!hasClosedStatus && !hasCanceledByCustomerStatus) && (
<CancelOrderBottomSheet />
)}
</Layout.Content>
{hasClosedStatus ||
(hasCanceledByCustomerStatus && (
<Layout.Footer className={styles.checkoutButtonContainer}>
<Button
type="primary"
shape="round"
className={styles.checkoutButton}
onClick={() => {
navigate(`/${restaurant?.subdomain}/menu`);
}}
>
{t("order.newOrder")}
</Button>
</Layout.Footer>
))}
{(hasClosedStatus || hasCanceledByCustomerStatus) && (
<Layout.Footer className={styles.checkoutButtonContainer}>
<Button
type="primary"
shape="round"
className={styles.checkoutButton}
onClick={() => {
navigate(`/${restaurant?.subdomain}/menu`);
}}
>
{t("order.newOrder")}
</Button>
</Layout.Footer>
)}
</Layout>
<SplitBillParticipantsBottomSheet
isOpen={isSplitBillParticipantsBottomSheetOpen}