@if(\App\Support\VoucherPaymentMethods::appliesTo($voucherType))
<div class="col-12 col-sm-6 col-md-2">
    <label class="form-label fw-semibold" for="paymentMethod">Payment Method</label>
    <select name="payment_method" id="paymentMethod" class="form-select @error('payment_method') is-invalid @enderror">
        <option value="">Select method</option>
        @foreach($paymentMethods as $value => $label)
            <option value="{{ $value }}"
                {{ old('payment_method', $voucher->extra_data['payment_method'] ?? '') === $value ? 'selected' : '' }}>
                {{ $label }}
            </option>
        @endforeach
    </select>
    @error('payment_method')<div class="invalid-feedback">{{ $message }}</div>@enderror
</div>
@endif
