This commit is contained in:
2026-02-04 13:49:07 +03:30
parent 5fd6611aca
commit de14d531e1
222 changed files with 7053 additions and 57956 deletions
-67
View File
@@ -9,35 +9,6 @@
* 🟢 You can import this file directly.
*/
export const OrderStatus = {
PENDING: 'PENDING',
REJECTED: 'REJECTED',
CANCELED: 'CANCELED',
DONE: 'DONE'
} as const
export type OrderStatus = (typeof OrderStatus)[keyof typeof OrderStatus]
export const MovementType = {
IN: 'IN',
OUT: 'OUT',
ADJUST: 'ADJUST'
} as const
export type MovementType = (typeof MovementType)[keyof typeof MovementType]
export const MovementReferenceType = {
PURCHASE: 'PURCHASE',
SALES: 'SALES',
ADJUSTMENT: 'ADJUSTMENT',
INVENTORY_TRANSFER: 'INVENTORY_TRANSFER'
} as const
export type MovementReferenceType = (typeof MovementReferenceType)[keyof typeof MovementReferenceType]
export const PaymentMethodType = {
CASH: 'CASH',
CARD: 'CARD',
@@ -49,24 +20,6 @@ export const PaymentMethodType = {
export type PaymentMethodType = (typeof PaymentMethodType)[keyof typeof PaymentMethodType]
export const LedgerSourceType = {
PURCHASE: 'PURCHASE',
PAYMENT: 'PAYMENT',
ADJUSTMENT: 'ADJUSTMENT',
REFUND: 'REFUND'
} as const
export type LedgerSourceType = (typeof LedgerSourceType)[keyof typeof LedgerSourceType]
export const PaymentType = {
PAYMENT: 'PAYMENT',
REFUND: 'REFUND'
} as const
export type PaymentType = (typeof PaymentType)[keyof typeof PaymentType]
export const PurchaseReceiptStatus = {
UNPAID: 'UNPAID',
PARTIALLY_PAID: 'PARTIALLY_PAID',
@@ -74,23 +27,3 @@ export const PurchaseReceiptStatus = {
} as const
export type PurchaseReceiptStatus = (typeof PurchaseReceiptStatus)[keyof typeof PurchaseReceiptStatus]
export const BankAccountTransactionType = {
DEPOSIT: 'DEPOSIT',
WITHDRAWAL: 'WITHDRAWAL'
} as const
export type BankAccountTransactionType = (typeof BankAccountTransactionType)[keyof typeof BankAccountTransactionType]
export const BankTransactionRefType = {
PURCHASE_PAYMENT: 'PURCHASE_PAYMENT',
PURCHASE_REFUND: 'PURCHASE_REFUND',
POS_SALE: 'POS_SALE',
POS_REFUND: 'POS_REFUND',
BANK_TRANSFER: 'BANK_TRANSFER',
MANUAL_ADJUSTMENT: 'MANUAL_ADJUSTMENT'
} as const
export type BankTransactionRefType = (typeof BankTransactionRefType)[keyof typeof BankTransactionRefType]