@extends('Admin/layout/master') @section('title', 'Appointment Add') @section('content')
Appointment Add
{!! Form::open(['route' => 'appointment.store', 'method' => 'post', 'enctype' => 'multipart/form-data']) !!}
{!! Form::label('patient', 'Select Patient', ['class' => 'form-label']) !!} {!! Form::select('patient_id',$patients,null, ['class' => 'form-control']) !!}
{!! Form::label('physician', 'Select Physician', ['class' => 'form-label']) !!} {!! Form::select('physician_id',$physicians,null, ['class' => 'form-control']) !!}
{!! Form::label('start_date', 'Start Date', ['class' => 'form-label']) !!} {!! Form::date('start_date', null, ['class' => 'form-control']) !!} {!! $errors->first('start_date', ':message') !!}
{!! Form::label('end_date', 'End Date', ['class' => 'form-label']) !!} {!! Form::date('end_date', null, ['class' => 'form-control']) !!} {!! $errors->first('end_date', ':message') !!}
{!! Form::submit('Add', ['class' => 'btn btn-primary btn-sm my-2 show']) !!} Back
{!! Form::close() !!}
@endsection