diff --git a/app/Services/PatientOrderService.php b/app/Services/PatientOrderService.php index 5863dfe..daef9f3 100644 --- a/app/Services/PatientOrderService.php +++ b/app/Services/PatientOrderService.php @@ -3190,7 +3190,7 @@ class PatientOrderService extends BaseService $params['order_product_id'] = $order_service_package_product['order_product_id']; $order_product = OrderProduct::getOne($params); if (!empty($order_product)){ - $result['order_product'] = $order_product->toArray(); + $result['order_product'][] = $order_product->toArray(); } }