LISTA DE GASTOS REPOSICION
{{ $cabecera->descripcion }}
{{ $cabecera->direccion }}


INFORMACION DEL PROVEEDOR
NOMBRE {{ $proveedor->solicita}}
RFC {{ $proveedor->rfc }}
TELEFONO {{ $proveedor->telefono }}
EMAIL {{ $proveedor->email }}


@php $subtotal = 0; $iva = 0; $descuento = 0; $total = 0; @endphp @foreach($detalle as $docto) @php $tipo = $docto->isFactura==0?'SIN FACTURA':'CON FACTURA'; @endphp @php $subtotal = $subtotal + $docto->detallesubtotal; $iva = $iva + $docto->detalleiva; $descuento = $descuento + $docto->detalledescuento; $total = $total + $docto->detalletotal; @endphp @endforeach
Fecha Tipo UUID Concepto Cantidad Subtotal IVA Total
{{ date("d-m-Y", strtotime($docto->fechatipo)) }} {{ $tipo }} {{ $docto->uuid }} {{ $docto->detalleconcepto }} {{ $docto->cantidad }} $ {{ number_format($docto->detallesubtotal,2,'.',',') }} $ {{ number_format($docto->detalleiva,2,'.',',') }} $ {{ number_format($docto->detalletotal,2,'.',',') }}


SUBTOTAL: $ {{ number_format($subtotal,2,'.',',') }}
IVA: $ {{ number_format($iva,2,'.',',') }}
DESCUENTO: $ {{ number_format($descuento,2,'.',',') }}
TOTAL: $ {{ number_format($total-$descuento,2,'.',',') }}