refactor(FE-435,436): Add location_id to expense form and payload

This commit is contained in:
rstubryan
2025-12-30 18:38:59 +07:00
parent 7daca04cc1
commit 8f4f3d93b8
5 changed files with 24 additions and 2 deletions
+2
View File
@@ -57,6 +57,7 @@ export type Expense = BaseMetadata & BaseExpense;
export type CreateExpensePayload = {
category: 'BOP' | 'NON-BOP';
location_id: number;
transaction_date: string;
supplier_id: number;
documents: File[];
@@ -72,6 +73,7 @@ export type CreateExpensePayload = {
};
export type UpdateExpensePayload = {
location_id: number;
category: 'BOP' | 'NON-BOP';
transaction_date: string;
supplier_id: number;