Detalles del gasto
ID: #{{$gasto->id}}
@if($gasto->id_cierre != null)
@endif
@if($gasto->fecha_gasto != null)
@endif
@if($gasto->id_proveedor != null)
@endif
@endif
@if($gasto->fecha_gasto != null)
@if($gasto->detalles->count() > 0)
@endif
@foreach($gasto->movimientos as $movimiento)
@endforeach
{{$gasto->user->name}}
@if($gasto->detalles->count() > 0)
Productos comprados
| ID | Producto | Cantidad comprada | Valor pagado | Precio costo | Acciones |
|---|---|---|---|---|---|
| #{{$detalle->producto->id}} |
{{$detalle->producto->nombre}} |
{{$detalle->cantidad}} | $ {{number_format($detalle->valor * $detalle->cantidad)}} | $ {{number_format($detalle->valor)}} |