@extends('layouts.contentLayoutMaster') @section('title') Create a Company @endsection @php $breadcrumbs = [ [ 'link'=>route('clients'), 'name' =>'Companies' ] ] @endphp @section('vendor-style') @endsection @if($isSuperAdmin) @section('content') @include('elements.messages-error') {!! Form::open(['route' => ['client-store'], 'method' => 'post', 'class' => 'form form-vertical', 'novalidate']) !!} @csrf

Company Details

{!! Form::label('company_name', 'Company Name *') !!}
{!! Form::text('company_name', old('company_name'), [ 'id' => 'company_name', 'class' => 'form-control', ] + $validationRules['company_name']) !!}
{!! Form::label('telephone', 'Telephone') !!}
{!! Form::text('telephone', old('telephone'), [ 'id' => 'telephone', 'class' => 'form-control', ] + $validationRules['telephone']) !!}
{!! Form::label('website', 'Website') !!}
{!! Form::text('website', old('website'), [ 'id' => 'website', 'class' => 'form-control', ] + $validationRules['website']) !!}
{!! Form::label('status', 'Type *') !!}
{!! Form::select('status', $statuses['options'], old('status', app('request')->input('status') != null ? app('request')->input('status') : null), [ 'id' => 'status', 'class' => 'select2 form-control', ] + $validationRules['status']) !!}
{!! Form::label('client_manager_id', 'Client Manager *') !!}
{!! Form::select('client_manager_id', $clientManagers['options'], old('client_manager_id', app('request')->input('client_manager_id') != null ? app('request')->input('client_manager_id') : null), [ 'id' => 'client_manager_id', 'class' => 'select2 form-control', ] + $validationRules['client_manager_id'], $clientManagers['optionAttributes']) !!}

Company Address

@include('elements.address', [ 'namePreFix' => 'registered', 'countries' => $countries, 'type' => 'registered', 'validationRules' => $validationRules ])
Cancel
{{ Form::close() }} @endsection @else @include('elements.noContent') @endif @section('vendor-script') @endsection @section('page-script') @endsection