cash shift

This commit is contained in:
2026-07-14 12:57:30 +03:30
parent f2da078c5a
commit 59e958e809
16 changed files with 627 additions and 5 deletions
@@ -0,0 +1,21 @@
import { PaymentMethodEnum } from '../../payments/interface/payment';
export enum CashShiftStatus {
OPEN = 'open',
CLOSED = 'closed',
}
export const SHIFT_REVENUE_PAYMENT_METHODS = [
PaymentMethodEnum.Cash,
PaymentMethodEnum.Online,
PaymentMethodEnum.CreditCard,
] as const;
export interface CashShiftSummary {
ordersCount: number;
cashReceived: number;
onlineReceived: number;
creditCardReceived: number;
totalReceived: number;
expectedAmount: number;
}