@php $auction = $auction ?? []; $readonly = $rulesLocked ?? false; $allowedDefaults = [50, 100, 200]; $allowedRaw = $auction['allowedIncrementsAbove101'] ?? $allowedDefaults; if (! is_array($allowedRaw)) { $allowedRaw = [(int) $allowedRaw]; } $allowedValues = array_values(array_map('intval', $allowedRaw)); while (count($allowedValues) < 3) { $allowedValues[] = $allowedDefaults[count($allowedValues)] ?? 50; } $allowedValues = array_slice($allowedValues, 0, 3); @endphp
@include('admin.leagues.rules._rules_card_header', ['title' => 'Time Settings']) @php $antiSnipeEnabled = (bool) ($auction['antiSnipeEnabled'] ?? true); @endphp
@include('admin.leagues.rules._rules_field', [ 'name' => 'auction[timerPerPlayer]', 'id' => 'timerPerPlayer', 'label' => 'Timer Per Player (seconds)', 'value' => (int) ($auction['timerPerPlayer'] ?? 180), 'helper' => 'Seconds allowed for bidding on each player.', 'readonly' => $readonly, ])
Anti-Snipe Rule
{{ $antiSnipeEnabled ? 'Enable' : 'Disable' }}

Extends or resets the timer when a late bid is placed.

@include('admin.leagues.rules._rules_field', [ 'name' => 'auction[antiSnipeExtensionSeconds]', 'id' => 'antiSnipeExtensionSeconds', 'label' => 'Anti-Snipe Reset Duration (seconds)', 'value' => (int) ($auction['antiSnipeExtensionSeconds'] ?? 15), 'helper' => 'Timer reset duration when anti-snipe is triggered.', 'readonly' => $readonly, ]) @include('admin.leagues.rules._rules_field', [ 'name' => 'auction[cooldownTimerSeconds]', 'id' => 'cooldownTimerSeconds', 'label' => 'Cooldown Between Lots (seconds)', 'value' => (int) ($auction['cooldownTimerSeconds'] ?? 120), 'helper' => 'Pause between lots after sold/unsold/withdrawn. Set 0 to disable.', 'readonly' => $readonly, ])
@include('admin.leagues.rules._rules_card_header', ['title' => 'Bid Increment Rules']) @include('admin.leagues.rules._rules_note_banner', [ 'text' => 'Note: Season 4 requires separated increment tiers. Do not use a flat rate.', ])
@include('admin.leagues.rules._rules_field', [ 'name' => 'auction[standardIncrementBelow100]', 'id' => 'standardIncrementBelow100', 'label' => 'Standard Increment Below 1000', 'value' => (int) ($auction['standardIncrementBelow100'] ?? 50), 'helper' => 'Standard bid step used for bids below 1000', 'readonly' => $readonly, ])
Increment At 1000 And Above
@foreach ($allowedValues as $index => $value) @include('admin.leagues.rules._rules_field', [ 'name' => 'auction[allowedIncrementsAbove101][' . $index . ']', 'id' => 'allowedIncrementsAbove101' . $index, 'label' => 'Option ' . ($index + 1), 'value' => (int) $value, 'helper' => $index === 2 ? 'Enter three bid step values used for bids at 1000 and above.' : null, 'readonly' => $readonly, ]) @endforeach
@php $closingEnabled = (bool) ($auction['categoryClosingEnabled'] ?? true); @endphp

Category Closing Price Rule

@include('admin.leagues.rules._rules_toggle_compact', [ 'name' => 'auction[categoryClosingEnabled]', 'id' => 'categoryClosingEnabled', 'enabled' => $closingEnabled, 'readonly' => $readonly, ])

When enabled, the last male and last female player in each category are sold automatically at the calculated average price.

@include('admin.leagues.rules._rules_info_panel', [ 'rows' => [ [ 'label' => 'Applies To', 'value' => 'Last male and last female player in each category', ], [ 'label' => 'Closing Price Formula', 'value' => 'Average of prior sales in the same category + same gender', 'class' => 'is-formula', ], [ 'label' => 'Manual Bidding For Closing Players', 'value' => 'Disabled', 'class' => 'is-disabled', ], ], ])