@extends('layouts.contentLayoutMaster') @section('title') {{$object->company_name}} @endsection @php $breadcrumbs = [ [ 'link'=>route('clients'), 'name' =>'Companies' ] ] @endphp @section('vendor-style') {{-- Page Css files --}} @endsection @section('page-style') {{-- Page Css files --}} @endsection @if($isSuperAdmin) @section('object-toolbar') View @endsection @section('content') @include('elements.messages-error') {!! Form::model($object, ['route' => ['client-update', $object->id], 'method' => 'post', 'class' => 'form form-vertical', 'novalidate']) !!} @csrf Company Details Documents {!! 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']) !!} Save Cancel {{ Form::close() }} @include('elements.documents-side-panel', [ 'types' => [ [ 'id' => 'sidebar-documents', 'title' => 'General Documents', 'uploadRouteName' => $routePrefixSingular . '-document-upload', 'documents' => $object->getDocumentsByType() ] ] ]) @endsection @else @include('elements.noContent') @endif @section('vendor-script') {{-- Vendor js files --}} @endsection @section('page-script') @endsection