mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-22 14:25:47 +00:00
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:
Vendored
+4
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user