{{ $date }} {{ format_amount(round($total, 2)) }}
@foreach ($classSchedules as $row) @if ($row['is_total']) @else @php $retval = 0; $capacity = $row->capacity; $space = $capacity - $row->total_bookings; $standby = 5 - $row->total_stand_by_bookings; if ($capacity) { $retval = 100 - ($space / $capacity) * 100; } $calCapacity = "${capacity}(${space})(${standby}) \n" . round($retval, 2); @endphp @endif @endforeach
Day Time Class Name Location NS AT (%) Capacity (%) Instructor Sign off Cost
Total {{ format_amount(round($row['cost'] ?? 0, 2)) }}
{{ "{$row->day->value} - {$row->date_at_formated}" }} {{ $row->time }} {{ $row->class ? $row->class->name : '' }} {{ $row->location ? $row->location->label : '' }} {{ $row->has_sign_off ? $row->no_show : 0 }} {{ round((($row->total_bookings - $row->no_show) * 100) / $row->capacity, 2) }} {{ $calCapacity }} {{ $row->instructor ? $row->instructor->name : '' }} {{ $row->has_sign_off ? 'Yes' : 'No' }} {{ format_amount(round($row->cost ?? 0, 2)) }}