Day/Time:
{{isset($item['monday']) ? weekTimeFormat("Mon",$item['monday']) : ''}}
{{isset($item['tuesday']) ? weekTimeFormat("Tue",$item['tuesday']) : ''}}
{{isset($item['wednesday']) ? weekTimeFormat("Wed",$item['wednesday']) : ''}}
{{isset($item['thursday']) ? weekTimeFormat("Thu",$item['thursday']) : ''}}
{{isset($item['friday']) ? weekTimeFormat("Fri",$item['friday']) : ''}}
Where:
@php $gradeTypeFieldTrip = getClassGradeFieldTrip($item['grades']); @endphp
{{$gradeTypeFieldTrip}}
@if ($item['fieldtrip_type'])
Field Trip:
{{ ($item['fieldtrip_type'] == 'onsite') ? 'On-site' : 'Off-site' }}
@endif
Days enroll:
{{isset($enrollmentSchedule->days_attending) ? implode(', ', json_decode($enrollmentSchedule->days_attending)) : ''}}
{{(isset($enrollmentSchedule->schedule->schedule_name) && isset($enrollmentSchedule->schedule->session_time)) ? $enrollmentSchedule->schedule->session_time .' - '. $enrollmentSchedule->schedule->schedule_name : ''}}
{{(isset($enrollmentSchedule->schedule->start_time) && isset($enrollmentSchedule->schedule->end_time)) ? '('.time_format($enrollmentSchedule->schedule->start_time) .' - '. time_format($enrollmentSchedule->schedule->end_time).')' : ''}}
Price/per week:
{{int_to_money($item['class_fee'],'$',true)}}
@if(isset($enrollmentSchedule->schedule_id) && !empty($enrollmentSchedule->schedule_id))
class_codes) && in_array($item['class_setting_id'],json_decode($currentSchedule->class_codes))) ? 'checked' : ''}}
>
@endif