<?php
    /** @var \Illuminate\Contracts\Pagination\LengthAwarePaginator $paginator */
    $p = $paginator;
?>
<?php if($p->hasPages()): ?>
    <div class="pagination-bar">
        <span class="pagination-meta"><?php echo e(__('clinic.page_info', ['current' => $p->currentPage(), 'last' => $p->lastPage()])); ?></span>
        <div class="pagination-nav">
            <?php if($p->onFirstPage()): ?>
                <span class="btn btn-ghost btn-sm" style="opacity:0.45;pointer-events:none"><?php echo e(__('clinic.previous')); ?></span>
            <?php else: ?>
                <a href="<?php echo e($p->previousPageUrl()); ?>" class="btn btn-ghost btn-sm"><?php echo e(__('clinic.previous')); ?></a>
            <?php endif; ?>
            <?php if($p->hasMorePages()): ?>
                <a href="<?php echo e($p->nextPageUrl()); ?>" class="btn btn-ghost btn-sm"><?php echo e(__('clinic.next')); ?></a>
            <?php else: ?>
                <span class="btn btn-ghost btn-sm" style="opacity:0.45;pointer-events:none"><?php echo e(__('clinic.next')); ?></span>
            <?php endif; ?>
        </div>
    </div>
<?php endif; ?>
<?php /**PATH C:\laragon\www\clinic-system\resources\views/partials/pagination.blade.php ENDPATH**/ ?>