|
|
|
|
@ -374,6 +374,7 @@ public function Create()
|
|
|
|
|
$Nx1_arrInfo[]=[
|
|
|
|
|
'id' => $r_v['item_id'],
|
|
|
|
|
'name' => $r_v['item_name'],
|
|
|
|
|
'pay_type' => isset($r_v['pay_type']) ? $r_v['pay_type'] : '统收',
|
|
|
|
|
];
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@ -1314,7 +1315,7 @@ public function Finish($order_number)
|
|
|
|
|
if($order_info->type==2 && !empty($buy_info['group']['items'])){
|
|
|
|
|
$temp_items=[];
|
|
|
|
|
foreach ($buy_info['group']['items'] as $gitem) {
|
|
|
|
|
if($gitem['pay_type']=='自费'){
|
|
|
|
|
if(isset($gitem['pay_type']) && $gitem['pay_type']=='自费'){
|
|
|
|
|
$temp_items[]=[
|
|
|
|
|
'Id' => $gitem['id'],
|
|
|
|
|
'已收费' => true,
|
|
|
|
|
@ -1325,7 +1326,10 @@ public function Finish($order_number)
|
|
|
|
|
'预约Id' => $create_appointment['data'][0][0],
|
|
|
|
|
'收费项目列表' => $temp_items,
|
|
|
|
|
];
|
|
|
|
|
$peis::Post('团检设置自费项目收费状态', $order_info->hospital_id, $tuan_data);
|
|
|
|
|
if(count($temp_items)>0){
|
|
|
|
|
$peis::Post('团检设置自费项目收费状态', $order_info->hospital_id, $tuan_data);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$is_sendMsg = DB::table('configs')->where(['label' => '预约完成短信通知'])->first();
|
|
|
|
|
|