@can('doctor-unavailability-delete') @endcan @if(isset($result) && count($result) > 0) @php $i = pageIndex($result); $path = DOCTOR_PATH; @endphp @foreach($result as $key => $row) @can('doctor-unavailability-delete') @endcan @endforeach @else @endif
{{ __('id') }} {!! sorting('type', 'Type', $sortOrder, $sortEntity) !!} {!! sorting('apply_type', 'Apply Type', $sortOrder, $sortEntity) !!}{!! __('action') !!}
{!! $i++ !!}
{!! type($row->type) !!}
@if($row->type == 'specific_date') {!! dateFormat($row->date, DISPLAY_DATE) !!} @elseif($row->type == 'specific_day') Every {!! days($row->day) !!} @endif
{!! applyType($row->apply_type) !!}
@if($row->apply_type == 'custom_hour') {!! dateFormat($row->start_time, DISPLAY_TIME) !!} - {!! dateFormat($row->end_time, DISPLAY_TIME) !!} @endif
{!! $result->links('pagination::bootstrap-4') !!}
{!! pageDetail($result) !!}
{!! __('no_records') !!}