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

Supplier Details

{!! Form::label('name', 'Company Name') !!}
{!! Form::text('name', old('name'), [ 'id' => 'name', 'class' => 'form-control', ] + $validationRules['name']) !!}
{!! Form::label('email', 'Email') !!}
{!! Form::email('email', old('email'), [ 'id' => 'email', 'class' => 'form-control', ] + $validationRules['email']) !!}
{!! Form::label('website', 'Website') !!}
{!! Form::text('website', old('website'), [ 'id' => 'website', 'class' => 'form-control', ] + $validationRules['website']) !!}
{!! Form::label('client_manager_id', 'Supplier 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']) !!}
Cancel
{{ Form::close() }} @endsection