@if(strstr($page,'profile.own') === false) @endif @if($page != 'profile.own.inner') @endif @if(strstr($page,'profile.own') === false) @endif @if($page != 'profile.own.inner') @endif @foreach ($drives as $drive) @if($drive->disabled == 1) @else @endif @if(strstr($page,'profile.own') === false) @endif @if($page != 'profile.own.inner') @endif @if(strstr($page,'profile.own') === false) @endif @if($page != 'profile.own.inner') @endif @endforeach
ConducteurTypeLieu Départ Lieu ArrivéeActivitéHoraire Places dispo.
{{ $drive->user->name }} @if($drive->address_to_id == $organizationAddressId) Aller @else Retour @endif {!! $drive->addressFrom->displayCity($organizationAddressId, $homeAddressId) !!} {!! $drive->addressTo->displayCity($organizationAddressId, $homeAddressId) !!} {{ $drive->eventOccurrence->event->name }} {!! $drive->displaySchedule($organizationAddressId, '%A %d/%m/%Y %H:%M').'
'.\App\GlobalUtil::getDriveLabel(0) !!}
{{ $drive->seatsAvailable() }} @if(strstr($page,'profile.own') !== false) @if($drive->disabled == 1) {!! Form::open(['route' => 'drive.enable']) !!} {{ method_field('POST') }} {!! Form::hidden('drive_id', $drive->id) !!} {!! Form::submit('Activer', ['class' => 'btn btn-primary']) !!} {!! Form::close() !!} @else {!! Form::open(['route' => 'drive.disable']) !!} {{ method_field('POST') }} {!! Form::hidden('drive_id', $drive->id) !!} {!! Form::submit('Désactiver', ['class' => 'btn btn-danger']) !!} {!! Form::close() !!} @endif @else {!! Form::open(['route' => 'drive.select']) !!} {!! Form::hidden('drive_id', $drive->id) !!} {!! Form::submit('Sélectionner', ['class' => 'btn btn-primary']) !!} {!! Form::close() !!} @endif