@include('pdf.partials.styles-unified')
| N° Orden | Cliente | Precio | F. Despacho | Producto | Cant. | P. Bruto | Jabas | Tara | P. Neto | Subtotal | Estado |
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $orden->serie_orden }} | {{ $orden->razon_social }} | @if($precio > 0) S/ {{ number_format($precio, 2) }} @else N/A @endif | {{ \Carbon\Carbon::parse($orden->fecha_despacho)->format('d/m/Y') }} | @if($primerDetalle) {{ $primerDetalle->tipo_pollo->descripcion }} @else Sin producto @endif | {{ number_format($orden->cantidad_pollos, 0) }} | {{ number_format($orden->peso_total_bruto, 2) }} | {{ $orden->cantidad_jabas }} | {{ number_format($orden->tara, 2) }} | {{ number_format($orden->peso_total_neto, 2) }} | S/ {{ number_format($orden->subtotal, 2) }} | @if($orden->estado) ACTIVO @else INACTIVO @endif |
| No hay órdenes sin ventas para la fecha actual | |||||||||||
| TOTALES: | {{ number_format($totalPollos, 0) }} | {{ number_format($totalPesoBruto, 2) }} | {{ $totalJabas }} | {{ number_format($totalTara, 2) }} | {{ number_format($totalPesoNeto, 2) }} kg | S/ {{ number_format($totalSubtotal, 2) }} | {{ $records->count() }} órdenes | ||||