mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 21:41:57 +00:00
chore(FE-199): add reference_number, po_number, and approval property
This commit is contained in:
Vendored
+4
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user