<?php if(session('modal_error')): ?>
    <div class="mb-4 rounded-xl border border-rose-200 bg-rose-50 px-4 py-3 text-sm text-rose-800 dark:border-rose-500/30 dark:bg-rose-500/10 dark:text-rose-200" role="alert" data-pb-validation-errors data-pb-modal-error>
        <p class="font-medium"><?php echo e(__('Unable to save. Please review the form and try again.')); ?></p>
        <p class="mt-2"><?php echo e(session('modal_error')); ?></p>
    </div>
<?php endif; ?>

<?php if($errors->any()): ?>
    <div class="mb-4 rounded-xl border border-rose-200 bg-rose-50 px-4 py-3 text-sm text-rose-800 dark:border-rose-500/30 dark:bg-rose-500/10 dark:text-rose-200" role="alert" data-pb-validation-errors>
        <p class="font-medium"><?php echo e($title ?? __('Please correct the highlighted fields.')); ?></p>
        <ul class="mt-2 list-disc space-y-1 pl-5">
            <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <li><?php echo e($error); ?></li>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </ul>
    </div>
<?php endif; ?>
<?php /**PATH C:\xampp\htdocs\ispbilling\resources\views/partials/modal-validation-alert.blade.php ENDPATH**/ ?>