<?php if(session()->has('error')): ?>
    <div class="modal center-modal fade" id="modal-center" tabindex="-1">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <h5 class="modal-title">Error...</h5>
                    <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
                </div>
                <div class="modal-body">
                    <p><?php echo e(session()->get('error')); ?></p>
                </div>
                <div class="modal-footer modal-footer-uniform">
                    <button type="button" class="btn btn-primary float-end" data-bs-dismiss="modal">OK</button>
                </div>
            </div>
        </div>
    </div>
<?php elseif(session()->has('success')): ?>
    <div class="modal center-modal fade" id="modal-center" tabindex="-1">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <h5 class="modal-title">
                        <?php if(Route::is('user.transfer.preview')): ?>
                            Attention...
                        <?php elseif(Route::is('login.verification.index')): ?>
                            Attention...
                        <?php else: ?>
                            Success...
                        <?php endif; ?>
                    </h5>
                    <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
                </div>
                <div class="modal-body">
                    <p><?php echo e(session()->get('success')); ?></p>
                </div>
                <div class="modal-footer modal-footer-uniform">
                    <button type="button" class="btn btn-primary float-end" data-bs-dismiss="modal">OK</button>
                </div>
            </div>
        </div>
    </div>
<?php endif; ?>
<?php /**PATH C:\xampp\htdocs\projects\logistics-v3.1\resources\views\partials\theme_alert.blade.php ENDPATH**/ ?>