@extends('layouts.app') @section('title') تقرير المرضى @endsection @section('vendor_css') @endsection @section('page_level_css') @endsection @section('content')

@yield('title')




@if(!isset($step) or !$step)

الفترة الزمنية


من التاريخ


12
يناير
2020

الى التاريخ


12
يناير
2020

المحافظات

@foreach($cities as $city)
city_id) and in_array($city->id,$request->city_id)) checked="true" @endif name='city_id[]' value="{{$city->id}}" />
@endforeach
@elseif($step==1)

تقارير المرضى للمدة من {{$date_from}} حتي {{$date_to}}

@for($row=0; $row < count($report); $row++) @php(@$total_patients += $report[$row]['patients'] ?? 0) @php(@$total_patients_in_sessions += $report[$row]['patients_in_sessions'] ?? 0) @php(@$total_patients_has_followups += $report[$row]['patients_has_followups'] ?? 0) @endfor
المحافظات مرضى اضيفوا للمنظومة في الفترة المحددة مرضى اضيفوا لجلسة مرضى شخصوا بجلسة
{{$report[$row]['city']}} {{$report[$row]['patients'] ?? 0}} {{$report[$row]['patients_in_sessions'] ?? 0}} {{$report[$row]['patients_has_followups'] ?? 0}}
المجموع {{$total_patients ?? 0}} {{$total_patients_in_sessions ?? 0}} {{$total_patients_has_followups ?? 0}}
@endif
@if(isset($step) and $step < 1) @endif @if(isset($step) and $step >0) @endif
@if(isset($request->city_id) and $step > 0) @foreach($request->city_id as $city_id) @endforeach @endif {{ csrf_field() }}
@endsection @section('page_vendor_js') @endsection @section('page_level_js')