diff --git a/src/types/api/expense.d.ts b/src/types/api/expense.d.ts index cab20a4b..78a8ac76 100644 --- a/src/types/api/expense.d.ts +++ b/src/types/api/expense.d.ts @@ -1,4 +1,4 @@ -import { BaseMetadata } from '@/types/api/api-general'; +import { BaseApproval, BaseMetadata } from '@/types/api/api-general'; import { Location } from '@/types/api/master-data/location'; import { Kandang } from '@/types/api/master-data/kandang'; import { Supplier } from '@/types/api/master-data/supplier'; @@ -6,6 +6,8 @@ import { Nonstock } from '@/types/api/master-data/nonstock'; export type BaseExpense = { id: number; + reference_number: string; + po_number?: string; location: Location; transaction_date: string; realization_date?: string; @@ -27,6 +29,7 @@ export type BaseExpense = { nominal: number; paid?: number; remaining_cost?: number; + approval: BaseApproval; }; export type Expense = BaseMetadata & BaseExpense;