From e317d18821bd384234d470b09ba56c0b7267a653 Mon Sep 17 00:00:00 2001 From: "Tommy\\2Fi-Staff" Date: Tue, 20 Jan 2026 19:03:00 +0800 Subject: [PATCH] Stock In Traceability Report --- src/config/reportConfig.ts | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/config/reportConfig.ts b/src/config/reportConfig.ts index f4a242e..50d15e2 100644 --- a/src/config/reportConfig.ts +++ b/src/config/reportConfig.ts @@ -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... ]; \ No newline at end of file