20 lines
		
	
	
		
			617 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			617 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| {!! Form::open([
 | |
|     'id' => 'form-create-tax',
 | |
|     '@submit.prevent' => 'onSubmit',
 | |
|     '@keydown' => 'form.errors.clear($event.target.name)',
 | |
|     'role' => 'form',
 | |
|     'class' => 'form-loading-button',
 | |
|     'route' => 'taxes.store',
 | |
|     'novalidate' => true
 | |
| ]) !!}
 | |
|     <div class="row">
 | |
|         {{ Form::textGroup('name', trans('general.name'), 'id-card-o') }}
 | |
| 
 | |
|         {{ Form::textGroup('rate', trans('taxes.rate'), 'percent') }}
 | |
| 
 | |
|         {{ Form::selectGroup('type', trans_choice('general.types', 1), 'bars', $types, 'normal') }}
 | |
| 
 | |
|         {!! Form::hidden('enabled', '1', []) !!}
 | |
|     </div>
 | |
| {!! Form::close() !!}
 |