@extends('layouts.master') @section('content')

{{ trans('breadcrumbs.Edit Tournament') }}

{{ trans('tournament.Tournament Information') }}

@csrf {{ Form::hidden('id', $hidden) }}
{{ Form::label('tournamentName', trans('tournament.Tournament Name'), ['class' => 'required']) }} {{ Form::text('tournamentName', $tournamentName, ['id' => 'tournamentName', 'class' => 'form-control', 'placeholder' => trans('tournament.Tournament Name'), 'readonly' => 'readonly']) }}
{{ Form::label('tournamentType', trans('tournament.Tournament Type'), ['class' => 'required'])}} {{ Form::select('tournamentType', $tournamentType, $tournamentTypeValue, ['class' => 'form-control select2', 'id' => 'tournamentType', 'placeholder' => 'Select']) }} {{ Form::hidden('tournamentType', $tournamentTypeValue, ['id' => 'tournamentType1']) }}
{{ Form::label('gameType', trans('tournament.Game Type'), ['class' => 'required'])}} {{ Form::select('gameType', $gameType, '', ['class' => 'form-control select2', 'id' => 'gameType', 'placeholder' => 'Select']) }}
{{ Form::label('status', trans('game.Status'), ['class' => 'required'])}} {{ Form::select('status', $status, $statusValue, ['class' => 'form-control select2', 'id' => 'status', 'placeholder' => 'Select']) }}
{{ Form::label('limit', trans('game.Limit'), ['class' => 'required'])}} {{ Form::select('limit', $limit, $limitValue, ['class' => 'form-control select2', 'id' => 'limit', 'placeholder' => 'Select']) }}
{{ Form::label('serverType', trans('tournament.Server'), ['class' => 'required'])}} {{ Form::select('serverType', $serverType, $serverTypeValue, ['class' => 'form-control select2', 'id' => 'server', 'placeholder' => 'Select']) }}
{{ Form::label('mainTournament', trans('tournament.Main Tournament'), ['class' => 'required'])}} {{ Form::select('mainTournament', $mainTournament, $mainTournamentValue, ['class' => 'form-control select2', 'id' => 'mainTournament', 'placeholder' => 'Select']) }}
{{ Form::label('textColor', trans('tournament.Tournament Text Color'))}} {{ Form::select('textColor', $textColor, $textColorValue, ['class' => 'form-control select2', 'id' => 'textColor', 'placeholder' => 'Select']) }}

   
{{ Form::label('tournamentDescription', trans('tournament.Tournament Description'), ['class' => 'required']) }} {{ Form::textarea('tournamentDescription', $tournamentDescription, ['class'=>'form-control', 'id' => 'tournamentDescription', 'rows' => 2, 'cols' => 40, 'maxlength' => '150']) }}

{{ trans('tournament.Timings') }}

{{ Form::label('registrationStartTime', trans('tournament.Registration Start Time'), ['class' => 'required']) }} {{ Form::text('registrationStartTime', $registrationStartTime, ['class' => 'form-control', 'id' => 'registrationStartTime', 'readonly' => 'readonly']) }}
{{ Form::label('tournamentStartTime', trans('tournament.Tournament Start Time'), ['class' => 'required']) }} {{ Form::text('tournamentStartTime', $tournamentStartTime, ['class' => 'form-control', 'id' => 'tournamentStartTime', 'readonly' => 'readonly']) }}

{{ Form::label('registrationEnd', trans('tournament.Registration End'), ['class' => 'required'])}} {{ Form::text('registrationEnd', $registrationEnd, ['class' => 'form-control number', 'id' => 'registrationEnd', 'maxlength' => '3']) }}

{{ trans('tournament.Players') }}

{{ Form::label('playersPerTable', trans('tournament.Players Per Table'), ['class' => 'required'])}} {{ Form::select('playersPerTable', $playersPerTable, '', ['class' => 'form-control select2', 'id' => 'playersPerTable', 'placeholder' => 'Select']) }}
{{ Form::label('minimumPlayers', trans('tournament.Minimum'), ['class' => 'required'])}} {{ Form::text('minimumPlayers', $minimumPlayers, ['class' => 'form-control number', 'id' => 'minimumPlayers', 'maxlength' => '3']) }}
{{ Form::label('maximumPlayers', trans('tournament.Maximum'), ['class' => 'required'])}} {{ Form::text('maximumPlayers', $maximumPlayers, ['class' => 'form-control number', 'id' => 'maximumPlayers', 'maxlength' => '5']) }}

{{ trans('tournament.Entry Criteria') }}

{{ Form::label('cashType', trans('tournament.Cash Type'), ['class' => 'required'])}} {{ Form::select('cashType', $cashType, '', ['class' => 'form-control select2', 'id' => 'cashType', 'placeholder' => 'Select']) }}
{{ Form::label('balanceType', trans('tournament.Balance Type'), ['class' => 'required'])}}

