|
|
|
|
@ -18,7 +18,7 @@
|
|
|
|
|
<select class="form-control mr-1" name="building_id"
|
|
|
|
|
onchange="$(this).closest('form').submit()">
|
|
|
|
|
<option value="">全部楼栋</option>
|
|
|
|
|
@foreach($buildings as $pp)
|
|
|
|
|
@foreach($buildings as $pp)
|
|
|
|
|
<option
|
|
|
|
|
value="{{$pp->id}}" @if($pp->id == $building_id) {{ "selected" }}@endif>{{$pp->name}}</option>
|
|
|
|
|
@endforeach
|
|
|
|
|
@ -26,8 +26,9 @@
|
|
|
|
|
<select class="form-control mr-1" name="area_id"
|
|
|
|
|
onchange="$(this).closest('form').submit()">
|
|
|
|
|
<option value="">全部病区</option>
|
|
|
|
|
@foreach($areas as $pp)
|
|
|
|
|
<option value="{{$pp->id}}" @if($pp->id == $area_id) {{ "selected" }}@endif>{{$pp->name}}</option>
|
|
|
|
|
@foreach($areas as $pp)
|
|
|
|
|
<option
|
|
|
|
|
value="{{$pp->id}}" @if($pp->id == $area_id) {{ "selected" }}@endif>{{$pp->name}}</option>
|
|
|
|
|
@endforeach
|
|
|
|
|
</select>
|
|
|
|
|
<select class="form-control mr-1" name="month" onchange="$(this).closest('form').submit()">
|
|
|
|
|
@ -44,7 +45,8 @@
|
|
|
|
|
</select>
|
|
|
|
|
<select class="form-control mr-1" name="status" onchange="$(this).closest('form').submit()">
|
|
|
|
|
@foreach($order_status_list as $key=>$mm)
|
|
|
|
|
<option value="{{$key}}" @if($key == $status) {{ "selected" }}@endif>{{$mm}}</option>
|
|
|
|
|
<option
|
|
|
|
|
value="{{$key}}" @if($key == $status) {{ "selected" }}@endif>{{$mm}}</option>
|
|
|
|
|
@endforeach
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
@ -52,7 +54,7 @@
|
|
|
|
|
<input class="form-control" type="text" name="keyword" value="{{ request()->keyword }}"
|
|
|
|
|
placeholder="订单编号/联系人/联系电话">
|
|
|
|
|
@if(\App\Models\CommonModel::checkExport())
|
|
|
|
|
<button class="btn btn-primary ml-1" type="button" onclick="doExport(this)">导出</button>
|
|
|
|
|
<button class="btn btn-primary ml-1" type="button" onclick="doExport(this)">导出</button>
|
|
|
|
|
@endif
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
@ -65,7 +67,7 @@
|
|
|
|
|
<th>所属项目/医院</th>
|
|
|
|
|
<th>所在楼栋</th>
|
|
|
|
|
<th>所在病区</th>
|
|
|
|
|
{{-- <th>客户科室</th>--}}
|
|
|
|
|
{{-- <th>客户科室</th>--}}
|
|
|
|
|
<th>客户姓名</th>
|
|
|
|
|
<th>客户余额</th>
|
|
|
|
|
<th>联系电话</th>
|
|
|
|
|
@ -76,7 +78,7 @@
|
|
|
|
|
<th>总计</th>
|
|
|
|
|
|
|
|
|
|
@if (empty($hushizhang) && empty($yuanfang))
|
|
|
|
|
<th>操作</th>
|
|
|
|
|
<th>操作</th>
|
|
|
|
|
@endif
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
@ -86,12 +88,12 @@
|
|
|
|
|
<td>
|
|
|
|
|
{{ $row->serial }}
|
|
|
|
|
</td>
|
|
|
|
|
<td>{{isset($row->orderAgreements)?$row->orderAgreements[0]->file->url:""}}</td>
|
|
|
|
|
<td>{{isset($row->orderAgreements)?"/storage/" .$row->orderAgreements[0]->file->name:""}}</td>
|
|
|
|
|
|
|
|
|
|
<td>{{ $row->project->name }}</td>
|
|
|
|
|
<td>{{ $row->bed->building->name }}</td>
|
|
|
|
|
<td>{{ $row->bed->area->name }}</td>
|
|
|
|
|
{{-- <td>{{ $row->department }}</td>--}}
|
|
|
|
|
{{-- <td>{{ $row->department }}</td>--}}
|
|
|
|
|
<td>{{ $row->customer->name ?: $row->patient->name }}</td>
|
|
|
|
|
<td>{{ $row->customer->balance }}</td>
|
|
|
|
|
<td>{{ $row->customer->mobile }}</td>
|
|
|
|
|
@ -101,11 +103,11 @@
|
|
|
|
|
<td>{!! $row->getStatusLabelAttribute() !!} </td>
|
|
|
|
|
<td>{!! $row->status == \App\Models\Orders::STATUS_FINISHED ? "" : "<label class='badge badge-danger'>预计</label>" !!} {{ $row->total }} </td>
|
|
|
|
|
@if (empty($hushizhang) && empty($yuanfang))
|
|
|
|
|
<td>
|
|
|
|
|
<a class="btn btn-sm btn-primary"
|
|
|
|
|
href="javascript:;" onclick="toggleItems(this)"><i
|
|
|
|
|
class="mdi mdi-arrow-down"></i> 查看</a>
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<a class="btn btn-sm btn-primary"
|
|
|
|
|
href="javascript:;" onclick="toggleItems(this)"><i
|
|
|
|
|
class="mdi mdi-arrow-down"></i> 查看</a>
|
|
|
|
|
</td>
|
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|