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

{{ trans('Create Notes') }}

@php $getUserRoleData = userRoleData(); $Notes = explode(",",$getUserRoleData->Notes); @endphp
@if(in_array("View",$Notes))
  • Back
@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",$Notes )) {!! Form::open(array('url' =>'admin/create-notes-data', 'method'=>'post', 'class' => 'form-horizontal', 'id' => 'createNotesData', 'enctype'=>'multipart/form-data')) !!}
@if($result['accountsData']['type'] == "Accounts")
@if(!empty($result['accounts']->name)) {{ $result['accounts']->name }} @else {{ implode(', ', $accountNumber) }} @endif
@endif
{!! Form::text('subject', '', array('class'=>'form-control', 'id'=>'subject', 'required'=>'required', 'maxlength'=>'80')) !!}
@if($result['accountsData']['type'] == "Leads")
@endif
{!! Form::text('name', '', array('class'=>'form-control', 'id'=>'name')) !!}
{!! Form::text('contact', '', array('class'=>'form-control', 'id'=>'contact', 'maxlength'=>'12', 'minlength'=>'9')) !!}
{!! Form::text('talk_time', '', array('class'=>'form-control', 'id'=>'talk_time', 'required'=>'required', 'maxlength'=>'3')) !!}
{!! Form::textarea('description', '', array('class'=>'form-control', 'id'=>'description', 'rows'=>'4', 'required'=>'required')) !!}
Drop files here or click to upload.
Drop files in the box or click on "+" to upload.
{!! Form::close() !!} @else

Please contact with SuperAdmin

@endif
@endsection