@extends('admin.layouts.container') @section('content')

{{ $head ?? '' }}

@if($patient ?? '' && $patient->id) @method('PUT') @endif @CSRF @if($patient ?? '' && $patient->id) @if(count($histories)>0)

{{__('reads.readpatient')}}

@foreach($histories as $key=>$row) @endforeach
# {{__('histories.date')}} {{__('histories.weight')}} {{__('histories.fat')}} {{__('histories.muscle')}} {{__('histories.liquid')}} {{__('histories.bone')}} {{__('histories.trust')}} {{__('histories.sport')}} {{__('histories.recommend')}} {{__('histories.complain')}} {{__('histories.system')}} {{__('histories.note')}}
{{$key+1}} {{$row->date}} {{$row->weight}} {{$row->fat}} {{$row->muscle}} {{$row->liquid}} {{$row->bone}} {{$row->trust}} {{$row->sport}} {{$row->recommend}} {{$row->complain}} {{$row->system}} {{$row->note}}
@endif @endif @if($patient ?? '' && $patient->id) @if(count(reads($patient->id))>0)

{{__('reads.readdevice')}}

@foreach(reads($patient->id) as $key=>$row) @endforeach
# {{__('devices.name')}} {{__('reads.number')}} {{__('sessions.dating')}}
{{$key+1}} {{$row->device->name}} {{$row->number}} {{date_format($row->created_at, 'Y-m-d')}}
@endif @endif @if($patient ?? '' && $patient->id) @if(count($reservation)>0)

{{__('reservations.reservations')}}

@foreach($reservation as $key=>$row) @endforeach
# {{__('reservations.branch')}} {{__('reservations.doctor')}} {{__('reservations.count')}} {{__('reservations.remain')}} {{__('reservations.expired')}}
{{$key+1}} {{$row->branch->name}} {{$row->doctor->name}} {{$row->count}} {{$row->count - remain($row->id)}} @if($row->expired == '1') {{__('reservations.notcontinue')}} @else {{__('reservations.remain')}} @endif
@endif @endif
@foreach($specialties as $row)
id) @if(specialties($row->id,$patient->id)) checked @endif @endif name="specialties[]" value="{{$row->id}}"> {{$row->name}}
@endforeach
@endsection @section('inner_js') {{-- --}} @endsection