@extends('layouts.appnew') @section('title') Attachment @endsection @section('navs') @endsection @section('content') @include ('common.flash')
@include('common.errors') {!! Form::open(['url' => route('vehicle_movement_attachment.save', [$vehicle_movement->id]), 'files' => true]) !!} {{ csrf_field() }}
{!! Form::open(['url' => route('vehicle_movement_attachment.save', [$vehicle_movement_attachment->id]), 'files' => true]) !!} @csrf {!! EasyForm::select('purpose', $vehicle_movement_attachment->label('purpose'), old('purpose', ''), AppHelper::options('vehicle_movement_amount_purpose')) !!} {!! EasyForm::input('amount', $vehicle_movement_attachment->label('amount'), old('amount', ''))!!}
Attachment
Only Image with Max. 5MB
{!! Form::file('attachment[]', ['class' => 'form-control smallfile', 'accept' => 'image/jpg,image/jpeg,image/png,application'])!!}
{{Form::close()}}
@endsection