blob: 450199cedffa62addb03d857d76447c8b8e12a80 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
export interface ContractInfo {
tabLabel: string;
value: string;
}
export interface ContractorInfo {
email: string;
name: string;
roleName: string;
}
export type poTabLabes =
| "po_no"
| "vendor_name"
| "po_date"
| "project_name"
| "vendor_location"
| "shi_email"
| "vendor_email"
| "po_desc"
| "qty"
| "unit_price"
| "total"
| "grand_total_amount"
| "tax_rate"
| "tax_total"
| "payment_amount"
| "remark";
type ContentMap<T extends string> = {
[K in T]: {
tabLabel: K;
value: string;
};
};
export type POContent = ContentMap<poTabLabes>[poTabLabes][];
|