Merge branch 'feat/FE/US-391/TASK-435-436-expense-adjustment' into 'development'

[FEAT/FE][US#391/TASK-435-436] Expense Adjustment

See merge request mbugroup/lti-web-client!122
This commit is contained in:
Rivaldi A N S
2025-12-30 15:21:09 +00:00
13 changed files with 485 additions and 310 deletions
+4 -2
View File
@@ -57,11 +57,12 @@ export type Expense = BaseMetadata & BaseExpense;
export type CreateExpensePayload = {
category: 'BOP' | 'NON-BOP';
location_id: number;
transaction_date: string;
supplier_id: number;
documents: File[];
expense_nonstocks: {
kandang_id: number;
kandang_id?: number;
cost_items: {
nonstock_id: number;
quantity: number;
@@ -72,12 +73,13 @@ export type CreateExpensePayload = {
};
export type UpdateExpensePayload = {
location_id: number;
category: 'BOP' | 'NON-BOP';
transaction_date: string;
supplier_id: number;
documents: File[];
expense_nonstocks: {
kandang_id: number;
kandang_id?: number;
cost_items: {
nonstock_id: number;
quantity: number;