Files
psp_api/prisma/schema/enum.prisma
T
ahasani d98507fc1f fix: update SupplierLedger model to use correct enum casing and adjust types
feat: enhance PosAccountsService to include inventoryBankAccount details in responses

refactor: modify PosService to return structured inventory and bank account data

chore: remove isSettled field from CreatePurchaseReceiptDto and adjust related logic

feat: add payments selection in SuppliersService for better payment tracking

chore: apply database migrations to adjust decimal types and enforce constraints

chore: create index on Pos_Accounts for improved query performance

feat: define Supplier and SupplierLedger models in Prisma schema for better data management
2025-12-26 22:09:46 +03:30

45 lines
416 B
Plaintext

enum OrderStatus {
PENDING
REJECT
DONE
}
enum MovementType {
IN
OUT
ADJUST
}
enum MovementReferenceType {
PURCHASE
SALES
ADJUSTMENT
INVENTORY_TRANSFER
}
enum PaymentMethodType {
CASH
CARD
BANK
CHECK
OTHER
}
enum LedgerSourceType {
PURCHASE
PAYMENT
ADJUSTMENT
REFUND
}
enum PaymentType {
PAYMENT
REFUND
}
enum PurchaseReceiptStatus {
UNPAID
PARTIALLY_PAID
PAID
}