Ver código fonte

reopen stock lot ledger report and improve stock ledger report and if INT show as x.00

fix負數倉
CANCERYS\kw093 8 horas atrás
pai
commit
fa01bafc05
5 arquivos alterados com 19 adições e 4 exclusões
  1. +1
    -0
      src/app/(main)/report/ReportSelectionDashboard.tsx
  2. +1
    -1
      src/app/(main)/report/reportCategories.ts
  3. +1
    -3
      src/config/reportConfig.ts
  4. +8
    -0
      src/i18n/en/report.json
  5. +8
    -0
      src/i18n/zh/report.json

+ 1
- 0
src/app/(main)/report/ReportSelectionDashboard.tsx Ver arquivo

@@ -23,6 +23,7 @@ import { useReportLabels } from "./reportI18n";

const REPORT_ICON_MAP: Record<string, SvgIconComponent> = {
"rep-011": Inventory2OutlinedIcon,
"rep-020": Inventory2OutlinedIcon,
"rep-007": MonetizationOnOutlinedIcon,
"rep-012": LayersOutlinedIcon,
"rep-021": Inventory2OutlinedIcon,


+ 1
- 1
src/app/(main)/report/reportCategories.ts Ver arquivo

@@ -17,7 +17,7 @@ export const REPORT_CATEGORIES: ReportCategoryConfig[] = [
headerBg: "#b8e0b8",
bodyBg: "#eef8ee",
accent: "#2e7d32",
reportIds: ["rep-011", "rep-007", "rep-012", "rep-021", "rep-010"],
reportIds: ["rep-011", "rep-020", "rep-007", "rep-012", "rep-021", "rep-010"],
},
{
id: "inbound-outbound",


+ 1
- 3
src/config/reportConfig.ts Ver arquivo

@@ -300,7 +300,6 @@ export const REPORTS: ReportDefinition[] = [
asyncItemCodeField(),
]
},
/* Hidden for now: 庫存流水帳報告 (rep-020)
{
id: "rep-020",
title: "庫存流水帳報告",
@@ -309,10 +308,9 @@ export const REPORTS: ReportDefinition[] = [
fields: [
{ label: "期間起 Period From(永遠該月1日)", name: "lastInDateStart", type: "date", required: true },
{ label: "期間迄 Period To", name: "lastInDateEnd", type: "date", required: true },
{ label: "貨品編號 Item Code", name: "itemCode", type: "text", required: false },
asyncItemCodeField(),
],
},
*/
/*
{
id: "rep-007",


+ 8
- 0
src/i18n/en/report.json Ver arquivo

@@ -118,6 +118,14 @@
"itemCode": "Item Code"
}
},
"rep-020": {
"title": "Stock Lot Ledger Report",
"fields": {
"lastInDateStart": "Period From (always 1st of month)",
"lastInDateEnd": "Period To",
"itemCode": "Item Code"
}
},
"rep-007": {
"title": "Stock Balance Report",
"fields": {


+ 8
- 0
src/i18n/zh/report.json Ver arquivo

@@ -118,6 +118,14 @@
"itemCode": "貨品編號"
}
},
"rep-020": {
"title": "庫存流水帳報告",
"fields": {
"lastInDateStart": "期間起(永遠該月1日)",
"lastInDateEnd": "期間迄",
"itemCode": "貨品編號"
}
},
"rep-007": {
"title": "庫存結餘報告",
"fields": {


Carregando…
Cancelar
Salvar