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

@yield('title')

{{ __('messages.common.back') }}
@endsection @section('content')
@include('layouts.errors')
{{ Form::hidden('doctorDepartmentUrl', url('doctors-list'), ['class' => 'doctorDepartmentUrl']) }} {{ Form::hidden('doctorScheduleList', url('doctor-schedule-list'), ['class' => 'doctorScheduleList']) }} {{ Form::hidden('getBookingSlot', route('get.booking.slot'), ['class' => 'getBookingSlot']) }} {{ Form::hidden('isEdit', true, ['class' => 'isEdit']) }} {{ Form::hidden('isCreate', false, ['class' => 'isCreate']) }} {{ Form::hidden('appointmentIndexPage', route('appointments.index'), ['class' => 'appointmentIndexPage']) }} {{ Form::hidden('appointmentEditId', $appointment->id, ['id' => 'appointmentEditsID']) }} {{ Form::hidden('appointmentUpdateUrl', route('appointments.update', ['appointment' => $appointment->id]), ['id' => 'appointmentUpdateUrl']) }}
{{ Form::model($appointment, ['route' => ['appointments.update', $appointment->id], 'method' => 'patch', 'id' => 'editAppointmentForm']) }} @include('appointments.fields') {{ Form::close() }}
@include('appointments.templates.appointment_slot')
@endsection {{-- Js :: assets/js/appointments/create-edit.js --}}