Преглед изворни кода

Report Update

MergeProblem1
B.E.N.S.O.N пре 13 часа
родитељ
комит
8b3f8fc6e9
1 измењених фајлова са 0 додато и 2 уклоњено
  1. +0
    -2
      src/app/(main)/report/page.tsx

+ 0
- 2
src/app/(main)/report/page.tsx Прегледај датотеку

@@ -72,13 +72,11 @@ export default function ReportPage() {
categoryMap[item.code] = item;
});
// Create options with code and name format: "PP1162 瑞士汁(1磅/包)"
const options = itemCodesWithName.map(item => {
const code = item.code;
const name = item.name || '';
const category = categoryMap[code]?.category || '';
// Format: "PP1162 瑞士汁(1磅/包)" or "PP1162 瑞士汁(1磅/包) (FG)"
let label = name ? `${code} ${name}` : code;
if (category) {
label = `${label} (${category})`;


Loading…
Откажи
Сачувај