修改获取处方详情
This commit is contained in:
@@ -557,14 +557,14 @@ class UserDoctorService extends BaseService
|
||||
$DoctorAccountService = new DoctorAccountService();
|
||||
$balance_account = $DoctorAccountService->getDoctorBalanceAccount($user_info['client_user_id']);
|
||||
if ($balance_account > 0) {
|
||||
$balance_account = $balance_account * 0.75;
|
||||
$balance_account = round($balance_account * 0.75,2);
|
||||
}
|
||||
|
||||
// 获取医生当日接诊的订单金额
|
||||
$InquiryService = new InquiryService();
|
||||
$estimate_income = $InquiryService->getDoctorDayAmountTotal($user_info['client_user_id'], date('Y-m-d', time()));
|
||||
if (!empty($estimate_income)) {
|
||||
$estimate_income = $estimate_income * 0.75;
|
||||
$estimate_income = round($estimate_income * 0.75,2);
|
||||
}
|
||||
|
||||
$user_doctor['avatar'] = addAliyunOssWebsite($user_doctor['avatar']);
|
||||
@@ -888,7 +888,7 @@ class UserDoctorService extends BaseService
|
||||
$user_info = $this->request->getAttribute("userInfo") ?? [];
|
||||
|
||||
$order_inquiry_id = $this->request->input('order_inquiry_id');
|
||||
$order_prescription_id = $this->request->route('order_prescription_id');
|
||||
$order_prescription_id = $this->request->input('order_prescription_id');
|
||||
|
||||
// 获取医生信息
|
||||
$params = array();
|
||||
|
||||
Reference in New Issue
Block a user