<div class="row">
    <div class="col col-sm-auto">
        <select name="service_tab" id="serviceTab" class="form-select">
            <option value="{{ route('service.financial.exchange') }}" @if($menuID == 'exchange') selected @endif>환율</option>
            <option value="{{ route('service.financial.interest') }}" @if($menuID == 'interest') selected @endif>대출 금리</option>
            <option value="{{ route('service.financial.international') }}" @if($menuID == 'international') selected @endif>국제 금리</option>
            <option value="{{ route('service.price.flower') }}" @if($menuID == 'flower') selected @endif>화훼 시세</option>
            <option value="{{ route('service.anniversary') }}" @if($menuID == 'anniversary') selected @endif>공휴일/특일</option>
            <option value="{{ route('service.fifa') }}" @if($menuID == 'fifa') selected @endif>FIFA 순위</option>
            <option value="{{ route('service.lotto') }}" @if($menuID == 'lotto') selected @endif>로또 당첨번호</option>
        </select>
    </div>
</div>
<br/>
<script>
document.getElementById("serviceTab").addEventListener('change', function (e) {
    location.href = e.target.value;
});
</script>
