{{ html()->form('POST', route('providertype.store'))->attribute('data-toggle', 'validator')->id('providertype')->open()}}
{{ html()->hidden('id',$providertypedata->id ?? null) }}
@include('partials._language_toggale')
@foreach($language_array as $language)
@endforeach
{{ html()->label(__('messages.commission') . ' *', 'commission')->class('form-control-label') }}
{{ html()->number('commission',$providertypedata->commission)->attributes(['min' => 0,'step' => 'any'])->placeholder(__('messages.commission'))->class('form-control')}}
{{ html()->label(__('messages.select_name', ['select' => __('messages.type')]) . ' *', 'type')->class('form-control-label') }}
{{ html()->select('type', ['percent' => __('messages.percent'), 'fixed' => __('messages.fixed')], $providertypedata->type)->id('type')->class('form-select select2js')->required()}}
{{ __('messages.hint') }}
{{ html()->label(__('messages.status') . ' *', 'status')->class('form-control-label') }}
{{ html()->select('status', ['1' => __('messages.active'), '0' => __('messages.inactive')], $providertypedata->status)->id('role')->class('form-select select2js')->required()}}
{{ html()->submit(__('messages.save'))->class('btn btn-md btn-primary float-end') }}
{{ html()->form()->close() }}