@extends('layouts.app') @section('htmlheader_title') Prefactura {{$prefactura->ID_Prefactura}} @endsection @section('contentheader_title') Prefactura {{$prefactura->ID_Prefactura}}
@endsection @section('main-content')
@foreach ($prefactura->prefacTratamiento as $prefactratamiento) @foreach ($prefactratamiento->prefacresiduo as $residuo) @if ($residuo->SolicitudResiduo->certdato->certificado->CertType == 0) @else @endif @endforeach @endforeach
Comercial Servicio Certificado RM EMPRESA PROCESO UNIDAD Residuo CANTIDAD tarifa Subtotal
{{$prefactura->comercial->PersFirstName}} {{$prefactura->comercial->PersLastName}} {{$prefactura->FK_Servicio}}{{$residuo->SolicitudResiduo->certdato->certificado->CertNumero}}M {{$residuo->SolicitudResiduo->certdato->certificado->CertManifNumero}} @foreach ($residuo->RMs as $rm => $value) {{$value}}
@endforeach
{{$prefactura->cliente->CliName}} {{$prefactratamiento->tratamiento->TratName}} {{$residuo->unidad_respel}} {{$residuo->SolicitudResiduo->requerimiento->respel->RespelName}} {{$residuo->cantidad_respel}} {{$residuo->precio_tarifa}} {{$residuo->subtotal_respel}}
Transporte {{$prefactura->Costo_transporte}}
Total {{$prefactura->Total_prefactura}}
@endsection