Trainer Utilization Report -Date {{$today}}

@foreach($report as $key) @php $a='1';$b='2';$c='3'; $d='4';$e='5';$f='6'; $g='7';$h='8';$i='9'; $j='10';$k='11';$l='12'; $m='13';$n='14';$o='15'; $p='16';$q='17';$r='18'; $s='19';$t='20';$u='21'; $v='22';$w='23';$x='24'; $y='25';$z='26';$a1='27'; $b1='28';$c1='29';$d1='30'; @endphp @endforeach
Schedule date Name of the day Emp Code Trainer Name Sub module Emgagement Duration(hours) Slot 1(7:00AM - 7:30AM) Slot 2(7:30AM - 8:00AM) Slot 3(8:00AM - 8:30AM) Slot 4(8:30AM - 9:00AM) Slot 5(9:00AM - 9:30AM) Slot 6(9:30AM - 10:00AM) Slot 7(10:00AM - 10:30AM) Slot 8(10:30am - 11:00am) Slot 9(11:00AM - 11:30AM) Slot 10(11:30AM - 12:00PM) Slot 11(12:00PM - 12:30PM) Slot 12(12:30PM - 01:00PM) Slot 13(01:00PM - 01:30PM) Slot 14(01:30PM - 02:00PM) Slot 15(02:00PM - 02:30PM) Slot 16(02:30PM - 03:00PM) Slot 17(03:00PM - 03:30PM) Slot 18(03:30PM - 04:00PM) Slot 19(04:00PM - 04:30PM) Slot 20(04:30PM - 05:00PM) Slot 21(05:00PM - 05:30PM) Slot 22(05:30PM - 06:00PM) Slot 23(06:00PM - 06:30PM) Slot 24(06:30PM - 07:00PM) Slot 25(07:00PM - 07:30PM) Slot 26(07:30PM - 08:00PM) Slot 27(08:00PM - 08:30PM) Slot 28(08:30PM - 09:00PM) Slot 29(09:00PM - 09:30PM) Slot 30(09:30PM - 10:00PM)
{{ $key->s_date }} {{ $key->day_name }} {{ $key->m_code }} {{ $key->f_name }} {{ $key->m_name }} {{ $key->l_name }} {{ $key->c_alias }} {{ $key->slot_timing }} @if(isset($key->$a)){{$key->$a }} @endif @if(isset($key->$b)){{$key->$b }} @endif @if(isset($key->$c)){{$key->$c }} @endif @if(isset($key->$d)){{$key->$d }} @endif @if(isset($key->$e)){{$key->$e }} @endif @if(isset($key->$f)){{$key->$f }} @endif @if(isset($key->$g)){{$key->$g }} @endif @if(isset($key->$h)){{$key->$h }} @endif @if(isset($key->$i)){{$key->$i }} @endif @if(isset($key->$j)){{$key->$j }} @endif @if(isset($key->$k)){{$key->$k }} @endif @if(isset($key->$l)){{$key->$l }} @endif @if(isset($key->$m)){{$key->$m }} @endif @if(isset($key->$n)){{$key->$n }} @endif @if(isset($key->$o)){{$key->$o }} @endif @if(isset($key->$p)){{$key->$p }} @endif @if(isset($key->$q)){{$key->$q }} @endif @if(isset($key->$r)){{$key->$r }} @endif @if(isset($key->$s)){{$key->$s }} @endif @if(isset($key->$t)){{$key->$t }} @endif @if(isset($key->$u)){{$key->$u }} @endif @if(isset($key->$v)){{$key->$v }} @endif @if(isset($key->$w)){{$key->$w }} @endif @if(isset($key->$x)){{$key->$x }} @endif @if(isset($key->$y)){{$key->$y }} @endif @if(isset($key->$z)){{$key->$z }} @endif @if(isset($key->$a1)){{$key->$a1 }} @endif @if(isset($key->$b1)){{$key->$b1 }} @endif @if(isset($key->$c1)){{$key->$c1 }} @endif @if(isset($key->$d1)){{$key->$d1 }} @endif