@extends('admin.layout.master') @section('content')
Liste des pharmacies
@if(Session::has('flash_message'))
{{ Session::get('flash_message') }}
@endif
{{ Form::open(['route' => 'admin.prestataire.createPha', 'method' => 'GET', /* 'target'=>'_blank' , */'id' => 'form_pharmacie']) }}
{{ Form::text('recherche', old('recherche'), ['class' => 'form-control form-control-primary tagsinput', 'placeholder' => 'Rechercher par le nom de la pharmacie...', 'id' => 'recherche', 'style' => 'height: 44px;width:362.667px;']) }}
{{--
--}} {{ form::close()}}
{{-- --}} @foreach ( $prestataires as $prestataire ) @endforeach
CODE
PRESTATAIRE
PRESTATAIRE LOCALITE DATE DEBUT DATE FIN STATUSACTIONS
{{ substr($prestataire->codePrestataire, 0, 30) }} {{ substr($prestataire->libellePrestataire, 0, 30) }} {{ substr($prestataire->libelleLocalite, 0, 30) }} {{ \Carbon\Carbon::parse ($prestataire->dateDebut)->format('d/m/Y- H:i') }} {{ \Carbon\Carbon::parse ($prestataire->dateFin)->format('d/m/Y- H:i') }} est_garde == 1 ? 'checked' : '' }} > {{--
--}}


@if (($prestataires->count() != 0))
{{ count($prestataires)." Prestataire(s) de garde" }}
{!! $prestataires->appends(Request::except(array('page')))->links() !!}


@else
Aucun élément trouvé.


@endif
{{-- --}} @endsection