@extends('admin.layout') @section('content')

{{ trans('Add Tax Class') }}

@php $getUserRoleData = userRoleData(); $LeadSources = explode(",",$getUserRoleData->LeadSources); @endphp
@if(session()->has('message'))

{{ trans('labels.Successlabel') }}

{{ session()->get('message') }}
@endif @if(session()->has('error'))

{{ trans('labels.WarningLabel') }}

{{ session()->get('error') }}
@endif
{!! Form::open(array('url' => route('tax-class.store'), 'method'=>'post', 'class' => 'form-horizontal', 'id' => 'addNewLeadSources', 'enctype'=>'multipart/form-data')) !!}
{!! Form::text('name', '', array('class'=>'form-control', 'id'=>'name', 'required'=>'required', 'oninput'=>"this.value = this.value.replace(/[^A-Za-z]/g, '').replace(/(\..*)\./g, '$1');" )) !!}
{!! Form::text('tax_percent', '', array('class'=>'form-control', 'id'=>'tax_percent', 'required'=>'required', 'required'=>'required', 'oninput'=>"this.value = this.value.replace(/[^0-9]/g, '').replace(/(\..*)\./g, '$1');" )) !!}
{{ trans('labels.back') }}
{!! Form::close() !!}
@endsection @section('scripts') @endsection