@if(session()->has('hsn_code_created')) @endif @if(session()->has('hsn_code_not_created')) @endif @include('includes.form_errors')
{!! Form::open(['method'=>'post', 'action'=>'ManageHsnCodeController@store', 'onsubmit'=>'submit_button.disabled = true; submit_button.value = "' . __('Please Wait...') . '"; return true;']) !!}
{!! Form::label('product_code', __('HSN Code:')) !!} {!! Form::text('product_code', null, ['class'=>'form-control', 'placeholder'=>__('Enter HSN code'), 'required'])!!}
{!! Form::label('product_name', __('Product Name:')) !!} {!! Form::text('product_name', null, ['class'=>'form-control', 'placeholder'=>__('Enter product name'), ''])!!}
{!! Form::label('percentage_rate', __('Rates (%):')) !!} {!! Form::number('percentage_rate', null, ['class'=>'form-control', 'step'=>'any', 'placeholder'=>__('Enter rate in %'), ''])!!}
{!! Form::label('description', __('Description:') ) !!} {!! Form::textarea('description', null, ['class'=>'form-control', 'placeholder'=>__('Enter description'), 'rows'=>'6'])!!}
{!! Form::label('is_active', __('Status:')) !!} {!! Form::select('is_active', ['0'=>__('Inactive'), '1'=>__('Active')], 1, ['class'=>'form-control selectpicker', 'data-style'=>'btn-default']) !!}
{!! Form::submit(__('Add HSN Code'), ['class'=>'btn btn-primary btn-block', 'name'=>'submit_button']) !!}
{!! Form::close() !!}