This commit is contained in:
Your Name
2026-05-28 12:18:14 +08:00
parent afd88714ec
commit 7f08771dd0
9 changed files with 472 additions and 34 deletions
@@ -185,6 +185,7 @@ class PrescriptionLogic
'bags_per_dose' => isset($raw['bags_per_dose']) ? (int) $raw['bags_per_dose'] : 1,
'times_per_day' => (int) ($raw['times_per_day'] ?? 3),
'usage_days' => (int) ($raw['usage_days'] ?? 7),
'prescription_name' => trim((string) ($raw['prescription_name'] ?? '')),
];
}