Edit File: 71763e4f564ad491d7ed0446187a8eadc23d1bd2.php
<div class="position-relative"> <div class="table_loader" > <?php echo e(__('admin.loading')); ?> </div> <table class="table " id="tab"> <thead> <tr> <th> <label class="container-checkbox"> <input type="checkbox" value="value1" name="name1" id="checkedAll"> <span class="checkmark"></span> </label> </th> <th><?php echo e(__('admin.date')); ?></th> <th><?php echo e(__('admin.coupon_number')); ?></th> <th><?php echo e(__('admin.discount_type')); ?></th> <th><?php echo e(__('admin.discount_value')); ?></th> <th><?php echo e(__('admin.start_date')); ?></th> <th><?php echo e(__('admin.expiry_date')); ?></th> <th><?php echo e(__('admin.control')); ?></th> </tr> </thead> <tbody> <?php $__currentLoopData = $coupons; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $coupon): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr class="delete_coupon"> <td class="text-center"> <label class="container-checkbox"> <input type="checkbox" class="checkSingle" id="<?php echo e($coupon->id); ?>"> <span class="checkmark"></span> </label> </td> <td><?php echo e(\Carbon\Carbon::parse($coupon->created_at)->format('d/m/Y')); ?></td> <td><?php echo e($coupon->coupon_num); ?></td> <td><?php echo e(__('admin.' . $coupon->type)); ?></td> <td><?php echo e($coupon->discount); ?></td> <td><?php echo e(date('d-m-Y', strtotime($coupon->start_date))); ?></td> <td><?php echo e(date('d-m-Y', strtotime($coupon->expire_date))); ?></td> <td class="product-action"> <span class="text-primary"><a href="<?php echo e(route('admin.coupons.show' , ['id' => $coupon->id])); ?>"><i class="feather icon-eye"></i></a></span> <span class="action-edit text-primary"><a href="<?php echo e(route('admin.coupons.edit' , ['id' => $coupon->id])); ?>"><i class="feather icon-edit"></i></a></span> <span class="delete-row text-danger" data-url="<?php echo e(url('admin/coupons/'.$coupon->id)); ?>"><i class="feather icon-trash"></i></span> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> <?php if($coupons->count() == 0): ?> <div class="d-flex flex-column w-100 align-center mt-4"> <img src="<?php echo e(asset('/storage/images/no_data.png')); ?>" width="200px" style="" alt=""> <span class="mt-2" style="font-family: cairo ;margin-right: 35px"><?php echo e(__('admin.there_are_no_matches_matching')); ?></span> </div> <?php endif; ?> </div> <?php if($coupons->count() > 0 && $coupons instanceof \Illuminate\Pagination\AbstractPaginator ): ?> <div class="d-flex justify-content-center mt-3"> <?php echo e($coupons->links()); ?> </div> <?php endif; ?> <?php /**PATH /home/thunderw/public_html/resources/views/admin/coupons/table.blade.php ENDPATH**/ ?>
Back to File Manager