@php $total = 0; @endphp Remisión
{{-- --}}
{{-- --}}
{{--
--}}


Remisión #{{$venta?->id ?? 0}}


@foreach ($detalleVenta as $material) @php $total = $total + ($material?->cantidad * $material->precio); @endphp @endforeach
Materiales Código Material Lista De Precios Cantidad Precio Total
{{$material?->material?->nombre ?? 'N/A'}} {{$material?->material?->codigo ?? 'N/A'}} {{$venta?->lista?->nombre ?? 'N/A'}} {{$material?->cantidad ?? 0}} ${{number_format($material?->precio ?? 0, 0, ',', '.')}} ${{number_format($material?->cantidad * $material->precio ?? 0, 0, ',', '.')}}
Total ${{number_format($total, 0, ',', '.')}}