@foreach (config('translatable.locales') as $locale)
{{ LaravelLocalization::getSupportedLocales()[$locale]['native'] }}
{!! Form::text($locale."[name]", isset($point_package) ? $point_package->translate($locale)->name : null, ['class' => 'form-control' , 'placeholder' => trans('dashboard.'.$locale.'.name')]) !!}
{!! Form::textarea($locale."[desc]", isset($point_package) ? optional($point_package->translate($locale))->desc : null, ['class' => 'form-control' , 'placeholder' => trans('dashboard.'.$locale.'.desc')]) !!}
@endforeach
{{ trans('dashboard.general.public_data') }}
{!! Form::radio('user_type', "client") !!} {{ trans('dashboard.point_package.user_types.client') }}
{!! Form::radio('user_type', "driver") !!} {{ trans('dashboard.point_package.user_types.driver') }}
{!! Form::radio('user_type', "client_and_driver") !!} {{ trans('dashboard.point_package.user_types.client_and_driver') }}
{!! Form::radio('is_active', "1", isset($point_package) && $point_package->is_active ? 'checked' : null) !!} {{ trans('dashboard.user.active') }}
{!! Form::radio('is_active', "0", isset($point_package) && !$point_package->is_active ? 'checked' : null) !!} {{ trans('dashboard.user.not_active') }}
{!! Form::radio('transfer_type', "order", isset($point_package) && $point_package->transfer_type == 'order' ? 'checked' : null) !!} {{ trans('dashboard.point_package.transfer_types.order') }}
{!! Form::radio('transfer_type', "wallet", isset($point_package) && $point_package->transfer_type == 'wallet' ? 'checked' : null) !!} {{ trans('dashboard.point_package.transfer_types.wallet') }}
{!! Form::radio('transfer_type', "other", isset($point_package) && $point_package->transfer_type == 'other' ? 'checked' : null) !!} {{ trans('dashboard.point_package.transfer_types.other') }}
@if (isset($point_package) && $point_package->transfer_type != 'other')
{!! Form::number('amount', null , ['class' => "touchspin", 'init-val' => null ]) !!}
@endif
{!! Form::number('points', null , ['class' => "touchspin", 'init-val' => null ]) !!}
@if (isset($point_package) && $point_package->image) @else @endif
@section('vendor_styles') @endsection @section('page_styles') @endsection @section('vendor_scripts') @endsection @section('page_scripts') @endsection