| @@ -113,7 +113,7 @@ export const REPORTS: ReportDefinition[] = [ | |||||
| { label: "物料編號 Item Code", name: "itemCode", type: "text", required: false}, | { label: "物料編號 Item Code", name: "itemCode", type: "text", required: false}, | ||||
| ] | ] | ||||
| }, | }, | ||||
| /* | |||||
| { | { | ||||
| id: "rep-007", | id: "rep-007", | ||||
| title: "庫存結餘報告", | title: "庫存結餘報告", | ||||
| @@ -131,6 +131,17 @@ export const REPORTS: ReportDefinition[] = [ | |||||
| { label: "物料編號 Item Code", name: "itemCode", type: "text", required: false}, | { 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", | id: "rep-014", | ||||