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

{{ trans('Add Form') }}

@php $keys=Session::get('fkey'); $getUserRoleData = userRoleData(); $LeadSources = explode(",",$getUserRoleData->LeadSources); if(isset($_REQUEST['date'])) { $from_date = $_REQUEST['date']; } @endphp
@if(session()->has('message'))

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

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

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

{{ session()->get('error') }}
@endif
{!! Form::open(array('url' => route('quickaudit.store'), 'method'=>'post', 'class' => 'form-horizontal', 'id' => 'addNewLeadSources', 'enctype'=>'multipart/form-data')) !!}
{{$errors->first('audit_type') }}
{{($errors->has('audit_all_subject')) ? "The audit subject field is required." : "" }}
{{($errors->has('audit_compliance_subject')) ? "The audit subject field is required." : "" }}
{{($errors->has('audit_call_audit_subject')) ? "The audit subject field is required." : "" }}
{{($errors->has('audit_call_vod')) ? "The audit subject field is required." : "" }}
{{($errors->has('audit_ministra')) ? "The audit subject field is required." : "" }}
{!! Form::select('csr_name[]', $result['csr_name'], $csr_name ?? [], ['class' => 'form-control', 'id' => 'csr_name', 'multiple' => true, 'onchange' => 'getCsrid(this)']) !!}
{{$errors->first('auditor_name') }}
{{$errors->first('date') }}
{{$errors->first('rating') }}
{{($errors->has('rtm')) ? "The RTM field is required." : "" }}

Ranking

{{$errors->first('customer_no') }} {{old('ranking')??'0'}}
{{$errors->first('ranking') }}
{{ trans('labels.back') }}
{!! Form::close() !!}
@endsection