Pārlūkot izejas kodu

Stock In Traceability Report

MergeProblem1
Tommy\2Fi-Staff pirms 2 nedēļām
vecāks
revīzija
e317d18821
1 mainītis faili ar 13 papildinājumiem un 1 dzēšanām
  1. +13
    -1
      src/config/reportConfig.ts

+ 13
- 1
src/config/reportConfig.ts Parādīt failu

@@ -61,6 +61,18 @@ export const REPORTS: ReportDefinition[] = [
{ label: "Material", value: "Mat" }
] },
]
},
{
id: "rep-004",
title: "Stock In Traceability Report",
apiEndpoint: `${NEXT_PUBLIC_API_URL}/report/print-stock-in-traceability`,
fields: [
{ label: "Stock Category", name: "stockCategory", type: "text", required: false, placeholder: "e.g. Meat" },
{ label: "Stock Sub Category", name: "stockSubCategory", type: "text", required: false, placeholder: "e.g. Chicken" },
{ label: "Item Code", name: "itemCode", type: "text", required: false, placeholder: "e.g. MT-001" },
{ label: "Last In Date Start", name: "lastInDateStart", type: "date", required: false },
{ label: "Last In Date End", name: "lastInDateEnd", type: "date", required: false },
]
}
// Add Report 3 to 10 following the same pattern...
// Add more reports following the same pattern...
];

Notiek ielāde…
Atcelt
Saglabāt