@extends('layouts.app') @section('title') {{ __('messages.schedule.new') }} @endsection @section('header_toolbar')

@yield('title')

{{ __('messages.common.back') }}
@endsection @section('content')
@include('layouts.errors') @if ($data['hospitalSchedule'] == null)
{{ __('You cannot set your schedule until your hospital adds it') }}
@endif
{{Form::hidden('hospitalSchedule',json_encode($data['hospitalSchedule']),['id'=>'createHospitalSchedule','class'=>'hospitalSchedule'])}} {{ Form::open(['route' => 'schedules.store', 'files' => 'true', 'id' => 'createScheduleForm','class'=>'scheduleForm']) }} @include('schedules.fields') {{ Form::close() }}
@endsection {{--let hospitalSchedule = @JSON($data['hospitalSchedule']);--}} {{-- --}}