|
|
|
@ -167,7 +167,7 @@ class Order_finance extends CI_Controller {
|
|
|
|
|
$report_tour_pvt['tourProfit'] = ($report_tour_pvt['tourPrice']>0) ? bcsub($report_tour_pvt['tourPrice'], $report_tour_pvt['tourcost']) : 0;
|
|
|
|
|
$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['orderstats'] = 1;
|
|
|
|
|
$report_tour_pvt['RPT_COLD_SN'] = $cpvt->cold_sn[0];
|
|
|
|
|
// 成本详情
|
|
|
|
|
$report_tour_pvt['RPT_Car'] = $cpvt->cost_category['touristCarOperations'];
|
|
|
|
@ -209,7 +209,7 @@ class Order_finance extends CI_Controller {
|
|
|
|
|
$cost_c['tourProfit'] = ($cost_c['tourPrice']>0) ? bcsub($cost_c['tourPrice'], $cost_c['tourcost']) : 0;
|
|
|
|
|
$cost_c['tourProvide'] = mb_substr($cost->vendor_name, 0, 50);
|
|
|
|
|
$cost_c['tourBZ'] = mb_substr($cost->comment, 0, 150);
|
|
|
|
|
$cost_c['orderstats'] = 0;
|
|
|
|
|
$cost_c['orderstats'] = 1;
|
|
|
|
|
// 成本详情
|
|
|
|
|
$cost_c['RPT_Car'] = $cost->cost_category['touristCarOperations'];
|
|
|
|
|
$cost_c['RPT_Meal'] = $cost->cost_category['restraurantOperations'];
|
|
|
|
|