redeem: initial commit

This commit is contained in:
2026-01-08 23:26:45 +03:00
parent ebe9928091
commit 6271c14eff
26 changed files with 1577 additions and 491 deletions

View File

@@ -23,6 +23,7 @@ import { useTranslation } from "react-i18next";
import { Variant } from "utils/types/appTypes";
import DeleteIcon from "components/Icons/DeleteIcon";
import PlusIcon from "components/Icons/PlusIcon";
import { GiftItemsCard } from "pages/redeem/components/GiftItemsCard";
interface CartMobileTabletLayoutProps {
form: FormInstance;
@@ -66,7 +67,9 @@ export default function CartMobileTabletLayout({
>
{/* Table Number */}
{(orderType === OrderType.DineIn ||
orderType === OrderType.ToOffice) && <TableNumberCard />}
orderType === OrderType.ToOffice) && <TableNumberCard />}
{orderType === OrderType.Redeem && <GiftItemsCard isCart={true} />}
<div className={`${styles.cartContent} ${getResponsiveClass()}`}>
<Card className={styles.cartItem}>