diff --git a/src/components/NeuPOS/types.ts b/src/components/NeuPOS/types.ts index 3c669994..9f8fea9a 100644 --- a/src/components/NeuPOS/types.ts +++ b/src/components/NeuPOS/types.ts @@ -2,9 +2,8 @@ export type ItemQtyMap = { [item: string]: { availableQty: number;[batch: string]: number }; } -export type ItemSerialNumbers = { [item: string]: string } +export type ItemSerialNumbers = { [item: string]: string }; -export enum DiscountType { - Percent= "percent", - Amount= "amount" -} \ No newline at end of file +export type DiscountType = "percent" | "amount"; + +export type ModalName = 'ShiftOpen' | 'ShiftClose' | 'Payment' \ No newline at end of file diff --git a/src/pages/NeuPOS/NeuPOS.vue b/src/pages/NeuPOS/NeuPOS.vue index d4f05558..2f8acbef 100644 --- a/src/pages/NeuPOS/NeuPOS.vue +++ b/src/pages/NeuPOS/NeuPOS.vue @@ -50,11 +50,8 @@