@extends("admin.layouts.layout") @section("content")
| 订单编号 | {{--协议 | --}}所属项目/医院 | 所在楼栋 | 所在病区 | {{--客户科室 | --}}客户姓名 | 客户余额 | 联系电话 | 被护理人 | 开始服务日期 | 结束日期 | 状态 | 总计 | @if (empty($hushizhang) && empty($yuanfang))操作 | @endif
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $row->serial }} | {{--{!! isset($row->orderAgreementByLast) ? " |
{{ $row->project->name }} | {{ $row->bed && $row->bed->building ? $row->bed->building->name : "" }} | {{ $row->bed && $row->bed->area ? $row->bed->area->name : "" }} | {{--{{ $row->department }} | --}}{{ $row->customer->name ?: $row->patient->name }} | {{ $row->customer->balance }} | {{ $row->customer->mobile }} | {{ $row->patient->name }} | {{ $row->from_date }} | {!! $row->status == \App\Models\Orders::STATUS_FINISHED ? $row->to_date : " {$row->to_date}" !!} | {!! $row->getStatusLabelAttribute() !!} | {!! $row->status == \App\Models\Orders::STATUS_FINISHED ? "" : "" !!} {{ $row->total }} | @if (empty($hushizhang) && empty($yuanfang))查看 id}")}}" target="_blank" title="查看该订单的所有协议"> 查看协议 | @endif