{!! Form::open(array('url'=>'/inventory/updatecustomer','id'=> 'customer_form','files'=>true)) !!}
{{ csrf_field() }}
{!! Form::close() !!}
{!! Form::text('name',$customersData->name, ['class' => 'form-control rounded c_w0', 'placeholder'=>'Full Name','id' => 'usr']) !!}
@if ($errors->has('name'))
{{ $errors->first('name') }}
@endif
{!! Form::email('email', $customersData->email, ['placeholder'=>'Email', 'class'=>'form-control ne_w0']) !!}
@if ($errors->has('email'))
{{ $errors->first('email') }}
@endif
{!! Form::text('address',$customersData->address, ['class' => 'form-control rounded c_w0', 'placeholder'=>'Address','id' => 'price']) !!}
@if ($errors->has('address'))
{{ $errors->first('address') }}
@endif
{!! Form::text('mobile',$customersData->mobile, ['class' => 'form-control rounded c_w0', 'placeholder'=>'Mobile Number','id' => 'mobile']) !!}
@if ($errors->has('mobile'))
{{ $errors->first('mobile') }}
@endif
{!! Form::date('dur_from',$customersData->dur_from, ['class' => 'form-control rounded c_w0 datetimepicker', 'placeholder'=>'','id' => 'start']) !!}
@if ($errors->has('dur_from'))
{{ $errors->first('dur_from') }}
@endif
{!! Form::date('dur_to',$customersData->dur_to, ['class' => 'form-control rounded c_w0', 'placeholder'=>'','id' => 'end']) !!}
@if ($errors->has('dur_to'))
{{ $errors->first('dur_to') }}
@endif
-
@foreach ($categorys as $category)
-
(view_products)
@if(Auth::user()->plan_id != 1)
-
@foreach($subcategorys as $subcategory)
@if($category->id == $subcategory->categories_id)
- (view_products) @endif @endforeach
@endforeach