@extends('layouts.app') @section('content') @include('layouts.toolbar')

{{ucwords($student->first_name).' '.ucwords($student->last_name)}} Preschool Enrollment

{{ csrf_field() }}

Choose Attending Pattern*

@foreach($schedules as $enrollmentSchedule)
@endforeach

Please Choose days attending for Week *

@php $days_array = ['Mon','Tue','Wed','Thu','Fri']; $no_camp = ''; @endphp
@foreach($days_array as $week_day) @if( isset( $noCamp['date_interval_week'] ) && !empty( $noCamp['date_interval_week'] ) ) @foreach( $noCamp['date_interval_week'] as $end ) @php $day = date("D",strtotime($end)); if( $day == $week_day ){ $no_camp .= $week_day.','; $dayTextShow = date("m/d",strtotime($end)) . " No Camp"; $is_no_camp = true; } else{ if( $loop->first ){ $is_no_camp = false; $dayTextShow = $week_day; } } $inputName = ($is_no_camp == false) ? 'days_attending[]' : 'no_camp_days[]'; @endphp @endforeach @else @php $is_no_camp = false; $dayTextShow = $week_day; $inputName = ($is_no_camp == false) ? 'days_attending[]' : 'no_camp_days[]'; @endphp @endif @endforeach

Choose Pre School Billing Period*


Other Services*



@endsection @section('js') @endsection