관리-도구
편집 파일: bc2c2c91221205cafee3f6b63faf1eca.php
<div class="table-responsive"> <table id="datatable" class="table table-hover table-borderless table-nowrap align-middle card-table w-100"> <thead class="thead-light thead-50 text-capitalize"> <tr> <th><?php echo e(translate('SL')); ?></th> <th><?php echo e(translate('customer_Name')); ?></th> <th><?php echo e(translate('contact_Info')); ?></th> <th><?php echo e(translate('subject')); ?></th> <th><?php echo e(translate('time_&_Date')); ?></th> <th class="text-center"><?php echo e(translate('reply_status')); ?></th> <th class="text-center"><?php echo e(translate('action')); ?></th> </tr> </thead> <tbody> <?php $__currentLoopData = $contacts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $contact): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td><?php echo e($contacts->firstItem()+$key); ?></td> <td><?php echo e($contact['name']); ?></td> <td> <div> <div><?php echo e($contact['mobile_number']); ?></div> <div><?php echo e($contact['email']); ?></div> </div> </td> <td class="text-wrap"><?php echo e($contact['subject']); ?></td> <td class="text-wrap" title="<?php echo e(date('d M,Y h:i A',strtotime($contact['created_at']))); ?>" data-bs-toggle="tooltip" data-custom-class="darker-tooltip"> <div class="line--limit-2 max-w-200"> <?php echo e(date('d M,Y h:i A',strtotime($contact['created_at']))); ?> </div> </td> <td class="text-center"> <?php if(empty($contact['reply'])): ?> <span class="badge badge-info text-bg-info"><?php echo e(translate('No')); ?> <i class="fi fi-rr-check"></i></span> <?php else: ?> <span class="badge text-bg-success badge-success"><?php echo e(translate('Yes')); ?> <i class="fi fi-rr-check"></i></span> <?php endif; ?> </td> <td> <div class="d-flex gap-10 justify-content-center"> <a title="<?php echo e(translate('view')); ?>" class="btn btn-outline-info icon-btn" href="<?php echo e(route('admin.contact.view',$contact->id)); ?>"> <i class="fi fi-rr-eye"></i> </a> <a class="btn btn-outline-danger icon-btn delete delete-data-without-form" data-id="<?php echo e($contact['id']); ?>" data-action="<?php echo e(route('admin.contact.delete')); ?>" title="<?php echo e(translate('delete')); ?>"> <i class="fi fi-rr-trash"></i> </a> </div> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> <div class="table-responsive mt-4"> <div class="px-4 d-flex justify-content-lg-end"> <?php echo e($contacts->links()); ?> </div> </div> <?php if(count($contacts)==0): ?> <div class="text-center p-4"> <img class="mb-3 w-160" src="<?php echo e(dynamicAsset(path: 'public/assets/back-end/svg/illustrations/sorry.svg')); ?>" alt="<?php echo e(translate('image_description')); ?>"> <p class="mb-0"><?php echo e(translate('no_data_to_show')); ?></p> </div> <?php endif; ?> <?php /**PATH /home2/slnssare/public_html/resources/views/admin-views/contacts/_table.blade.php ENDPATH**/ ?>