@if ($errors->any())
@endif
@if(session()->has('error'))
@endif
Whoops! Please correct the error
@endif
{{-- {{dd($errors->all())}} --}}
@if(session()->has('message'))
-
@foreach ($errors->all() as $error)
- {{ $error }} @endforeach
{{ trans('labels.Successlabel') }}
{{ session()->get('message') }}{{ trans('labels.WarningLabel') }}
{{ session()->get('error') }}
@if(in_array("Add", $inventorys))
{!! Form::open(array('url' => route('inventorys.store'), 'method'=>'post', 'class' => 'form-horizontal', 'id' => 'addNewLeadSources', 'enctype'=>'multipart/form-data')) !!}
{{-- --}}
{!! Form::close() !!}
@else
{!! Form::text('name', '', array('class'=>'form-control', 'id'=>'name', 'required'=>'required')) !!}
{!! Form::text('quantity', '', array('class'=>'form-control', 'id'=>'quantity', 'required'=>'required')) !!}
{!!Form::select('units', $result['unitsData'], '', ['class' => 'form-control', 'id'=>'units', 'required'=>'required'])!!}
{!!Form::text('rolls', '', ['class' => 'form-control', 'id'=>'rolls'])!!}
{!!Form::select('suppliers', $result['suppliersData'], '', ['class' => 'form-control', 'id'=>'suppliers', 'required'=>'required'])!!}
{!!Form::text('checked_by', '', ['class' => 'form-control', 'id'=>'checked_by', 'required'=>'required'])!!}
{!!Form::text('checked_date', date('Y-m-d'), ['class' => 'form-control', 'id'=>'checked_date', 'required'=>'required', 'readonly'=>'readonly'])!!}
{!!Form::text('checked_time', date('H:i'), ['class' => 'form-control', 'id'=>'checked_time', 'required'=>'required'])!!}
{!!Form::textarea('comments', '', ['class' => 'form-control', 'id'=>'comments', 'rows'=>'1'])!!}
Please contact with SuperAdmin
@endif