@extends(backpack_view('blank')) @php $tickets = \App\Models\Lev::all(); @endphp @section('before_breadcrumbs_widgets')

List des billets LEV

@endsection @section('content') {{-- Default box --}}

@{{ title }}

@if ($errors->any())
@endif @foreach ($tickets as $ticket) @php $affected = ""; $lev = \App\Models\Lev::with("clients")->where("key", "=", $ticket->key)->first(); if(count($lev->clients)){ $affected = "Oui"; }else{ $affected = "Non"; } @endphp @endforeach
ID Hash Montant Affécte Crée le
{{$ticket->id}} {{$ticket->key}} {{$ticket->amount}} {{$affected}} {{$ticket->created_at}} Imprimer
@endsection @section('after_styles') {{-- DATA TABLES --}} {{-- CRUD LIST CONTENT - crud_list_styles stack --}} @stack('crud_list_styles') @endsection @section('after_scripts') @endsection