@extends('layouts.admin') @section('title', 'Caterer Item') @section('content')

Caterer Item

Update Caterer Item

{{ Html::ul($errors->all()) }} {{ Form::model($data, array('route' => array('caterer_items.update', $data->id), 'method' => 'PUT','files'=>true)) }}

Fill details to submit


{{ Form::text('item_code', Request::old('item_code'), array('id'=>'exampleInputEmail1','class' => 'form-control','placeholder' => 'Enter name')) }}
{{ Form::text('item_name', Request::old('item_name'), array('id'=>'exampleInputEmail1','class' => 'form-control','placeholder' => 'Enter item name')) }}
{{ Form::text('item_display_name', Request::old('item_display_name'), array('id'=>'exampleInputEmail1','class' => 'form-control','placeholder' => 'Enter item display name')) }}
{{ Form::textarea('item_short_description', Request::old('item_short_description'), array('id'=>'exampleInputEmail1','id'=>'summernote','class' => 'form-control summernote','placeholder' => '')) }}
{{ Form::textarea('item_long_description', Request::old('item_long_description'), array('id'=>'exampleInputEmail1','id'=>'summernote','class' => 'form-control summernote','placeholder' => '')) }}
{{ Form::text('item_cost_per_serve', Request::old('item_cost_per_serve'), array('id'=>'exampleInputEmail1','class' => 'form-control','placeholder' => 'Enter item cost per serve')) }}
{{ Form::text('item_markup_per_serve', Request::old('item_markup_per_serve'), array('id'=>'exampleInputEmail1','class' => 'form-control','placeholder' => 'Item Markup (per serve)')) }}
{{ Form::text('item_serving_capacity', Request::old('item_serving_capacity'), array('id'=>'exampleInputEmail1','class' => 'form-control','placeholder' => 'Surving Capacity')) }}
{{ Form::text('setup_time_in_minute', Request::old('setup_time_in_minute'), array('id'=>'exampleInputEmail1','class' => 'form-control','placeholder' => 'Setup Time In Minute')) }}
{{ Form::text('max_time', Request::old('max_time'), array('id'=>'exampleInputEmail1','class' => 'form-control','placeholder' => 'Max Time')) }}
{{ Form::text('requirements', Request::old('requirements'), array('id'=>'exampleInputEmail1','class' => 'form-control','placeholder' => 'Requirements')) }}

item_status=='show') checked @endif> Show item_status=='hidden') checked @endif> Hidden item_status=='busy') checked @endif> Busy

Add Meal Choice Count

@foreach($meal_types as $meal_type) @endforeach

{{ Form::text('arabic_item_code', Request::old('arabic_item_code'), array('id'=>'exampleInputEmail1','class' => 'form-control','placeholder' => 'Enter name')) }}
{{ Form::text('arabic_item_name', Request::old('arabic_item_name'), array('id'=>'exampleInputEmail1','class' => 'form-control','placeholder' => 'Enter item name')) }}
{{ Form::text('arabic_item_display_name', Request::old('arabic_item_display_name'), array('id'=>'exampleInputEmail1','class' => 'form-control','placeholder' => 'Enter item display name')) }}
{{ Form::textarea('arabic_item_short_description', Request::old('arabic_item_short_description'), array('id'=>'exampleInputEmail1','id'=>'summernote','class' => 'form-control summernote','placeholder' => '')) }}
{{ Form::textarea('arabic_item_long_description', Request::old('arabic_item_long_description'), array('id'=>'exampleInputEmail1','id'=>'summernote','class' => 'form-control summernote','placeholder' => '')) }}
{{ Form::text('arabic_item_cost_per_serve', Request::old('arabic_item_cost_per_serve'), array('id'=>'exampleInputEmail1','class' => 'form-control','placeholder' => 'Enter item cost per serve')) }}
{{ Form::text('arabic_item_markup_per_serve', Request::old('arabic_item_markup_per_serve'), array('id'=>'exampleInputEmail1','class' => 'form-control','placeholder' => 'Item Markup (per serve)')) }}
{{ Form::text('arabic_item_serving_capacity', Request::old('arabic_item_serving_capacity'), array('id'=>'exampleInputEmail1','class' => 'form-control','placeholder' => 'Surving Capacity')) }}
{{ Form::text('arabic_setup_time_in_minute', Request::old('arabic_setup_time_in_minute'), array('id'=>'exampleInputEmail1','class' => 'form-control','placeholder' => 'Setup Time In Minute')) }}
{{ Form::text('arabic_max_time', Request::old('arabic_max_time'), array('id'=>'exampleInputEmail1','class' => 'form-control','placeholder' => 'Max Time')) }}
{{ Form::text('arabic_requirements', Request::old('arabic_requirements'), array('id'=>'exampleInputEmail1','class' => 'form-control','placeholder' => 'Requirements')) }}
@foreach($meal_types as $meal_type) {{-- Form::text('arabic_'.$meal_type->id.'_mealID', Request::old('max_time'), array('id'=>'exampleInputEmail1','class' => 'form-control')) --}} @endforeach
{{ Form::close() }}
@endsection @section('footer-scripts') @include('scripts.carterer') @endsection