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",