|
|
@ -637,11 +637,15 @@ class DatabaseController extends BaseController |
|
|
|
$order_row->engine_no = $b_info->car->engine_no; |
|
|
|
$order_row->engine_no = $b_info->car->engine_no; |
|
|
|
$order_row->car_frame_no = $b_info->car->car_frame_no; |
|
|
|
$order_row->car_frame_no = $b_info->car->car_frame_no; |
|
|
|
$order_row->car_man = $b_info->car->car_man; |
|
|
|
$order_row->car_man = $b_info->car->car_man; |
|
|
|
|
|
|
|
$order_row->car_man_number = $b_info->car->car_man_number; |
|
|
|
|
|
|
|
$order_row->car_man_phone = $b_info->car->phone; |
|
|
|
$order_row->user_id = $user_id; |
|
|
|
$order_row->user_id = $user_id; |
|
|
|
$order_row->status_id = 1; |
|
|
|
$order_row->status_id = 1; |
|
|
|
$order_row->id_man = $b_info->car->car_man; |
|
|
|
$order_row->id_man = $b_info->car->car_man; |
|
|
|
|
|
|
|
$order_row->id_man_number = $b_info->id_number; |
|
|
|
$order_row->link_man = $b_info->car->car_man; |
|
|
|
$order_row->link_man = $b_info->car->car_man; |
|
|
|
$order_row->link_phone = $b_info->car->phone; |
|
|
|
$order_row->link_man_phone = $b_info->car->phone; |
|
|
|
|
|
|
|
$order_row->link_man_number = $b_info->car->id_number; |
|
|
|
if(!$order_row->save()) { |
|
|
|
if(!$order_row->save()) { |
|
|
|
throw new \Exception(print_r($order_row->getErrors(),true)); |
|
|
|
throw new \Exception(print_r($order_row->getErrors(),true)); |
|
|
|
} |
|
|
|
} |
|
|
|