@extends('layouts.default_module') @section('module_name') Special Rota Request @stop @section('add_btn') {!! Form::open(['method' => 'get', 'route' => ['special.rota.create'], 'files'=>true]) !!} {!! Form::submit('Add', ['class' => 'btn btn-success pull-right']) !!} {!! Form::close() !!} @endsection @section('table-properties') width="400px" style="table-layout:fixed;" @endsection @section('table') {!! Form::open(['method' => 'post', 'route' => ['special.rota.search'], 'files'=>true]) !!} @include('admin.special_rota_request.partial.searchfilters') {!!Form::close() !!} {{-- @stop --}} Doctor Duty Date Want Duty Want OFF {{-- Annual leave --}} Shift Delete {{-- {{ $message }} --}} @foreach($list as $g) {!! ucwords($g->doctor->user->name) !!} {!! date('d F, Y (l)', $g->duty_date)!!} @if($g->want_duty == 1) True @else False @endif @if($g->want_off==1) True @else False @endif {!! ucwords($g->shift)!!} {!! Form::open(['method' => 'POST', 'route' => ['special_rota_request.delete', $g->id]]) !!} {!! $g->deleted_at?'Activate':'Delete' !!} {!! Form::close() !!} @endforeach {{-- @endforeach --}} @section('pagination') {!! $list->render() !!}
{!! Form::open(['method' => 'get', 'route' => ['dashboard']]) !!} {!! Form::submit('Cancel', ['class' => 'btn btn-default btn-block btn-lg btn-parsley']) !!} {!! Form::close() !!}
@endsection @stop