B.E.N.S.O.N 21 часов назад
Родитель
Сommit
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})`;


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