@extends('layout.master') @section('content') @include('layout.errorform') @include('layout.info')
Preference Option
{!! Form::model($preferences, ['route' => ['preferences.update', $preferences->id], 'method' => 'PATCH', 'class' => 'form-horizontal', 'autocomplete' => 'off', 'files' => true]) !!}
{!! Form::label('commission', 'Company Name :', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::input('text', 'company_name', @$value, ['class' => 'form-control', 'placeholder' => 'Company Name', 'id' => 'commission']) !!}
{!! Form::label('compregnum', 'Company Registration Number :', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::input('text', 'company_registration', @$value, ['class' => 'form-control', 'placeholder' => 'Company Registration Number', 'id' => 'compregnum']) !!}
{!! Form::label('img', 'Company Logo :', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::file('logo[]', ['id' => 'img']) !!}
{!! Form::label('cotag', 'Company Tagline :', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::input('text', 'company_tagline', @$value, ['class' => 'form-control', 'placeholder' => 'Company Tagline', 'id' => 'cotag']) !!}
{!! Form::label('coadd', 'Company Address :', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::textarea('company_address', @$value, ['class' => 'form-control', 'placeholder' => 'Company Address', 'id' => 'coadd']) !!}
{!! Form::label('copost', 'Company Postcode :', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::input('text', 'company_postcode', @$value, ['class' => 'form-control', 'placeholder' => 'Company Postcode', 'id' => 'copost']) !!}
{!! Form::label('cofixline', 'Fixed Line Phone Number :', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::input('text', 'company_fixed_line', @$value, ['class' => 'form-control', 'placeholder' => 'Fixed Line Phone Number', 'id' => 'cofixline']) !!}
{!! Form::label('compmobilephonenum', 'Company Mobile Phone Number :', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::input('text', 'company_mobile', @$value, ['class' => 'form-control', 'placeholder' => 'Company Mobile Phone Number', 'id' => 'compmobilephonenum']) !!}
{!! Form::label('compemail', 'Company Email :', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::input('text', 'company_email', @$value, ['class' => 'form-control', 'placeholder' => 'Company Mobile Phone Number', 'id' => 'compemail']) !!}
@foreach (App\User::all() as $r) @endforeach
{!! Form::label('own', 'Owner :', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::select('company_owner', $rm, @$value, ['class' => 'form-control', 'placeholder' => 'Choose Owner', 'id' => 'own']) !!}
{!! Form::label('comppersonincharge', 'Company Person In-Charge :', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::select('company_person_in-charge', $rm, @$value, ['class' => 'form-control', 'placeholder' => 'Choose Company Person In-Charge', 'id' => 'comppersonincharge']) !!}

{!! Form::submit('Update', ['class' => 'btn btn-primary btn-lg btn-block']) !!}

{!! Form::close() !!}
@endsection @section('jquery') //////////////////////////////////////////////////////////////////////////////////// // uppercase input for tracking number and customer section $(document).on('keyup', 'input, textarea', function () { uch(this); }); $('#own, #comppersonincharge').select2({ placeholder: 'Please choose' }); @endsection