@extends('layouts.app')
@section('title')
{{ __('messages.appointment.new_appointment') }}
@endsection
@section('header_toolbar')
@include('layouts.errors')
{{ Form::open(['id' => 'appointmentForm']) }}
@include('appointments.fields')
{{ Form::close() }}
@include('appointments.templates.appointment_slot')
{{ Form::hidden('doctorDepartmentUrl', url('doctors-list'), ['class' => 'doctorDepartmentUrl']) }}
{{ Form::hidden('doctorScheduleList', url('doctor-schedule-list'), ['class' => 'doctorScheduleList']) }}
{{ Form::hidden('appointmentSaveUrl', route('appointments.store'), ['id' => 'saveAppointmentURLID']) }}
{{ Form::hidden('appointmentIndexPage', route('appointments.index'), ['class' => 'appointmentIndexPage']) }}
{{ Form::hidden('isEdit', false, ['class' => 'isEdit']) }}
{{ Form::hidden('isCreate', true, ['class' => 'isCreate']) }}
{{ Form::hidden('getBookingSlot', route('get.booking.slot'), ['class' => 'getBookingSlot']) }}
@endsection
{{--let doctorDepartmentUrl = "{{ url('doctors-list') }}";--}}
{{--let doctorScheduleList = "{{ url('doctor-schedule-list') }}";--}}
{{--let appointmentSaveUrl = "{{ route('appointments.store') }}";--}}
{{-- let appointmentIndexPage = "{{ route('appointments.index') }}";--}}
{{--// let isEdit = false;--}}
{{--// let isCreate = true;--}}
{{-- let getBookingSlot = "{{ route('get.booking.slot') }}";--}}
{{-- --}}
{{-- --}}