@extends('layouts.app') @section('content')
| # | Producto | Precio unit. | Cantidad | Subtotal |
|---|---|---|---|---|
| {{ $i + 1 }} | {{ $item->producto->producto ?? 'Producto #' . $item->producto_id }} | {{ number_format($item->precio_unitario ?? 0,2) }} |
|
{{ number_format(($item->precio_unitario ?? 0) * $item->cantidad,2) }} |
| Total | {{ number_format($pedido->total ?? 0,2) }} | |||