Просмотр исходного кода

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

fix負數倉
CANCERYS\kw093 8 часов назад
Родитель
Сommit
fa01bafc05
5 измененных файлов: 19 добавлений и 4 удалений
  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 Просмотреть файл

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


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


+ 1
- 1
src/app/(main)/report/reportCategories.ts Просмотреть файл

@@ -17,7 +17,7 @@ export const REPORT_CATEGORIES: ReportCategoryConfig[] = [
headerBg: "#b8e0b8", headerBg: "#b8e0b8",
bodyBg: "#eef8ee", bodyBg: "#eef8ee",
accent: "#2e7d32", 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", id: "inbound-outbound",


+ 1
- 3
src/config/reportConfig.ts Просмотреть файл

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


+ 8
- 0
src/i18n/en/report.json Просмотреть файл

@@ -118,6 +118,14 @@
"itemCode": "Item Code" "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": { "rep-007": {
"title": "Stock Balance Report", "title": "Stock Balance Report",
"fields": { "fields": {


+ 8
- 0
src/i18n/zh/report.json Просмотреть файл

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


Загрузка…
Отмена
Сохранить