refactor(FE-435,436): Allow optional kandang and location expenses

This commit is contained in:
rstubryan
2025-12-30 18:53:46 +07:00
parent 8f4f3d93b8
commit d2e88c2061
6 changed files with 107 additions and 61 deletions
+2 -2
View File
@@ -62,7 +62,7 @@ export type CreateExpensePayload = {
supplier_id: number;
documents: File[];
expense_nonstocks: {
kandang_id: number;
kandang_id: number | null;
cost_items: {
nonstock_id: number;
quantity: number;
@@ -79,7 +79,7 @@ export type UpdateExpensePayload = {
supplier_id: number;
documents: File[];
expense_nonstocks: {
kandang_id: number;
kandang_id: number | null;
cost_items: {
nonstock_id: number;
quantity: number;