{!! Form::open( [ 'data-toggle' => 'validator', 'action' => action('Payment/OrdersController@edit', [$order->id]), 'data-total-products' => $total_products ] ) !!} @foreach ($products as $category) @foreach ($category as $product) @endforeach @endforeach
{{ 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' ] ) !!}
{!! Form::label('data[Order][extra][notes]', t('Additional Info or Food Allergies')) !!} {!! Form::textarea( 'data[Order][extra][notes]', null, [ 'placeholder' => t('Type your extra requirements here'), 'class' => 'form-control' ] ) !!}
{!! Form::close() !!}