@extends('admin.layout') @section('content')

{{ trans('Add Leads') }}

@php $getUserRoleData = userRoleData(); $Leads = explode(",",$getUserRoleData->Leads); $Accounts = explode(",",$getUserRoleData->Accounts); @endphp
@if(in_array("Add",$Leads ) || in_array("Edit",$Leads ) || in_array("View",$Leads ) || in_array("Delete",$Leads ))
    @if(in_array("View",$Leads ))
  • Cancel
  • @endif
@endif
@if( count((array) $errors) > 0) @foreach($errors->all() as $error) @endforeach @endif @if(session()->has('message'))

{{ trans('labels.Successlabel') }}

{{ session()->get('message') }}
@endif @if(session()->has('error'))

{{ trans('labels.WarningLabel') }}

{{ session()->get('error') }}
@endif
@if(in_array("Add",$Leads )) {!! Form::open(array('url' =>'admin/add-leads-data', 'method'=>'post', 'class' => 'form-horizontal', 'id' => 'addNewLeads', 'enctype'=>'multipart/form-data')) !!}
Customer Information
{!! Form::text('customers_firstname', '', array('class'=>'form-control', 'id'=>'customers_firstname', 'required'=>'required')) !!}
{!! Form::text('customers_lastname', '', array('class'=>'form-control', 'id'=>'customers_lastname', 'required'=>'required')) !!}
{!! Form::text('customers_email_address', '', array('class'=>'form-control', 'id'=>'customers_email_address', 'required'=>'required')) !!}
{!! Form::text('customers_telephone', '', array('class'=>'form-control', 'id'=>'customers_telephone', 'required'=>'required', 'maxlength'=>'10')) !!}
{!! Form::text('alternate_mobile', '', array('class'=>'form-control', 'id'=>'alternate_mobile', 'maxlength'=>'10')) !!}
{!! Form::text('quantity', '', array('class'=>'form-control', 'id'=>'quantity', 'required'=>'required')) !!}
{!! Form::text('custom_price', '', array('class'=>'form-control', 'id'=>'custom_price')) !!}


Address Information
{!! Form::text('primary_address', '', array('class'=>'form-control', 'id'=>'primary_address', 'required'=>'required')) !!}
{!! Form::text('p_city', '', array('class'=>'form-control', 'id'=>'p_city', 'required'=>'required')) !!}
{!! Form::text('p_state', '', array('class'=>'form-control', 'id'=>'p_state', 'required'=>'required')) !!}
{!! Form::text('p_postal_code', '', array('class'=>'form-control', 'id'=>'p_postal_code', 'required'=>'required', 'maxlength'=>'7')) !!}
{!! Form::text('other_address', '', array('class'=>'form-control', 'id'=>'other_address', 'required'=>'required',)) !!}
{!! Form::text('o_city', '', array('class'=>'form-control', 'id'=>'o_city', 'required'=>'required')) !!}
{!! Form::text('o_state', '', array('class'=>'form-control', 'id'=>'o_state', 'required'=>'required')) !!}
{!! Form::text('o_postal_code', '', array('class'=>'form-control', 'id'=>'o_postal_code', 'required'=>'required', 'maxlength'=>'7')) !!}


Other Information
{!! Form::text('lead_source', '', array('class'=>'form-control', 'id'=>'lead_source')) !!}
{!! Form::text('source_of_call', '', array('class'=>'form-control', 'id'=>'source_of_call')) !!}
@if(in_array("LVS",$Leads ))
{!! Form::text('verification_time', '', array('class'=>'form-control', 'id'=>'verification_time', 'required'=>'required')) !!}
{!! Form::text('transaction_id', '', array('class'=>'form-control', 'id'=>'transaction_id')) !!}
  
  
@endif
{!! Form::textarea('additional_help', '', array('class'=>'form-control', 'id'=>'additional_help', 'rows'=>'3', 'cols'=>'10')) !!}
{!! Form::textarea('comments', '', array('class'=>'form-control', 'id'=>'comments', 'rows'=>'3', 'cols'=>'10')) !!}
{!! Form::close() !!} @else

Please contact with SuperAdmin

@endif
@endsection