From 5965b34351a3e8f68a8319a291ac15aec5adf045 Mon Sep 17 00:00:00 2001 From: brusnitsyn Date: Wed, 24 Jun 2026 15:19:54 +0900 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=B2=D1=8B=D0=B2=D0=BE=D0=B4=D0=B0?= =?UTF-8?q?=20=D0=B2=D1=8B=D0=B1=D1=8B=D0=B2=D1=88=D0=B8=D1=85=20=D0=B8?= =?UTF-8?q?=D0=B7=20=D0=B6=D1=83=D1=80=D0=BD=D0=B0=D0=BB=D0=B0=20=D0=BC?= =?UTF-8?q?=D0=B5=D0=B4=20=D1=81=D0=B5=D1=81=D1=82=D1=80=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Http/Controllers/Web/DutyReportController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Web/DutyReportController.php b/app/Http/Controllers/Web/DutyReportController.php index f23554b..16316c8 100644 --- a/app/Http/Controllers/Web/DutyReportController.php +++ b/app/Http/Controllers/Web/DutyReportController.php @@ -296,7 +296,7 @@ class DutyReportController extends Controller 'recipient' => !empty($nursePatients) ? ($nursePatients['meta']['counts']['recipient'] ?? 0) : 0, - 'discharged' => empty($nursePatients) + 'discharged' => !empty($nursePatients) ? ($nursePatients['meta']['counts']['discharged'] ?? 0) : 0, ],