@extends("layout") @section("content")
Availability Entry @if ($locked)
Availability Changes have been Disabled!
@else @if (Session::get('success'))
{{ Session::get('success') }}
@endif

Please select availability:


Apply availability to schedule:
@endif
@foreach ($days as $day) @endforeach @for ($i = $time['start']; $i < $time['end']; $i+=50) @foreach ($days as $day) @endforeach @endfor
Time{{ $day }}
{{ str_pad(intval($i/100), 2, "0", STR_PAD_LEFT) }}:{{ str_pad($i%100/100*60, 2, "0", STR_PAD_LEFT) }} - {{ str_pad(intval(($i+50)/100), 2, "0", STR_PAD_LEFT) }}:{{ str_pad(($i+50)%100/100*60, 2, "0", STR_PAD_LEFT) }}
@if (! $locked) {{ Form::open(array('url' => 'ta/availability', 'role' =>"form")) }} @foreach ($days as $day) @for ($i = $time['start']; $i < $time['end']; $i+=50) @if (isset($week[$day][$i])) {{ Form::hidden($day.'['.$i.']', $week[$day][$i]) }} @endif @endfor @endforeach
{{ Form::close() }} @endif
@if (! $locked) {{ HTML::script('js/ta-availability.js') }} @endif
@stop