
	<!-- Modal start -->
    <div class="modal fade" id="switchModal" tabindex="-1" aria-labelledby="exampleModalCenteredScrollableTitle" aria-hidden="true">
        <div class="modal-dialog modal-dialog-centered modal-dialog-scrollable">
            <div class="modal-content">
                <div class="modal-header">
                    <h5 class="modal-title" id="exampleModalCenteredScrollableTitle">CURRENT OUTLET: {{auth()->user()->branch}}</h5>
                    <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
                </div>
                <div class="modal-body">
                    <form action="{{route('switch')}}" method="post">
                        @csrf
                        <!-- Field wrapper start -->
                    <div class="field-wrapper">
                        <select class="select-single js-states" title="Select Term" data-live-search="true" name="branch">
                        <option selected>{{auth()->user()->branch}}</option>
                        @if(!empty($multi_branch))
                        @foreach($multi_branch as $multi_branch)
                                <option>{{$multi_branch}}</option>
                        @endforeach
                        @endif
                        </select>
                        <div class="field-placeholder">Station <span class="text-danger">*</span></div>
                        <small class="text-primary" style="margin-left:3px">Kindly switch outlet</small>
                    </div>
                    <!-- Field wrapper end -->

                    <div class="field-wrapper">
                      <button type="submit" class="btn btn-outline-primary">Switch</button>
                    </div>
                    </form>
                <div class="modal-footer">
                    <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
                    
                </div>
            </div>
        </div>
    </div>
    <!-- Modal end -->