{{ Form::label('amount', trans('tournament.Amount'), ['class' => 'required']) }} {{ Form::text('amount', $amount, ['class' => 'form-control number', 'id' => 'amount', 'maxlength' => '5']) }}
{{ Form::label('commission', trans('tournament.Commission %'), ['class' => 'required'])}} {{ Form::text('commission', $commission, ['class' => 'form-control number', 'id' => 'commission', 'maxlength' => '3']) }}
{{ Form::label('bountyAmount', trans('tournament.Bounty Amount'), ['class' => 'required']) }} {{ Form::text('bountyAmount', $bountyAmount, ['class' => 'form-control number', 'id' => 'bountyAmount', 'maxlength' => '5']) }}
{{ Form::label('bountyCommission', trans('tournament.Bounty Commission %'), ['class' => 'required'])}} {{ Form::text('bountyCommission', $bountyCommission, ['class' => 'form-control number', 'id' => 'bountyCommission', 'maxlength' => '3']) }}
{{ Form::label('bountyPercentage', trans('tournament.Bounty Percentage %'), ['class' => 'required'])}} {{ Form::text('bountyPercentage', $bountyPercentage, ['class' => 'form-control number', 'id' => 'bountyPercentage', 'maxlength' => '3']) }}
{{ Form::label('startDate', trans('tournament.Start Date'), ['class' => 'required']) }} {{ Form::text('startDate', '', ['class' => 'form-control', 'id' => 'startDate', 'readonly' => 'readonly']) }}
{{ Form::label('endDate', trans('tournament.End Date'), ['class' => 'required']) }} {{ Form::text('endDate', '', ['class' => 'form-control', 'id' => 'endDate', 'readonly' => 'readonly']) }}

{{ trans('tournament.Blind Structure') }}

{{ Form::label('blindStructure', trans('tournament.Blind Structure'), ['class' => 'required'])}} {{ Form::select('blindStructure', $blindStructure, $blindStructureValue, ['class' => 'form-control select2', 'id' => 'blindStructure', 'placeholder' => 'Select']) }}
{{ Form::label('startingBlind', trans('tournament.Starting Blind'), ['class' => 'required'])}} {{ Form::select('startingBlind', [], '', ['class' => 'form-control select2', 'id' => 'startingBlind', 'placeholder' => 'Select']) }}
{{ Form::label('timerTournamentEndLevel', trans('tournament.Timer Tournament End Level'), ['class' => 'required']) }} {{ Form::text('timerTournamentEndLevel', '', ['class' => 'form-control number', 'id' => 'timerTournamentEndLevel', 'maxlength' => '8']) }}
{{ Form::label('bindsIncrementTime', trans('tournament.Binds Increment Time'), ['class' => 'required'])}} {{ Form::text('bindsIncrementTime', $bindsIncrementTime, ['class' => 'form-control number', 'id' => 'bindsIncrementTime', 'maxlength' => '2']) }}
{{ Form::label('startingChipsCount', trans('tournament.Starting Chips Count'), ['class' => 'required'])}} {{ Form::text('startingChipsCount', $startingChipsCount, ['class' => 'form-control number', 'id' => 'startingChipsCount', 'maxlength' => '8']) }}

{{ trans('tournament.Time Settings') }}

{{ Form::label('turnTime', trans('tournament.Turn Time (sec)'), ['class' => 'required'])}} {{ Form::text('turnTime', $turnTime, ['class' => 'form-control number', 'id' => 'turnTime', 'maxlength' => '2']) }}
{{ Form::label('disconnectTime', trans('tournament.Disconnect Time (sec)'), ['class' => 'required'])}} {{ Form::text('disconnectTime', $disconnectTime, ['class' => 'form-control number', 'id' => 'disconnectTime', 'maxlength' => '2']) }}
{{ Form::label('extraTime', trans('tournament.Extra Time (sec)'), ['class' => 'required'])}} {{ Form::text('extraTime', $extraTime, ['class' => 'form-control number', 'id' => 'extraTime', 'maxlength' => '2']) }}
{{ Form::label('extraTimeMaxCap', trans('tournament.Extra Time (Max Cap) (sec)'))}} {{ Form::text('extraTimeMaxCap', $extraTimeMaxCap, ['class' => 'form-control number', 'id' => 'extraTimeMaxCap', 'maxlength' => '2']) }}
{{ Form::label('extraTimeBlindLevels', trans('tournament.Extra Time (Blind Levels) (sec)'))}} {{ Form::text('extraTimeBlindLevels', $extraTimeBlindLevels, ['class' => 'form-control number', 'id' => 'extraTimeBlindLevels', 'maxlength' => '2']) }}
{{ Form::label('extraTimeAddOn', trans('tournament.Extra Time (Add-on) (sec)'))}} {{ Form::text('extraTimeAddOn', $extraTimeAddOn, ['class' => 'form-control number', 'id' => 'extraTimeAddOn', 'maxlength' => '2']) }}

{{ trans('tournament.Additional Features') }}

{{ trans('tournament.Re-Buy Settings') }}

