@foreach($content as $row) @endforeach
Código Descripción Cantidad Unidad Precio Bruto Descto Auto. Descto Precio Neto Total Bruto Editar Eliminar
{{ $row->id }} {{ $row->name }} {{ number_format($row->qty) }} {{ $row->options->unidad }} ${{ number_format($row->price) }} ${{ number_format($descuentoAutomatico) }} @if( $descuentoManual > 0 ) ${{ number_format($totalDescuentoManual) }} ({{ number_format($descuentoManual,2) }}%) @else $0 @endif ${{ number_format($precioNeto) }} ${{ number_format(($row->price) * $row->qty) }} name) }}" class="edit-item-cart btn btn-primary"> name) }}" class="delete-item-cart btn btn-primary">
@foreach($content as $row) @foreach( $row->options->descuentos as $descuento ) @endforeach @endforeach
Código Descripción Descuento Linea Porcentaje
{{ $row->id }} {{ $row->name }} {{ $descuento["id_descuento"] }} {{ $descuento["id_linea"] }} {{ $descuento["porcentaje"] }} %
SUBTOTAL: ${{ number_format(Cart::total()) }}
DESCUENTO: ${{ number_format($descuentoTotal) }}
TOTAL: ${{ number_format( Cart::total() - $descuentoTotal ) }}