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

{{ trans('Generates Tickets') }}

@php $getUserRoleData = userRoleData(); $Tickets = explode(",",$getUserRoleData->Tickets); @endphp
@if(session()->has('fileError'))

{{ trans('Error') }}

    @foreach(session()->get('fileError') as $error)
  • {{$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",$Tickets )) {!! Form::open(array('url' =>'admin/generates-tickets-data', 'method'=>'post', 'class' => 'form-horizontal', 'id' => 'generatesTicketsData', 'enctype'=>'multipart/form-data')) !!} @if($result['thread_type'] == 'accounts') @else @endif
Tickets Information
@if (\Session::has('err_msg'))
{!! \Session::get('err_msg') !!}
@endif
@if($result['thread_type'] == 'accounts')
@if(!empty($result['ticketsData']->name)) {{ $result['ticketsData']->name }} @else {{ implode(', ', $accountNumber) }} @endif
{{--
--}}
@endif @if($result['thread_type'] == 'leads')
@endif


Optional Information
{!! 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'=>'3')) !!}
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 @section('scripts') @endsection