{{ Form::label('chipsToBeGranted', trans('tournament.Chips To Be Granted'), ['class' => 'required'])}} {{ Form::text('chipsToBeGranted', $chipsToBeGranted, ['class' => 'form-control number', 'id' => 'chipsToBeGranted', 'maxlength' => '10']) }}
{{ Form::label('eligibleChips', trans('tournament.Player Max. Eligible Chips'), ['class' => 'required'])}} {{ Form::text('eligibleChips', $eligibleChips, ['class' => 'form-control number', 'id' => 'eligibleChips', 'maxlength' => '10']) }}
{{ Form::label('timePeriod', trans('tournament.Time Period'), ['class' => 'required'])}} {{ Form::select('timePeriod', $timePeriod, $timePeriodValue, ['class' => 'form-control select2', 'id' => 'timePeriod', 'placeholder' => 'Select']) }}
{{ Form::label('noOfReBuy', trans('tournament.Num. Of Re-Buy'), ['class' => 'required'])}} {{ Form::select('noOfReBuy', $noOfReBuy, $noOfReBuyValue, ['class' => 'form-control select2', 'id' => 'noOfReBuy', 'placeholder' => 'Select']) }}
{{ Form::label('reBuyAmount', trans('tournament.Re-Buy Amount'), ['class' => 'required'])}} {{ Form::text('reBuyAmount', $reBuyAmount, ['class' => 'form-control number', 'id' => 'reBuyAmount', 'maxlength' => '5']) }}
{{ Form::label('entryFee', trans('tournament.Entry Fee'), ['class' => 'required'])}} {{ Form::text('entryFee', $entryFee, ['class' => 'form-control number', 'id' => 'entryFee', 'maxlength' => '5']) }}

{{ trans('tournament.Addon Settings') }}

{{ Form::label('addonChipsToBeGranted', trans('tournament.Chips To Be Granted'), ['class' => 'required'])}} {{ Form::text('addonChipsToBeGranted', $addonChipsToBeGranted, ['class' => 'form-control number', 'id' => 'addonChipsToBeGranted', 'maxlength' => '5']) }}
{{ Form::label('addonTimeInterval', trans('tournament.Addon Time Interval (Minutes)'), ['class' => 'required'])}} {{ Form::text('addonTimeInterval', $addonTimeInterval, ['class' => 'form-control number', 'id' => 'addonTimeInterval', 'maxlength' => '2']) }}
{{ Form::label('addonAmount', trans('tournament.Addon Amount'), ['class' => 'required'])}} {{ Form::text('addonAmount', $addonAmount, ['class' => 'form-control number', 'id' => 'addonAmount', 'maxlength' => '5']) }}
{{ Form::label('addonEntryFee', trans('tournament.Entry Fee'), ['class' => 'required'])}} {{ Form::text('addonEntryFee', $addonEntryFee, ['class' => 'form-control number', 'id' => 'addonEntryFee', 'maxlength' => '5']) }}

{{ trans('tournament.Prize Structure') }}

{{ Form::label('prizeType', trans('tournament.Prize Type'), ['class' => 'required'])}}

{{ Form::label('prizeStructure', trans('tournament.Prize Structure'), ['class' => 'required'])}} {{ Form::select('prizeStructure', $prizeStructure, $prizeStructureValue, ['class' => 'form-control select2', 'id' => 'prizeStructure', 'placeholder' => 'Select']) }}
{{ Form::label('prizeMoneyType', trans('tournament.Prize Money Type'), ['class' => 'required'])}} {{ Form::select('prizeMoneyType', $prizeMoneyType, $prizeMoneyTypeValue, ['class' => 'form-control select2', 'id' => 'prizeMoneyType', 'placeholder' => 'Select']) }}
{{ Form::label('prizeBalanceType', trans('tournament.Prize Balance Type'), ['class' => 'required'])}}

{{ Form::label('prizePoolType', trans('tournament.Prize Pool Type'), ['class' => 'required'])}}

{{ Form::label('tournamentTicket', trans('tournament.Ticket'), ['class' => 'required'])}} {{ Form::text('tournamentTicket', '', ['class' => 'form-control number', 'id' => 'tournamentTicket', 'maxlength' => '6']) }}
{{ Form::label('prizePool', trans('tournament.Prize Pool [Guarantee Prize]'), ['class' => 'required'])}} {{ Form::text('prizePool', $prizePool, ['class' => 'form-control number', 'id' => 'prizePool', 'maxlength' => '8']) }}
{{ Form::label('noOfPlacesPaid', trans('tournament.No Of Places Paid'), ['class' => 'required'])}} {{ Form::text('noOfPlacesPaid', $noOfPlacesPaid, ['class' => 'form-control number', 'id' => 'noOfPlacesPaid', 'maxlength' => '4']) }}
@if($prizeType == 1) @foreach($winnersPlace as $row) @endforeach
Rank Prize(%)
   
@endif
@endsection @section('javascript') @stop