

<?php $__env->startSection('panel'); ?>
    <div class="row">
        <div class="col-lg-12">
            <div class="card b-radius--10 ">
                <div class="card-body p-0">
                    <div class="table-responsive--md  table-responsive">
                        <table class="table table--light style--two">
                          <thead>
                          <tr>
                              <th><?php echo app('translator')->get('S.N.'); ?></th>
                              <th><?php echo app('translator')->get('Lottery Name'); ?></th>
                              <th><?php echo app('translator')->get('Phase Number'); ?></th>
                              <th><?php echo app('translator')->get('Tickets'); ?></th>
                              <th><?php echo app('translator')->get('Price'); ?></th>
                              <th><?php echo app('translator')->get('Status'); ?></th>
                          </tr>
                          </thead>
                          <tbody>
                            <?php $__empty_1 = true; $__currentLoopData = $tickets; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $ticket): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                            <tr>
                              <th><?php echo e($tickets->firstItem() + $loop->index); ?></th>
                              <td><?php echo e(__($ticket->lottery->name)); ?></td>
                              <td><?php echo app('translator')->get('Phase'); ?> <?php echo e(__($ticket->phase->phase_number)); ?></td>
                              <td>
                                <?php echo e($ticket->ticket_number); ?>

                              </td>
                              <td>
                                <?php echo e(showAmount($ticket->total_price)); ?>

                              </td>
                              <td>
                                <?php
                                    echo $ticket->phase->DrawBadge;
                                ?>
                              </td>
                            </tr>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                            <tr>
                              <td colspan="100%" class="text-center"><?php echo e(__($emptyMessage)); ?></td>
                            </tr>
                              <?php endif; ?>
                          </tbody>
                      </table>
                  </div>
              </div>
              <?php if($tickets->hasPages()): ?>
              <div class="card-footer py-4">
                  <?php echo e(paginateLinks($tickets)); ?>

              </div>
              <?php endif; ?>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php $__env->startPush('breadcrumb-plugins'); ?>
   <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.search-form','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('search-form'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?>
<?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?>
<?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?>
<?php endif; ?>
<?php $__env->stopPush(); ?>

<?php echo $__env->make('admin.layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home2/wwwwebsitedevelo/public_html/lotto-fiesta.websitedevelopment.com.pk/core/resources/views/admin/users/tickets.blade.php ENDPATH**/ ?>