@extends('layouts.AdminMaster') @yield('sessions') @section('content') {{--

Create Items

--}}
{!! Form::open(array('route' => 'admin.items.store', 'files'=>'true')) !!}

Add Item:

{!! Form::label('name', 'Name', array('class' => 'col-sm-3 control-label')) !!}
{!! Form::text('name', $value = null, $attributes = array('class'=>'form-control', 'required')); !!}
{!! Form::label('name', 'Name tamil', array('class' => 'col-sm-3 control-label')) !!}
{!! Form::text('name_tamil', $value = null, $attributes = array('class'=>'form-control', '')); !!}
{!! Form::label('name', 'Name sinhala', array('class' => 'col-sm-3 control-label')) !!}
{!! Form::text('name_sinhala', $value = null, $attributes = array('class'=>'form-control', 'required')); !!}
{!! Form::label('picture', 'Picture', array('class' => 'col-sm-3 control-label')) !!}
{!! Form::file('picture[]', $value = null, $attributes = array('class'=>'form-control', 'required')); !!} {!! Form::file('picture[]', $value = null, $attributes = array('class'=>'form-control', 'required')); !!} {!! Form::file('picture[]', $value = null, $attributes = array('class'=>'form-control', 'required')); !!} {!! Form::file('picture[]', $value = null, $attributes = array('class'=>'form-control', 'required')); !!} {!! Form::file('picture[]', $value = null, $attributes = array('class'=>'form-control', 'required')); !!}
{!! Form::label('Promotion Picture', 'Picture', array('class' => 'col-sm-3 control-label')) !!}
{{-- {!! Form::file('promotion_picture', $value = null, $attributes = array('class'=>'form-control')); !!}--}}

Enter cloudinary link of promotional Picture 600px x 600px

{{-- {!! Form::label('unit', 'Unit', array('class' => 'col-sm-3 control-label')) !!} --}}
{!! Form::label('qty', 'Qty', array('class' => 'col-sm-3 control-label')) !!}
{!! Form::number('qty', $value = null, $attributes = array('class'=>'form-control', 'placeholder'=>'Kg','required')); !!}
{!! Form::label('min_qty', 'Minumum level stock (Kg)', array('class' => 'col-sm-3 control-label')) !!}
{!! Form::number('min_qty', $value = null, $attributes = array('class'=>'form-control', 'placeholder'=>'Kg', 'required')); !!}
{!! Form::label('item_category_id', 'Category', array('class' => 'col-sm-3 control-label')) !!}