feat(fakeedi): added in remark to the templates

This commit is contained in:
2025-05-23 12:10:43 -05:00
parent 1e079e8381
commit c2da6cf4fd
4 changed files with 6 additions and 0 deletions

View File

@@ -70,6 +70,7 @@ export const standardOrders = async (data: any, user: any) => {
"Quantity",
"DeliveryDate",
"CustomerID",
"Remark",
];
const orderData = XLSX.utils.sheet_to_json(sheet, {
defval: "",
@@ -156,6 +157,7 @@ export const standardOrders = async (data: any, user: any) => {
deliveryDate: excelDateStuff(o.DeliveryDate),
customerLineItemNo: o.CustomerLineNumber, // this is how it is currently sent over from abbott
customerReleaseNo: o.CustomerRealeaseNumber, // same as above
remark: o.remark === "" ? null : o.remark,
},
],
};