diff --git a/app/Services/DoctorAccountService.php b/app/Services/DoctorAccountService.php index c02f01e..156f923 100644 --- a/app/Services/DoctorAccountService.php +++ b/app/Services/DoctorAccountService.php @@ -124,7 +124,7 @@ class DoctorAccountService extends BaseService $order_inquiry = OrderInquiry:: getDoctorDateOrderInquiryPage($params, $reception_time, $fields,$page,$per_page); if (!empty($order_inquiry['data'])) { foreach ($order_inquiry['data'] as &$item) { - $item['estimate_income'] = floor($item['total_amount'] * 0.75 * 100) / 100; + $item['estimate_income'] = floor($item['amount_total'] * 0.75 * 100) / 100; } }