|
|
@@ -61,6 +61,18 @@ export const REPORTS: ReportDefinition[] = [ |
|
|
{ label: "Material", value: "Mat" } |
|
|
{ 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... |
|
|
]; |
|
|
]; |