|
|
|
|
@ -375,6 +375,9 @@ public function Create()
|
|
|
|
|
'id' => $r_v['item_id'],
|
|
|
|
|
'name' => $r_v['item_name'],
|
|
|
|
|
'pay_type' => isset($r_v['pay_type']) ? $r_v['pay_type'] : '统收',
|
|
|
|
|
'org_price' => isset($r_v['org_price']) ? $r_v['org_price'] : null,
|
|
|
|
|
'youhui_type' => isset($r_v['youhui_type']) ? $r_v['youhui_type'] : null,
|
|
|
|
|
'youhui_value' => isset($r_v['youhui_value']) ? $r_v['youhui_value'] : null,
|
|
|
|
|
];
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@ -1235,7 +1238,10 @@ public function Finish($order_number)
|
|
|
|
|
'Id' => $gitem['id'],
|
|
|
|
|
'分组项目' => true,
|
|
|
|
|
'收费方式'=>'统收',
|
|
|
|
|
'已收费' => true
|
|
|
|
|
'已收费' => true,
|
|
|
|
|
'原价' => isset($gitem['org_price']) ? $gitem['org_price'] : null,
|
|
|
|
|
'优惠方式' => isset($gitem['youhui_type']) ? $gitem['youhui_type'] : null,
|
|
|
|
|
'优惠值' => isset($gitem['youhui_value']) ? $gitem['youhui_value'] : null,
|
|
|
|
|
];
|
|
|
|
|
}
|
|
|
|
|
$item_arr= array_merge($item_arr,$item_temp);
|
|
|
|
|
|