feat(statistics): implement top alert stocks, top last sales, top supplier debts, and top selling products endpoints with SQL queries
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
enum OrderStatus {
|
||||
PENDING
|
||||
REJECT
|
||||
REJECTED
|
||||
CANCELED
|
||||
DONE
|
||||
}
|
||||
|
||||
@@ -42,3 +43,17 @@ enum PurchaseReceiptStatus {
|
||||
PARTIALLY_PAID
|
||||
PAID
|
||||
}
|
||||
|
||||
enum BankAccountTransactionType {
|
||||
DEPOSIT
|
||||
WITHDRAWAL
|
||||
}
|
||||
|
||||
enum BankTransactionRefType {
|
||||
PURCHASE_PAYMENT
|
||||
PURCHASE_REFUND
|
||||
POS_SALE
|
||||
POS_REFUND
|
||||
BANK_TRANSFER
|
||||
MANUAL_ADJUSTMENT
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user