From f3a6822ca8aca9a30317c7392519ac7c0eed5f0b Mon Sep 17 00:00:00 2001 From: "Tommy\\2Fi-Staff" Date: Mon, 30 Mar 2026 19:41:06 +0800 Subject: [PATCH] update --- src/config/reportConfig.ts | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/config/reportConfig.ts b/src/config/reportConfig.ts index e4df646..f546562 100644 --- a/src/config/reportConfig.ts +++ b/src/config/reportConfig.ts @@ -113,7 +113,7 @@ export const REPORTS: ReportDefinition[] = [ { label: "物料編號 Item Code", name: "itemCode", type: "text", required: false}, ] }, - +/* { id: "rep-007", title: "庫存結餘報告", @@ -131,6 +131,17 @@ export const REPORTS: ReportDefinition[] = [ { label: "物料編號 Item Code", name: "itemCode", type: "text", required: false}, ] }, + */ + { + id: "rep-007", + title: "庫存結餘報告", + apiEndpoint: `${NEXT_PUBLIC_API_URL}/report/print-stock-balance`, + fields: [ + { label: "庫存日期: Stock Date", name: "stockDate", type: "date", required: true }, + + { label: "物料編號 Item Code", name: "itemCode", type: "text", required: false}, + ] + }, { id: "rep-014",