-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfile.txt
More file actions
27 lines (26 loc) · 1.62 KB
/
file.txt
File metadata and controls
27 lines (26 loc) · 1.62 KB
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
const columns:ColumnType[] = [
{ key: "id", label: "S/N" },
{ key: "rawMaterials", label: "Selected Materials", type: "dropdown", options: rawMaterials?rawMaterials.map(value => value.name)?? []:[] },
{ key: "supplier", label: "Supplier", type: "dropdown", options: suppliers?suppliers.map(value => value.fullName)?? []:[]},
{ key: "uom", label: "UoM" },
{ key: "qty", label: "Qty", type: "number" },
{ key: "weight", label: "Weight(Kg)",type:"number" },
{ key: "productionLost", label: "Production Lost Weight(kg)", type: "number"},
{ key: "usable", label: "Usable Weight(Kg)", type: "number" },
{ key: "cost", label: "Cost", type: "number" },
{ key: "avgCost", label: "Avg Cost(Kg)", type: "number" },
{ key: "avgWeightPerUOM", label: "Avg Weight per UOM", type: "number" },
];
const columns:ColumnType[] = [
{ key: "id", label: "S/N" },
{ key: "rawMaterials", label: "Total Raw Materials", type: "text"},
{ key: "totalUsable", label: "Total Usable (Kg)",type: "number" },
{ key: "batch", label: "Batch",type: "number" },
{ key: "ingredient", label: "Ingredient", type:"text",info:true},
{ key: "outputLitres", label: "Output Litres",type: "number" },
{ key: "productionLost", label: "Production Litres Lost(kg)",type:"number"},
{ key: "usableLitres", label: "Usable Litres", type: "number" },
{ key: "litres/kg", label: "Litres/Kg", type: "number" },
{ key: "cost/litre", label: "Cost/Litre", type: "number" },
{ key: "rawBrix", label: "Raw Brix", type: "number" }
];