x
This commit is contained in:
parent
5fe311020a
commit
3a93fa5508
@ -27,15 +27,9 @@ class DoctorAccountService extends BaseService
|
||||
|
||||
// 获取医生账户余额
|
||||
$balance_account = $this->getDoctorBalanceAccount($user_info['client_user_id']);
|
||||
if ($balance_account > 0) {
|
||||
$balance_account = $balance_account * 0.75;
|
||||
}
|
||||
|
||||
// 获取医生月度余额
|
||||
$amount_total_month = $this->getDoctorMonthAmountTotal($user_info['client_user_id'], $date);
|
||||
if ($amount_total_month > 0) {
|
||||
$amount_total_month = $amount_total_month * 0.75;
|
||||
}
|
||||
|
||||
// 获取医生月度已提现金额-审核通过时间为准
|
||||
$params = array();
|
||||
@ -64,7 +58,7 @@ class DoctorAccountService extends BaseService
|
||||
if (!empty($doctor_account_days)) {
|
||||
foreach ($doctor_account_days as $doctor_account_day) {
|
||||
$data = array();
|
||||
$data['total_amount'] = ceil($doctor_account_day['total_amount'] * 0.75 * 100) / 100;
|
||||
$data['total_amount'] = ceil($doctor_account_day['total_amount'] * 100) / 100;
|
||||
$data['month'] = $doctor_account_day['month'];
|
||||
$data['day'] = $doctor_account_day['day'];
|
||||
$bill[] = $data;
|
||||
@ -126,7 +120,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['amount_total'] = $item['amount_total'] * 0.75;
|
||||
$item['amount_total'] = ceil($item['total_amount'] * 0.75 * 100) / 100;
|
||||
}
|
||||
}
|
||||
|
||||
@ -211,10 +205,6 @@ class DoctorAccountService extends BaseService
|
||||
}
|
||||
}
|
||||
|
||||
if ($balance_account > 0) {
|
||||
$balance_account = $balance_account * 0.75;
|
||||
}
|
||||
|
||||
// 计算医生个人所得税
|
||||
$income_tax = $this->computeIndividualIncomeTax($balance_account);
|
||||
|
||||
@ -267,7 +257,7 @@ class DoctorAccountService extends BaseService
|
||||
$order_inquiry = OrderInquiry:: getDoctorOrderInquiryPage($params, $fields,$page,$per_page);
|
||||
if (!empty($order_inquiry['data'])) {
|
||||
foreach ($order_inquiry['data'] as &$item) {
|
||||
$item['amount_total'] = $item['amount_total'] * 0.75;
|
||||
$item['amount_total'] = ceil($item['total_amount'] * 0.75 * 100) / 100;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user