
	<!-- 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: <?php echo e(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="<?php echo e(route('switch')); ?>" method="post">
                        <?php echo csrf_field(); ?>
                        <!-- Field wrapper start -->
                    <div class="field-wrapper">
                        <select class="select-single js-states" title="Select Term" data-live-search="true" name="branch">
                        <option selected><?php echo e(auth()->user()->branch); ?></option>
                        <?php if(!empty($multi_branch)): ?>
                        <?php $__currentLoopData = $multi_branch; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $multi_branch): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <option><?php echo e($multi_branch); ?></option>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        <?php 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 -->
<?php /**PATH /home2/morttacy/morttsonsposfiles/resources/views/modal/switch-branch.blade.php ENDPATH**/ ?>