Добавлено формирование отчета

И индикатор реанимации
This commit is contained in:
brusnitsyn
2026-04-24 16:44:58 +09:00
parent 1de9fd3ef8
commit fd0e6ee817
5 changed files with 259 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
<?php
namespace App\Exports;
use App\Exports\Sheets\ArraySheetExport;
use Maatwebsite\Excel\Concerns\WithMultipleSheets;
class ReportPageExport implements WithMultipleSheets
{
public function __construct(
private readonly array $summaryRows,
private readonly array $patientRows
) {}
public function sheets(): array
{
return [
new ArraySheetExport('Сводка', $this->summaryRows),
new ArraySheetExport('Пациенты', $this->patientRows),
];
}
}