This commit is contained in:
2026-08-14 15:28:06 +05:30
parent cd079950eb
commit 8b187b1c1d
17 changed files with 282 additions and 97 deletions

View File

@@ -3,7 +3,7 @@ import { Search, Plus, Trash2, Receipt, X, Tag, QrCode, CreditCard, PieChart, Ba
import { useFiestaStockStatement, FIESTA_TENANT_ID } from '../services/fiestaQueries';
import { num as fnum, str as fstr, type Row } from '../services/fiestaApi';
import { useNotify } from './Toasts';
import { Dialog } from '@astryxdesign/core/Dialog';
import { AppDialog } from './AppDialog';
import { Button } from '@astryxdesign/core/Button';
import { IconButton } from '@astryxdesign/core/IconButton';
import { TextInput } from '@astryxdesign/core/TextInput';
@@ -47,7 +47,7 @@ function PosModal({
children: React.ReactNode;
}) {
return (
<Dialog
<AppDialog
isOpen
onOpenChange={(open) => { if (!open) onClose(); }}
width={width}
@@ -55,7 +55,7 @@ function PosModal({
purpose="info"
>
{children}
</Dialog>
</AppDialog>
);
}