|
|
|
@ -168,6 +168,7 @@ class Order_finance extends CI_Controller {
|
|
|
|
|
$report_tour_pvt['tourProvide'] = mb_substr($cpvt->vendor_name, 0, 50);
|
|
|
|
|
$report_tour_pvt['tourBZ'] = mb_substr($cpvt->comment, 0, 150);
|
|
|
|
|
$report_tour_pvt['orderstats'] = 0;
|
|
|
|
|
$report_tour_pvt['RPT_COLD_SN'] = $cpvt->cold_sn[0];
|
|
|
|
|
// 成本详情
|
|
|
|
|
$report_tour_pvt['RPT_Car'] = $cpvt->cost_category['touristCarOperations'];
|
|
|
|
|
$report_tour_pvt['RPT_Meal'] = $cpvt->cost_category['restraurantOperations'];
|
|
|
|
@ -196,6 +197,7 @@ class Order_finance extends CI_Controller {
|
|
|
|
|
$cost_c['tourCostRsd'] = $cost->person_cost;
|
|
|
|
|
$cost_c['tourCostRSx'] = $cost->person_cost;
|
|
|
|
|
$cost_c['tourcost'] = $cost->order_cost[0]->order_cost_sum;
|
|
|
|
|
$cost_c['RPT_COLD_SN'] = $cost->order_cost[0]->COLD_SN;
|
|
|
|
|
$cost_c_price = 0;
|
|
|
|
|
foreach ($cost->order_cost as $koc => $coc) {
|
|
|
|
|
if ($coc->PAG_code === $coc->real_code) {
|
|
|
|
|