|
|
|
|
@ -206,6 +206,8 @@ class OrdersController extends CommonController
|
|
|
|
|
foreach ($data as $order) {
|
|
|
|
|
$order = $order->refreshTotal();
|
|
|
|
|
$order->balance = $order->customer->balance;
|
|
|
|
|
// todo::暂时强制设置屏蔽签章
|
|
|
|
|
$order->orderAgreements = [];
|
|
|
|
|
}
|
|
|
|
|
return response()->json($data->toArray());
|
|
|
|
|
}
|
|
|
|
|
@ -415,7 +417,7 @@ class OrdersController extends CommonController
|
|
|
|
|
$query->select("paramedic_level.id", "paramedic_level.name");
|
|
|
|
|
},
|
|
|
|
|
"project" => function ($query) {
|
|
|
|
|
$query->select("id", "name","range_mobile","complaint_mobile","content");
|
|
|
|
|
$query->select("id", "name", "range_mobile", "complaint_mobile", "content");
|
|
|
|
|
},
|
|
|
|
|
"bed" => function ($query) {
|
|
|
|
|
$query->select("bed.id", "bed.name", "bed.building_id", "bed.area_id")
|
|
|
|
|
|