@include('admin.audition_etude.grid_update_form') @if($errors->any()) @foreach($errors->all() as $error) {{ $error }} @endforeach @endif @foreach($ensembles as $ensemble) {{ $ensemble->name }} @for($n=1; $n<= $ensemble->set_count; $n++) Set {{$n}} @endfor @foreach($instruments as $instrument) {{ $instrument->instrument }} @for($n=1; $n<= $ensemble->set_count; $n++) @if($ensemble->getEtude($instrument, $n)) {{ $ensemble->abbreviation }} - {{ $instrument->instrument }} - Set {{ $n }}

Updated: {{ $ensemble->getEtude($instrument, $n)->updated_at->format('m/d/Y') }}

@else {{ $ensemble->abbreviation }} - {{ $instrument->instrument }} - Set {{ $n }}
No Etude
@endif @endfor @endforeach
@endforeach