@if($message = Session::get('success'))
{{$message}}
@endif @if($message = Session::get('delete'))
{{$message}}
@endif
@can('create') @endcan

Manage Place

@foreach ($data as $key => $d) @endforeach
No Place Union Council Police Station Tehsil Status Submission date Action
{{ $d->id }} {{ $d->place }} {{ $d->union_council }} {{ $d->police_station }} {{ $d->tehsil }} {{ $d->status }} {{ date("l | dS F, Y g:i A",strtotime($d->create)) }} {{-- Show--}} @can('edit') Edit @endcan @can('delete') {!! Form::open(['method' => 'DELETE','route' => ['place.destroy', $d->id],'style'=>'display:inline']) !!} {!! Form::submit('Delete', ['class' => 'btn btn-danger']) !!} {!! Form::close() !!} @endcan