@extends('layouts.default_module') @section('module_name') General Rota Request @stop @section('add_btn') {!! Form::open(['method' => 'get', 'route' => ['general.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' => ['general.rota.search'], 'files'=>true]) !!} @include('admin.general_rota_request.partial.searchfilters') {!!Form::close() !!} Doctor Shift Total Duties Delete @foreach($list as $gh) {!! ucwords($gh->doctor->user->name)!!} {!! ucfirst($gh->shift) !!} {!! $gh->total_duties!!} {!! Form::open(['method' => 'POST', 'route' => ['admin.general_rota_request.delete', $gh->id]]) !!} {!! $gh->deleted_at?'Activate':'Delete' !!} {!! Form::close() !!} @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