@extends("admin.layouts.layout") @section("content")
@if(\App\Models\CommonModel::checkExport()) @endif
{{-- --}} {{-- --}} @if (empty($hushizhang) && empty($yuanfang)) @endif @foreach ($data as $row) {{-- {{-- --}} @if (empty($hushizhang) && empty($yuanfang)) @endif @endforeach
订单编号协议所属项目/医院 所在楼栋 所在病区客户科室客户姓名 客户余额 联系电话 被护理人 开始服务日期 结束日期 状态 总计操作
{{ $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 }} 查看 id}")}}" target="_blank" title="查看该订单的所有协议"> 查看协议
@foreach($row->orderItems as $item) @endforeach
所在床位 护理日期 护工 单价 扣款时间 操作
{{ ($item->building ? $item->building->name : "") }}-{{ ($item->room ? $item->room->name : "") }} -{{ ($item->bed ? $item->bed->name : "") }}床 {{ $item->service_date }} {{ $item->paramedic ? $item->paramedic->name : "" }} {{ $item->total }} {{ $item->paid_at }}
@include("public._pages")
@include("public._delete") @endsection @push("footer") @endpush