@extends('layouts.app') @section('content')

Add Prescription Report

{!! Form::open(['method' => 'POST', 'route' => ['labreport.store'], 'enctype' => 'multipart/form-data']) !!}
@lang('global.app_create')
{!! Form::label('type', 'Doctor ', ['class' => 'control-label']) !!} {!! Form::select('doctor_id', $doctor, old('doctor_id'), ['class' => 'form-control']) !!}
{{-- Name --}}
{!! Form::label('user', 'User', ['class' => 'control-label']) !!} {!! Form::select('user_id', $user, old('user_id'), ['class' => 'form-control select2']) !!}
{{-- Report Type --}}
{!! Form::label('reportType', 'Doctor Report Type', ['class' => 'control-label']) !!} {!! Form::select('reportType', [ 'Prescription' => 'Prescription', ], old('reportType'), ['class' => 'form-control']) !!}
{{-- Report Upload --}}
{!! Form::label('reportUpload', 'Upload Report (PDF/Image)', ['class' => 'control-label']) !!} {!! Form::file('reportUpload', ['class' => 'form-control', 'required']) !!}
{!! Form::submit(trans('global.app_save'), ['class' => 'btn btn-success']) !!}    @lang('global.app_cancel') {!! Form::close() !!} @endsection