@if(session()->has('hsn_code_updated')) @endif @if(session()->has('hsn_code_not_updated')) @endif @include('includes.form_errors')
{!! Form::model($hsn_code, ['method'=>'patch', 'action'=>['ManageHsnCodeController@update', $hsn_code->id], 'files'=>true, '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')], $hsn_code->is_active, ['class'=>'form-control selectpicker', 'data-style'=>'btn-default']) !!}
{!! Form::submit(__('Update HSN Code'), ['class'=>'btn btn-primary btn-block', 'name'=>'submit_button']) !!}
{!! Form::close() !!}