diff --git a/app/Command/ReportRegulatoryCommand.php b/app/Command/ReportRegulatoryCommand.php index 4c6cdb6..7e25066 100644 --- a/app/Command/ReportRegulatoryCommand.php +++ b/app/Command/ReportRegulatoryCommand.php @@ -235,7 +235,9 @@ class ReportRegulatoryCommand extends HyperfCommand return []; } - return $order_prescription->toArray(); + $order_prescription = $order_prescription->toArray(); + + return $order_prescription[0]; } /**