Форматирование

This commit is contained in:
brusnitsyn
2026-04-24 16:46:10 +09:00
parent fd0e6ee817
commit 63daa62888
87 changed files with 1380 additions and 791 deletions

View File

@@ -8,6 +8,7 @@ use Illuminate\Support\Facades\DB;
class CurrentPatientService
{
const PLAN_STATUSES = [1];
const EMERGENCY_STATUSES = [2, 3];
public function getCurrentMedicalHistoryIds(string $type, int $branchId, DateRange $dateRange, bool $fillableAuto = false)
@@ -16,7 +17,7 @@ class CurrentPatientService
return $this->getHistoricalCurrentMedicalHistoryIds($type, $branchId, $dateRange);
}
$typeIds = match($type) {
$typeIds = match ($type) {
'plan' => self::PLAN_STATUSES,
'emergency' => self::EMERGENCY_STATUSES,
default => null
@@ -34,7 +35,7 @@ class CurrentPatientService
{
$endAt = $dateRange->endSql();
$typeIds = match($type) {
$typeIds = match ($type) {
'plan' => self::PLAN_STATUSES,
'emergency' => self::EMERGENCY_STATUSES,
default => null