forked from nathalie/pedi2
Sintaxis de array
This commit is contained in:
parent
b1caed8b15
commit
b04e7e8f45
1 changed files with 7 additions and 7 deletions
|
@ -4,7 +4,7 @@
|
||||||
background: #CCC
|
background: #CCC
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<h3>{{$pedido->nombre}}</h3>
|
<h3>{{$pedido['nombre']}}</h3>
|
||||||
|
|
||||||
<table style="width: 100%">
|
<table style="width: 100%">
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -25,18 +25,18 @@
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@foreach($pedido->productos as $producto)
|
@foreach($pedido['productos'] as $producto)
|
||||||
@if(!$producto->bono)
|
@if(!$producto['bono'])
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
{{ $producto->nombre }}
|
{{ $producto['nombre'] }}
|
||||||
@if($producto->pivot->notas)
|
@if($producto['pivot']['notas'])
|
||||||
<br /><b>Talle/Color:</b> {{ $producto->pivot->notas }}
|
<br /><b>Talle/Color:</b> {{ $producto['pivot']['notas'] }}
|
||||||
@endif
|
@endif
|
||||||
</td>
|
</td>
|
||||||
<td style="text-align: center">
|
<td style="text-align: center">
|
||||||
{{ $producto->pivot->cantidad }}
|
{{ $producto['pivot']['cantidad'] }}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@endif
|
@endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue