@php // $TotalEnv = 0; // $TotalRec = 0; // $TotalCons = 0; // $TotalTrat = 0; @endphp @if(in_array(Auth::user()->UsRol, Permisos::COMERCIAL)||in_array(Auth::user()->UsRol2, Permisos::COMERCIAL)) @endif @if(in_array(Auth::user()->UsRol, Permisos::PROGRAMADOR)||in_array(Auth::user()->UsRol2, Permisos::PROGRAMADOR)) @endif @foreach($certificado->SolicitudServicio->SolicitudResiduo as $Residuo) @foreach ($certificado->certdato as $certdato) @if($Residuo->ID_SolRes == $certdato->FK_DatoCertSolRes) @php // $TotalEnv = $Residuo->generespel->respels->SolResKgEnviado+$TotalEnv; // $TotalRec = $Residuo->generespel->respels->SolResKgRecibido+$TotalRec; // $TotalCons = $Residuo->generespel->respels->SolResKgConciliado+$TotalCons; // $TotalTrat = $Residuo->generespel->respels->SolResKgTratado+$TotalTrat; switch ($Residuo->SolResTypeUnidad) { case 'Unidad': $TypeUnidad = 'Unid.'; break; case 'Litros': $TypeUnidad = 'Lt.'; break; default: $TypeUnidad = 'Kg.'; break; } @endphp @if(in_array(Auth::user()->UsRol, Permisos::COMERCIAL)||in_array(Auth::user()->UsRol2, Permisos::COMERCIAL)) @endif @if(in_array(Auth::user()->UsRol, Permisos::PROGRAMADOR)||in_array(Auth::user()->UsRol2, Permisos::PROGRAMADOR)) @endif @endif @endforeach @endforeach
{{__('adminlte::message.solserembaja')}} {{__('adminlte::message.solserrespel')}} CorrienteTarifa{{__('adminlte::message.solsercantidad')}}
{{__('adminlte::message.solsercanticonsi')}}
{{__('adminlte::message.solsercantidad')}}
{{__('adminlte::message.solsercantitrat')}}
{{$Residuo->SolResEmbalaje}} {{$Residuo->generespel->respels->RespelName}} {{$Residuo->generespel->respels->YRespelClasf4741}}{{$Residuo->generespel->respels->ARespelClasf4741}} {{$Residuo->SolResPrecio}} Pesos @if($Residuo->SolResTypeUnidad == 'Litros' || $Residuo->SolResTypeUnidad == 'Unidad') {{$Residuo->SolResCantiUnidadConciliada === null ? 'N/A' : $Residuo->SolResCantiUnidadConciliada }} @else {{$Residuo->SolResKgConciliado === null ? 'N/A' : $Residuo->SolResKgConciliado }} @endif {{$TypeUnidad}} @if($Residuo->SolResTypeUnidad == 'Litros' || $Residuo->SolResTypeUnidad == 'Unidad') {{$Residuo->SolResCantiUnidadTratada === null ? 'N/A' : $Residuo->SolResCantiUnidadTratada }} @else {{$Residuo->SolResKgTratado === null ? 'N/A' : $Residuo->SolResKgTratado }} @endif {{$TypeUnidad}}