From 8b02d0df1c55c0c2de972cfa8150b2e3329bcaaf Mon Sep 17 00:00:00 2001 From: ValdiANS Date: Mon, 17 Nov 2025 14:57:55 +0700 Subject: [PATCH] chore(FE-199): add reference_number, po_number, and approval property --- src/types/api/expense.d.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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;