B.E.N.S.O.N преди 1 ден
родител
ревизия
98f0919439
променени са 1 файла, в които са добавени 23 реда и са изтрити 0 реда
  1. +23
    -0
      src/app/(main)/report/page.tsx

+ 23
- 0
src/app/(main)/report/page.tsx Целия файл

@@ -493,6 +493,29 @@ export default function ReportPage() {
setLoading={setLoading}
reportTitle={currentReport.title}
/>
) : currentReport.id === 'rep-013' ? (
<>
<Button
variant="contained"
size="large"
startIcon={<DownloadIcon />}
onClick={handlePrint}
disabled={loading}
sx={{ px: 4 }}
>
{loading ? "生成 PDF..." : "下載報告 (PDF)"}
</Button>
<Button
variant="outlined"
size="large"
startIcon={<DownloadIcon />}
onClick={handleExcelPrint}
disabled={loading}
sx={{ px: 4 }}
>
{loading ? "生成 Excel..." : "下載報告 (Excel)"}
</Button>
</>
) : currentReport.id === 'rep-006' ? (
<>
<Button


Зареждане…
Отказ
Запис