财务表 debug

feature/trippest
lyt 7 years ago
parent 69876c2851
commit 6798355886

@ -42,7 +42,7 @@ class Order_finance extends CI_Controller {
return;
}
$report_order_exists = $this->OrderFinance_model->get_report_order($order_info->ordernumber);
if ( ! empty($report_order_exists)) {
if ( ! empty($report_order_exists) && $debug===false) {
return $this->output->set_content_type('application/json')->set_output(json_encode($report_order_exists));
}
return $this->generate_report($order_info, $debug);

Loading…
Cancel
Save