b9c83b0d7db7a4d5812dac2e10005ec8c3d4e496.php 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <?php $__env->startSection('panel_content'); ?>
  2. <div class="card">
  3. <form class="" id="sort_customers" action="" method="GET">
  4. <div class="card-header row gutters-5">
  5. <div class="col">
  6. <h5 class="mb-0 h6"><?php echo e(translate('Notifications')); ?></h5>
  7. </div>
  8. </div>
  9. <div class="card-body">
  10. <ul class="list-group list-group-flush">
  11. <?php $__empty_1 = true; $__currentLoopData = $notifications; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $notification): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
  12. <?php if($notification->type == 'App\Notifications\OrderNotification'): ?>
  13. <li class="list-group-item d-flex justify-content-between align-items- py-3">
  14. <div class="media text-inherit">
  15. <div class="media-body">
  16. <p class="mb-1 text-truncate-2">
  17. <?php echo e(translate('Your Order: ')); ?>
  18. <a href="<?php echo e(route('purchase_history.details', encrypt($notification->data['order_id']))); ?>">
  19. <?php echo e($notification->data['order_code']); ?>
  20. </a>
  21. <?php echo e(translate(' has been '. ucfirst(str_replace('_', ' ', $notification->data['status'])))); ?>
  22. </p>
  23. <small class="text-muted">
  24. <?php echo e(date("F j Y, g:i a", strtotime($notification->created_at))); ?>
  25. </small>
  26. </div>
  27. </div>
  28. </li>
  29. <?php endif; ?>
  30. <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
  31. <li class="list-group-item">
  32. <div class="py-4 text-center fs-16"><?php echo e(translate('No notification found')); ?></div>
  33. </li>
  34. <?php endif; ?>
  35. </ul>
  36. <?php echo e($notifications->links()); ?>
  37. </div>
  38. </form>
  39. </div>
  40. <?php $__env->stopSection(); ?>
  41. <?php $__env->startSection('modal'); ?>
  42. <?php echo $__env->make('modals.delete_modal', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
  43. <div class="modal fade" id="order_details" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
  44. <div class="modal-dialog modal-dialog-centered modal-xl" role="document">
  45. <div class="modal-content">
  46. <div id="order-details-modal-body">
  47. </div>
  48. </div>
  49. </div>
  50. </div>
  51. <div class="modal fade" id="payment_modal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
  52. <div class="modal-dialog modal-dialog-centered modal-lg" role="document">
  53. <div class="modal-content">
  54. <div id="payment_modal_body">
  55. </div>
  56. </div>
  57. </div>
  58. </div>
  59. <?php $__env->stopSection(); ?>
  60. <?php echo $__env->make('frontend.layouts.user_panel', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /www/wwwroot/www.easybuyjp.shop/resources/views/frontend/user/customer/notification/index.blade.php ENDPATH**/ ?>