<?php if($paginator->hasPages()): ?>
<div class="pg no-print">
  <?php if($paginator->onFirstPage()): ?><span class="off">‹ Prev</span><?php else: ?><a href="<?php echo e($paginator->previousPageUrl()); ?>">‹ Prev</a><?php endif; ?>
  <?php $__currentLoopData = $elements; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $el): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
    <?php if(is_string($el)): ?><span class="off"><?php echo e($el); ?></span><?php endif; ?>
    <?php if(is_array($el)): ?> <?php $__currentLoopData = $el; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $p => $u): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
      <?php if($p == $paginator->currentPage()): ?><span class="on"><?php echo e($p); ?></span><?php else: ?><a href="<?php echo e($u); ?>"><?php echo e($p); ?></a><?php endif; ?>
    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php endif; ?>
  <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
  <?php if($paginator->hasMorePages()): ?><a href="<?php echo e($paginator->nextPageUrl()); ?>">Next ›</a><?php else: ?><span class="off">Next ›</span><?php endif; ?>
  <span class="off"><?php echo e($paginator->total()); ?> records</span>
</div>
<?php endif; ?>
<?php /**PATH /home/user/nowills-sqc-erp/resources/views/partials/pagination.blade.php ENDPATH**/ ?>