@extends('layouts.master') @section('title', 'Bad Rate | Proxima - Medical Management app') @section('title-topbar', 'Bad Rate') @section('css') @endsection @if (Session::has('success'))

Sent Successfully

{{ Session::get('success') }}

@endif @section('content')
Dashboard | Follow up | Bad Rate
{{ request()->type }} bad rates
@if (count($bad_rate) > 0) @foreach ($bad_rate as $item)

{{ date('d M Y', strtotime($item->start_at)) }} | {{ $item->branch->name }}

{{ $item->patient->name }}

{{ $item->patient->phone_number }}

{{ __('basic.service') }} | {{ __('basic.doctor') }}
{{ $item->service_item->name }} | @if ($item->doctor) {{ $item->doctor->name }} @else No Doctor @endif
{{ __('basic.service') }}
@if ($item->rate->service == 1) @elseif ($item->rate->service == 2) @elseif ($item->rate->service == 3) @elseif ($item->rate->service == 4) @elseif ($item->rate->service == 5) @else No rate @endif
{{ __('basic.doctor') }}
@if ($item->rate->doctor == 1) @elseif ($item->rate->doctor == 2) @elseif ($item->rate->doctor == 3) @elseif ($item->rate->doctor == 4) @elseif ($item->rate->doctor == 5) @else No rate @endif
{{ __('basic.reception') }}
@if ($item->rate->reception == 1) @elseif ($item->rate->reception == 2) @elseif ($item->rate->reception == 3) @elseif ($item->rate->reception == 4) @elseif ($item->rate->reception == 5) @else No rate @endif
{{ __('basic.time') }}
@if ($item->rate->time == 1) @elseif ($item->rate->time == 2) @elseif ($item->rate->time == 3) @elseif ($item->rate->time == 4) @elseif ($item->rate->time == 5) @else No rate @endif
{{ __('basic.cleanliness') }}
@if ($item->rate->cleanliness == 1) @elseif ($item->rate->cleanliness == 2) @elseif ($item->rate->cleanliness == 3) @elseif ($item->rate->cleanliness == 4) @elseif ($item->rate->cleanliness == 5) @else No rate @endif
@if ($item->rate->note) @endif
@endforeach @else

Keep up, No bad rates

@endif
{{ $bad_rate->appends(request()->input())->links() }}
@endsection @section('js') @endsection