@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 @foreach($manifiesto->SolicitudServicio->SolicitudResiduo as $Residuo) @if($Residuo->requerimiento->FK_ReqTrata == $manifiesto->FK_ManifTrat) @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 = 'Unidades'; break; case 'Litros': $TypeUnidad = 'Litros'; break; default: $TypeUnidad = 'Kilogramos'; break; } @endphp @if(in_array(Auth::user()->UsRol, Permisos::COMERCIAL)||in_array(Auth::user()->UsRol2, Permisos::COMERCIAL)) @endif @endif @endforeach
{{__('adminlte::message.solserrespel')}} Corriente {{__('adminlte::message.solserembaja')}}Tarifa{{__('adminlte::message.solsercantidad')}}
{{__('adminlte::message.solsercanticonsi')}}
{{__('adminlte::message.solsercantidad')}}
{{__('adminlte::message.solsercantitrat')}}
{{$Residuo->generespel->respels->RespelName}} {{$Residuo->generespel->respels->YRespelClasf4741}}{{$Residuo->generespel->respels->ARespelClasf4741}} {{$Residuo->SolResEmbalaje}} {{$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}}