From 9d8177c086e983e0c26b372f01aaf8ee2904c6c5 Mon Sep 17 00:00:00 2001 From: Brusnitsyn Date: Mon, 6 Jul 2026 13:00:39 +0000 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D1=80=D0=BF=D1=80=D0=B0=D0=B2?= =?UTF-8?q?=D0=BB=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=B2=D0=BE=D0=B7=D1=80=D0=B0?= =?UTF-8?q?=D1=81=D1=82=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Exports/DutyReportExport.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Exports/DutyReportExport.php b/app/Exports/DutyReportExport.php index 04b39ba..ff0e9c8 100644 --- a/app/Exports/DutyReportExport.php +++ b/app/Exports/DutyReportExport.php @@ -90,7 +90,7 @@ class DutyReportExport private function presentPatient(array $patient, bool $withDiagnosis = true): array { $age = ! empty($patient['birth_date']) - ? Carbon::parse($patient['birth_date'])->diffInYears(Carbon::parse($this->dateRange[1])) + ? (int) Carbon::parse($patient['birth_date'])->diffInYears(Carbon::parse($this->dateRange[1])) : null; return [