Detalle de documento y líneas
| Fecha | {{ $cab->fecha ? $cab->fecha->format('d-m-Y') : '' }} |
| Factura(s) / ref. | {{ $cab->facturas }} |
| N° cheque | {{ $cab->numero_cheque ?: '—' }} |
| Proveedor | {{ $cab->proveedor->nombre ?? '' }} |
| Observaciones | {{ $cab->observaciones }} |
| Producto | Categoría | Nota | Cant. | Carne | Harina | ILA | Flete | Neto | IVA | Total | Costo u. |
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $l->producto->nombre ?? '—' }} | {{ $l->producto->categoriaProducto->nombre ?? '—' }} | {{ $l->descripcion ?: '—' }} | {{ $nf($l->cantidad, 3) }} | {{ $nf($l->imp_carne, 2) }} | {{ $nf($l->imp_harina, 2) }} | {{ $nf($l->imp_ila, 2) }} | {{ $nf($l->imp_flete, 2) }} | {{ $nf($l->neto, 2) }} | {{ $nf($l->iva, 2) }} | {{ $nf($l->total, 2) }} | {{ $nf(round((float) $l->costo_unitario, 0), 0) }} |
| Totales documento | {{ $nf($sumCant, 3) }} | {{ $nf($sumCarne, 2) }} | {{ $nf($sumHarina, 2) }} | {{ $nf($sumIla, 2) }} | {{ $nf($sumFlete, 2) }} | {{ $nf($sumNeto, 2) }} | {{ $nf($sumIva, 2) }} | {{ $nf($sumTotal, 2) }} | — | ||