@extends('layouts.dashboard-app')
@inject('HomeCount', 'App\Http\Controllers\CoordinaterController')
@section('main-content')
Hello, Welcome {{ auth()->user()->name }}
@inject('HomeCount', 'App\Http\Controllers\HomeController')
{{-- s --}}
{{-- @dd(auth()->user()->role); --}}
{{-- @dd(Auth::user()->getAllPermissions()); --}}
@role('Processor')
Processor Dashboard
Total Leads Received
{{ $HomeCount::TotalLeadsReceived('1.19', 'Telesales', 'Elife') }}
{{-- {{ $HomeCount::TotalLeadPendingProcessor('1.19', 'Telesales', 'Elife') }} --}}
{{-- {{ $HomeCount::TotalLeadStatus('1.01', 'Telesales', 'Elife') }} --}}
{{-- {{$HomeCount::TotalLeadStatus('1.07','elife','elifa')}} --}}
Total Leads Attended
{{ $HomeCount::TotalLeadsAttended('1.09', 'Telesales', 'Elife') }}
{{-- {{ $HomeCount::TotalLeadPendingProcessor('1.09', 'Telesales', 'Elife') }} --}}
{{-- {{ $HomeCount::TotalLeadStatus('1.01', 'Telesales', 'Elife') }} --}}
{{-- {{$HomeCount::TotalLeadStatus('1.07','elife','elifa')}} --}}
Total SR Generated
{{ $HomeCount::TotalSRGeneratedProcessor('1.24', 'Telesales', 'Elife') }}
{{-- {{ $HomeCount::TotalLeadPendingProcessor('1.24', 'Telesales', 'Elife') }} --}}
{{-- {{ $HomeCount::TotalLeadStatus('1.01', 'Telesales', 'Elife') }} --}}
{{-- {{$HomeCount::TotalLeadStatus('1.07','elife','elifa')}} --}}
Leads Pending
{{ $HomeCount::TotalLeadPendingProcessor('1.19', 'Telesales', 'Elife') }}
{{-- {{ $HomeCount::TotalLeadStatus('1.01', 'Telesales', 'Elife') }} --}}
{{-- {{$HomeCount::TotalLeadStatus('1.07','elife','elifa')}} --}}
Leads Follow Up
{{ $HomeCount::TotalLeadsFollowUp('1.03', 'Telesales', 'Elife') }}
{{-- {{ $HomeCount::TotalLeadStatus('1.01', 'Telesales', 'Elife') }} --}}
{{-- {{$HomeCount::TotalLeadStatus('1.07','elife','elifa')}} --}}
Saler Dashboard
Total SR Closed
{{ $HomeCount::TotalSRClosedProcessor('1.19', 'Telesales', 'Elife') }}
{{-- {{ $HomeCount::TotalLeadPendingProcessor('1.19', 'Telesales', 'Elife') }} --}}
{{-- {{ $HomeCount::TotalLeadStatus('1.01', 'Telesales', 'Elife') }} --}}
{{-- {{$HomeCount::TotalLeadStatus('1.07','elife','elifa')}} --}}
Total SR Rejected
{{ $HomeCount::TotalSRRejectedProcessor('1.09', 'Telesales', 'Elife') }}
{{-- {{ $HomeCount::TotalLeadPendingProcessor('1.09', 'Telesales', 'Elife') }} --}}
{{-- {{ $HomeCount::TotalLeadStatus('1.01', 'Telesales', 'Elife') }} --}}
{{-- {{$HomeCount::TotalLeadStatus('1.07','elife','elifa')}} --}}
Total SR Inprocess
{{ $HomeCount::TotalSRInprocessProcessor('1.08', 'Telesales', 'Elife') }}
{{-- {{ $HomeCount::TotalLeadPendingProcessor('1.24', 'Telesales', 'Elife') }} --}}
{{-- {{ $HomeCount::TotalLeadStatus('1.01', 'Telesales', 'Elife') }} --}}
{{-- {{$HomeCount::TotalLeadStatus('1.07','elife','elifa')}} --}}
@endrole
{{-- {{auth()->user()->role}} --}}
{{-- @role('') --}}
@endsection