{{--Elaborado por Ivan Salazar 05-08-2018 --}} @extends('layouts/master') @section('header') @endsection @section('content')

REPORTE DE LAS RECOLECTAS:


@if ($codcliente != "") @endif
@php $totalgen = 0; $totalpen = 0; $cant =0; $totalporcentod=0; $totalrea=0; $totalanu=0; $totalanuz=0; $totalrepro=0; @endphp @foreach($consultaReporte['entidadRespuesta'] as $recolecta) @php $totalgen = $recolecta['total'] +$totalgen; $totalpen = $recolecta['totalod'] +$totalpen; $porcentod = number_format(((strtoupper($recolecta['totalod'])) * 100) / strtoupper($recolecta['total']), 2, '.', ','); $totalporcentod = $porcentod + $totalporcentod; $cant = $cant + 1; $totalrea = $recolecta['totalpkd'] +$totalrea; $totalanu = $recolecta['totalnpk'] +$totalanu; $totalanuz = $recolecta['totalnpkz'] +$totalanuz; $totalrepo = $recolecta['totalreprogramada'] + $totalrepro; @endphp @if ($recolecta['totalpkd'] != 0) @else @endif @if ($recolecta['totalnpk'] != 0) @else @endif @if ($recolecta['totalnpkz'] != 0) @else @endif @if ($status == 1 or $status == 2) @endif @endforeach @if ($title == 'TODAS LAS OFICINAS') @if ($totalrea != 0) @else @endif @if ($totalanu != 0) @else @endif @if ($totalanuz != 0) @else @endif @if ($status == 1 or $status == 2) @endif @endif
Oficina Generadas Pendientes % Efectividad
%
Incumplimiento
%
Realizada
%
Pendiente
%
{{ strtoupper($recolecta['oficina']) }} {{ strtoupper($recolecta['total']) }} {{ strtoupper($recolecta['totalod']) }} {{$porcentod}}{{$recolecta['totalreprogramada']}} {{number_format((100-(strtoupper($recolecta['totalnpkz'])* 100) / strtoupper($recolecta['total'])), 2, '.', ',') }} {{number_format(((strtoupper($recolecta['totalnpkz'])) * 100) / strtoupper($recolecta['total']), 2, '.', ',') }} {{number_format(((strtoupper($recolecta['totalpkd'])) * 100) / strtoupper($recolecta['total']), 2, '.', ',') }} {{number_format(((strtoupper($recolecta['totalod'])) * 100) / strtoupper($recolecta['total']), 2, '.', ',') }}
TOTAL: {{$totalgen}} {{$totalpen}} {{number_format(((($totalpen/$totalgen)* 100)), 2, '.', ',') }}{{$totalrepro}} {{number_format(((($totalrepro/$totalgen)* 100)), 2, '.', ',') }}{{number_format(100-((($totalanuz/$totalgen)* 100)), 2, '.', ',') }} {{number_format(((($totalanuz/$totalgen)* 100)), 2, '.', ',') }} {{number_format(((($totalrea/$totalgen)* 100)), 2, '.', ',') }} {{number_format(((($totalpen/$totalgen)* 100)), 2, '.', ',') }}
Volver
@endsection @section('script') @endsection