{!! Form::open( [ 'data-toggle' => 'validator', 'action' => action('Payment/OrdersController@edit', [$order->id]), 'data-total-products' => $total_products ] ) !!}
{{ exclude_string($category[0]->Category->name) }} | |
---|---|
{{ exclude_string($product->name) }}
@if ($product->description)
{!! $product->description !!}
@endif
|
{!! Form::number( 'data[Order][OrdersItem][' . $product->id . '][qty]', ( isset($selected->{$product->category_id}->{$product->id}->id) && $selected->{$product->category_id}->{$product->id}->id ? $selected->{$product->category_id}->{$product->id}->qty : null ), [ 'placeholder' => t('qty'), 'min' => 0, 'class' => 'form-control qty text-center' ] ) !!} |