mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-25 15:55:48 +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 { Location } from '@/types/api/master-data/location';
|
||||||
import { Kandang } from '@/types/api/master-data/kandang';
|
import { Kandang } from '@/types/api/master-data/kandang';
|
||||||
import { Supplier } from '@/types/api/master-data/supplier';
|
import { Supplier } from '@/types/api/master-data/supplier';
|
||||||
@@ -6,6 +6,8 @@ import { Nonstock } from '@/types/api/master-data/nonstock';
|
|||||||
|
|
||||||
export type BaseExpense = {
|
export type BaseExpense = {
|
||||||
id: number;
|
id: number;
|
||||||
|
reference_number: string;
|
||||||
|
po_number?: string;
|
||||||
location: Location;
|
location: Location;
|
||||||
transaction_date: string;
|
transaction_date: string;
|
||||||
realization_date?: string;
|
realization_date?: string;
|
||||||
@@ -27,6 +29,7 @@ export type BaseExpense = {
|
|||||||
nominal: number;
|
nominal: number;
|
||||||
paid?: number;
|
paid?: number;
|
||||||
remaining_cost?: number;
|
remaining_cost?: number;
|
||||||
|
approval: BaseApproval;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type Expense = BaseMetadata & BaseExpense;
|
export type Expense = BaseMetadata & BaseExpense;
|
||||||
|
|||||||
Reference in New Issue
Block a user