@extends('layouts.agent') @section('page-title', 'Agents') @push('styles') @endpush @section('content') @auth() @if ($currentAgent)

{{ $currentAgent->todayStats->approvedCalls ?? 0 }}

Appels Approuvés

{{ $currentAgent->todayStats->unapprovedCalls ?? 0 }}

Appels Rejetés

{{ $currentAgent->todayStats->callinfull ?? 0 }}

Traitement InFull

{{ $currentAgent->todayStats->callinMaj ?? 0 }}

Traitement Maj

{{ $currentAgent->todayStats->callsday ?? 0 }}

Traitements du Jour

{{ $currentAgent->globalStats->callsAll ?? 0 }}

Total Global

@if ($msisdnToTreat)
Enregistrer un Appel
{{-- Numéro : si statut = to_correct on met le msisdn sinon vide --}}
@php $qc = \App\Models\Qc::where('groupe_id', $msisdnToTreat->id) ->where('codification', 'MAUVAIS TRAITEMENT') ->latest() ->first(); @endphp {{-- Motif correction --}} @if($msisdnToTreat && $msisdnToTreat->statut === 'to_correct')
@if($qc)
@endif @endif
@else @endif @else @endif @endauth @endsection @push('scripts') @endpush