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

Edit Lab Report

{!! Form::model($report, ['method' => 'PUT', 'route' => ['wallet.labreportUpdate', $report['id']], 'enctype' => 'multipart/form-data']) !!}
@lang('global.app_edit')
{!! Form::label('name', 'Name', ['class' => 'control-label']) !!} {!! Form::text('name', $report['name'], ['class' => 'form-control']) !!}
{!! Form::label('user', 'User', ['class' => 'control-label']) !!} {!! Form::select('user_id', $user, old('user_id'), ['class' => 'form-control select2']) !!}
{!! Form::label('reportType', 'Doctor Report Type', ['class' => 'control-label']) !!} {!! Form::select('reportType', [ 'Prescription' => 'Prescription', 'Lab Report' => 'Lab Report' ], $report['reportType'], ['class' => 'form-control']) !!}
{!! Form::file('reportUpload', ['class' => 'form-control']) !!} @if ($report['reportUpload'])

Current: View File

@endif
{!! Form::submit(trans('global.app_update'), ['class' => 'btn btn-primary']) !!} @lang('global.app_cancel') {!! Form::close() !!} @endsection