HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux ip-172-31-42-149 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 07:00:04 UTC 2025 aarch64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/vhost/disk-apps/agile-selling-orl/resources/views/matcheventzoneprices/form.blade.php
@csrf
<div class="card-body">
    <div class="form-row">
        <div class="form-group col-md-12">
            <label for="match_event_id">@lang('messages.event_prices.title_3')</label>
            <select class="form-control" id="match_event_id" name="match_event_id" disabled
                value="{{ $matchEventZonePrice->match_event_id ?? old('match_event_id') }}">
                <option value="{{ $event->id }}"
                    {{ isset($matchEventZonePrice) && $event->match_event_id == $event->id ? 'selected' : '' }}>
                    {{ $event->name }}
                </option>
            </select>
        </div>
        <div class="form-group col-md-12">
            <label for="zone_id">@lang('messages.event_prices.title_4')</label>
            <select class="form-control" id="zone_id" name="zone_id"
                value="{{ $matchEventZonePrice->zone_id ?? old('zone_id') }}">
                <option value="0" disabled {{isset($matchEventZonePrice) ? '' : 'selected'}}>
                    @lang('messages.select')
                </option>
                @foreach ($zones as $zone)
                <option value="{{ $zone->id }}"
                    {{ isset($matchEventZonePrice) && $matchEventZonePrice->zone_id == $zone->id ? 'selected' : '' }}>
                    {{ $zone->zone->name }} - {{ $zone->name }}
                </option>
                @endforeach
            </select>
        </div>
        <div class="form-group col-md-12">
            <label for="price" class="ul-form__label">@lang('messages.event_prices.title_5'):</label>
            <input type="number" class="form-control" id="price" name="price" placeholder=""
                value="{{ $matchEventZonePrice->price ?? old('price') }}" required>
        </div>
        <div class="form-group col-md-12">
            <label for="price_suscription" class="ul-form__label">@lang('messages.event_prices.title_6'):</label>
            <input type="number" class="form-control" id="price_suscription" name="price_suscription" placeholder=""
                value="{{ $matchEventZonePrice->price_suscription ?? old('price_suscription') }}" required>
        </div>
    </div>
</div>