修复正本提交时报错。

dev
曾超新 5 years ago
parent 1c0cdba20a
commit 05fcd6660e
  1. 4
      frontend/controllers/InsurerController.php

@ -1247,7 +1247,7 @@ class InsurerController extends BaseController
$row->car_no = $order_info->car_no;
$row->factory_model = $order_info->car->factory_model;
$row->id_man = $order_info->id_man;
$row->company = $order_info->company2->name();
$row->company = $order_info->company2->name;
$row->total = sprintf("%.2f",$order_info->total1);
$row->total_clear = sprintf("%.2f",$order_info->total1_clear);
$row->total_clear_real = sprintf("%.2f",($order_info->total1_clear * $order_info->total1_rate/100));
@ -1272,7 +1272,7 @@ class InsurerController extends BaseController
$row->insurer_no = $order_info->insurer2_no;
$row->car_no = $order_info->car_no;
$row->factory_model = $order_info->car->factory_model;
$row->company = $order_info->company2->name();
$row->company = $order_info->company2->name;
$row->id_man = $order_info->id_man;
$row->total = sprintf("%.2f",$order_info->total2);
$row->total_clear = sprintf("%.2f",$order_info->total2_clear);

Loading…
Cancel
Save