@if(auth()->user()->hasRole('admin') )
user()->hasRole('admin'))disabled @endif value="{{ $edit ? $jackpot->balance : '' }}" >
@endif @if( auth()->user()->hasPermission('jpgame.edit') )
{!! Form::select('start_balance', ['' => '---'] + \VanguardLTE\JPG::$values['start_balance'], $edit ? '' : 1, ['class' => 'form-control']) !!}
{!! Form::select('pay_sum', ['' => '---'] + \VanguardLTE\JPG::$values['pay_sum'], $edit ? '' : 0, ['class' => 'form-control']) !!}
@php $percents = array_combine(\VanguardLTE\JPG::$values['percent'], \VanguardLTE\JPG::$values['percent']); @endphp {!! Form::select('percent', ['' => '---'] + $percents, '', ['class' => 'form-control']) !!}
@endif
{!! Form::select('user_id', ['' => '---'] + $users, $edit ? $jackpot->user_id : 0, ['class' => 'form-control select2', 'style' => 'width: 100%;']) !!}