@foreach (config('translatable.locales') as $locale)
{{ LaravelLocalization::getSupportedLocales()[$locale]['native'] }}
{!! Form::text($locale."[name]", isset($driver_package) ? @$driver_package->translate($locale)->name : null, ['class' => 'form-control' , 'placeholder' => trans('dashboard.'.$locale.'.name')]) !!}
{!! Form::textarea($locale."[desc]", isset($driver_package) ? @$driver_package->translate($locale)->desc : null, ['class' => 'form-control' , 'placeholder' => trans('dashboard.'.$locale.'.desc')]) !!}
@endforeach
{{ trans('dashboard.general.public_data') }}
{{--
is_default) checked @endif class="custom-control-input default_package_checked" id="default_package_checked"/>
--}}
{!! Form::select('duration_type', ['day' => trans('dashboard.driver_package.duration_types.day'),'month' => trans('dashboard.driver_package.duration_types.month'), 'year' => trans('dashboard.driver_package.duration_types.year')], isset($driver_package) ? trans('dashboard.driver_package.duration_types.').$driver_package->duration_types : null , ['class' => 'form-control' , 'placeholder' => trans('dashboard.driver_package.duration_type') , 'id' => 'modern-duration_type']) !!}
{!! Form::text('package_price', null , ['class' => "touchspin", 'data-bts-decimal'=>"0",'data-bts-step' => "0.1" ,'data-bts-decimals' => "2"]) !!}
{!! Form::text('commission', null , ['class' => "touchspin" ,'data-bts-step' => "0.1" ,'data-bts-decimals' => "2"]) !!}
{!! Form::text('duration', null , ['class' => "touchspin"]) !!}
{!! Form::text('free_duration', null , ['class' => "touchspin"]) !!}
{!! Form::select('free_duration_type', ['day' => trans('dashboard.driver_package.duration_types.day'),'month' => trans('dashboard.driver_package.duration_types.month'), 'year' => trans('dashboard.driver_package.duration_types.year')], isset($driver_package) ? trans('dashboard.driver_package.duration_types.').$driver_package->duration_types : null , ['class' => 'form-control' , 'placeholder' => trans('dashboard.driver_package.free_duration_type') , 'id' => 'modern-duration_type']) !!}
{!! Form::text('extend_duration', null , ['class' => "touchspin"]) !!}
{!! Form::text('discount_percent', null , ['class' => "touchspin" ,'data-bts-step' => "0.1" ,'data-bts-decimals' => "2"]) !!}
{!! Form::date("start_discount_at", isset($driver_package) && $driver_package->start_discount_at ? $driver_package->start_discount_at->format("m/d/Y") : null , ['class' => 'form-control expire_date' , 'placeholder' => trans('dashboard.driver_package.start_at')]) !!}
{!! Form::date("end_discount_at", isset($driver_package) && $driver_package->end_discount_at ? $driver_package->end_discount_at->format("m/d/Y") : null , ['class' => 'form-control expire_date' , 'placeholder' => trans('dashboard.driver_package.end_at')]) !!}
{!! Form::date("start_extend_at", isset($driver_package) && $driver_package->start_extend_at ?$driver_package->start_extend_at->format("m/d/Y") : null, ['class' => 'form-control expire_date' , 'placeholder' => trans('dashboard.driver_package.start_at')]) !!}
{!! Form::date("end_extend_at", isset($driver_package) && $driver_package->end_extend_at ?$driver_package->end_extend_at->format("m/d/Y") : null , ['class' => 'form-control expire_date' , 'placeholder' => trans('dashboard.driver_package.end_at')]) !!}
{!! Form::radio('is_discount_active', 1, isset($driver_package) && $driver_package->is_active_extend ? 'checked' : null , ['class' => 'custom-control-input' , 'id' => 'is_discount_active']) !!}
{!! Form::radio('is_discount_active', 0, isset($driver_package) && !$driver_package->is_active_extend ? 'checked' : null , ['class' => 'custom-control-input' , 'id' => 'is_not_discount_active']) !!}
{!! Form::radio('is_extend_active', 1, isset($driver_package) && $driver_package->is_active_extend ? 'checked' : null , ['class' => 'custom-control-input' , 'id' => 'is_extend_active']) !!}
{!! Form::radio('is_extend_active', 0, isset($driver_package) && !$driver_package->is_active_extend ? 'checked' : null , ['class' => 'custom-control-input' , 'id' => 'is_not_extend_active']) !!}
{!! Form::radio('is_active', 1, isset($driver_package) && $driver_package->is_active ? 'checked' : null , ['class' => 'custom-control-input' , 'id' => 'is_active']) !!}
{!! Form::radio('is_active', 0, isset($driver_package) && !$driver_package->is_active ? 'checked' : null , ['class' => 'custom-control-input' , 'id' => 'is_not_active']) !!}
is_needed_wallet) checked @endif class="custom-control-input is_needed_wallet" id="customCheck5"/>
@section('page_styles') @endsection @section('vendor_scripts') @endsection @section('page_scripts') @endsection