{{ __('lbl.products') }}
{{ __('lbl.product_name') }} | {{ __('lbl.product_cost') }} | {{ __('lbl.product_price') }} | {{ __('lbl.cat') }} | {{ __('lbl.action') }} |
---|
{{ __('lbl.add_new_product') }}
{{ Form::label("name", __('lbl.name'),['class'=>'control-label col-sm-3 comman-label']) }}
{{ Form::text('product_name', '', ["required","class"=>"form-control comman-input","placeholder"=> __('lbl.name'),"id"=>"product_name","name"=>"product_name"]) }}
{{ Form::label("category", __('lbl.cat'),['class'=>'control-label col-sm-3 comman-label']) }}
{{ Form::select('cat_id', !empty($categories)? $categories:[], '',['required','class'=>'form-control','id'=>'cat_id',"name"=>"cat_id"]) }}
{{ Form::label("sub_cat_id", __('lbl.sub_cat'),['required','class'=>'control-label col-sm-3 comman-label']) }}
{{ Form::label("price", __('lbl.price'),['required','class'=>'control-label col-sm-3 comman-label']) }}
{{ Form::number('product_price', '', ["required","class"=>"form-control comman-input","placeholder"=> __('lbl.price'),"id"=>"product_price","name"=>"product_price"]) }}
{{ Form::label("product_cost", __('lbl.product_cost'),['class'=>'control-label col-sm-3 comman-label']) }}
{{ Form::number('product_cost', '', ["required","class"=>"form-control comman-input","placeholder"=> __('lbl.product_cost'),"id"=>"product_cost","name"=>"product_cost"]) }}
{{ Form::label("product_barcode", __('lbl.product_barcode'),['class'=>'control-label col-sm-3 comman-label']) }}
{{ Form::text('product_barcode', '', ["class"=>"form-control comman-input","placeholder"=> __('lbl.product_barcode'),"id"=>"product_barcode","name"=>"product_barcode"]) }}
{{ Form::label("product_sku", __('lbl.product_sku'),['class'=>'control-label col-sm-3 comman-label']) }}
{{ Form::text('product_sku', '', ["required","class"=>"form-control comman-input","placeholder"=> __('lbl.product_sku'),"id"=>"product_sku","name"=>"product_sku"]) }}
{{ Form::label("primary_vendor", __('lbl.primary_vendor'),['class'=>'control-label col-sm-3 comman-label']) }}
{{ Form::select('primary_vendor', !empty($primary_vendor) ? $primary_vendor : [], '', ["class"=>"form-control comman-input","id"=>"primary_vendor","name"=>"primary_vendor"]) }}
{{ Form::label("vendor_item_id", __('lbl.vendor_item_id'),['class'=>'control-label col-sm-3 comman-label']) }}
{{ Form::text('vendor_item_id', '', ["class"=>"form-control comman-input ","id"=>"vendor_item_id","name"=>"vendor_item_id"]) }}
{{ Form::label("reorder_unit_type", __('lbl.reorder_unit_type'),['class'=>'control-label col-sm-3 comman-label']) }}
{{ Form::text('reorder_unit_type', 'Unit', ["class"=>"form-control comman-input","placeholder"=> __('lbl.reorder_unit_type'),"id"=>"unit_name","name"=>"unit_name"]) }}
{{ Form::label("conversion", ucfirst(strtolower(__('lbl.conversion'))),['class'=>'control-label col-sm-3 comman-label']) }}
{{ Form::number('conversion', '1.00', ["class"=>"form-control comman-input","placeholder"=> __('lbl.conversion'),"id"=>"conversion","name"=>"conversion"]) }}
{{ Form::label("default_reorder_quantity", __('lbl.default_reorder_quantity'),['class'=>'control-label col-sm-3 comman-label']) }}
{{ Form::text('default_reorder_quantity', '', ["required","class"=>"form-control comman-input","placeholder"=> __('lbl.default_reorder_quantity'),"id"=>"default_reorder_quantity","name"=>"default_reorder_quantity"]) }}
{{ Form::label("reorder_to_par", __('lbl.reorder_to_par'),['class'=>'control-label col-sm-3 comman-label']) }}
{{ Form::checkbox('reorder_to_par', '1') }}
{{ Form::button(' '.__('lbl.save'), ["name"=>"submit",'class' => 'clickbtncommon btn btn-primary btn-sm', 'type' => 'submit']) }}
{{ Form::button(' '.__('lbl.close'), ['class' => 'clickbtncommon btn btn-primary btn-sm', 'data-dismiss' => 'modal']) }}
{{ Form::close() }}
{{ Form::hidden('product_search',route('product_search'),['id'=>'product_search']) }}
{{ Form::hidden('shorturl',route('subcategories'),['id'=>'shorturl']) }}