cef4bb799cc1919b7f94dfc5cd2504da3636144d.php 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. <div class="aiz-sidebar-wrap">
  2. <div class="aiz-sidebar left c-scrollbar">
  3. <div class="aiz-side-nav-avatar_original-wrap">
  4. <div class="d-block text-center my-3">
  5. <?php if(Auth::user()->avatar_original != null): ?>
  6. <img class="mw-100 mb-3" src="<?php echo e(uploaded_asset(Auth::user()->avatar_original)); ?>" onerror="this.onerror=null;this.src='<?php echo e(static_asset('assets/img/avatar-place.png')); ?>';">
  7. <?php else: ?>
  8. <img class="mw-100 mb-3" src="<?php echo e(static_asset('assets/img/avatar-place.png')); ?>" class="image rounded-circle" onerror="this.onerror=null;this.src='<?php echo e(static_asset('assets/img/avatar-place.png')); ?>';">
  9. <?php endif; ?>
  10. <h3 class="fs-16 m-0 text-primary"><?php echo e(Auth::user()->name); ?></h3>
  11. <p class="text-primary"><?php echo e(Auth::user()->email); ?></p>
  12. </div>
  13. </div>
  14. <div class="aiz-side-nav-wrap">
  15. <ul class="aiz-side-nav-list" id="main-menu" data-toggle="aiz-side-menu">
  16. <li class="aiz-side-nav-item">
  17. <a href="<?php echo e(route('dashboard')); ?>" class="aiz-side-nav-link <?php echo e(areActiveRoutes(['dashboard'])); ?>">
  18. <i class="las la-money-bill aiz-side-nav-icon"></i>
  19. <span class="aiz-side-nav-text"><?php echo e(translate('Invitation link')); ?></span>
  20. </a>
  21. </li>
  22. <li class="aiz-side-nav-item">
  23. <a href="<?php echo e(route('salesman.sellers_index')); ?>" class="aiz-side-nav-link <?php echo e(areActiveRoutes(['salesman.sellers_index', 'shops.create'])); ?>">
  24. <i class="las la-money-bill aiz-side-nav-icon"></i>
  25. <span class="aiz-side-nav-text"><?php echo e(translate('Seller')); ?></span>
  26. </a>
  27. </li>
  28. <li class="aiz-side-nav-item">
  29. <a href="<?php echo e(route('salesman.orders.index')); ?>"
  30. class="aiz-side-nav-link <?php echo e(areActiveRoutes(['salesman.orders.index', 'salesman.orders.show'])); ?>">
  31. <i class="las la-money-bill aiz-side-nav-icon"></i>
  32. <span class="aiz-side-nav-text"><?php echo e(translate('Orders')); ?></span> </a>
  33. </li>
  34. <!-- POS Addon-->
  35. <!--<?php if(addon_is_activated('pos_system')): ?>-->
  36. <!-- <?php if(get_setting('pos_activation_for_seller') != null && get_setting('pos_activation_for_seller') != 0): ?>-->
  37. <!-- <li class="aiz-side-nav-item">-->
  38. <!-- <a href="#" class="aiz-side-nav-link">-->
  39. <!-- <i class="las la-tasks aiz-side-nav-icon"></i>-->
  40. <!-- <span class="aiz-side-nav-text"><?php echo e(translate('POS System')); ?></span>-->
  41. <!-- <?php if(env("DEMO_MODE") == "On"): ?>-->
  42. <!-- <span class="badge badge-inline badge-danger">Addon</span>-->
  43. <!-- <?php endif; ?>-->
  44. <!-- <span class="aiz-side-nav-arrow"></span>-->
  45. <!-- </a>-->
  46. <!-- <ul class="aiz-side-nav-list level-2">-->
  47. <!-- <li class="aiz-side-nav-item">-->
  48. <!-- <a href="<?php echo e(route('salesman.poin-of-sales.index')); ?>" class="aiz-side-nav-link <?php echo e(areActiveRoutes(['salesman.poin-of-sales.index', 'salesman.poin-of-sales.create'])); ?>">-->
  49. <!-- <span class="aiz-side-nav-text"><?php echo e(translate('POS Manager')); ?></span>-->
  50. <!-- </a>-->
  51. <!-- </li>-->
  52. <!-- </ul>-->
  53. <!-- </li>-->
  54. <!-- <?php endif; ?>-->
  55. <!--<?php endif; ?>-->
  56. <!-- Offline Payment Addon-->
  57. <?php if(addon_is_activated('offline_payment')): ?>
  58. <?php if(Auth::user()->user_type == 'salesman'): ?>
  59. <li class="aiz-side-nav-item">
  60. <a href="#" class="aiz-side-nav-link">
  61. <i class="las la-money-check-alt aiz-side-nav-icon"></i>
  62. <span class="aiz-side-nav-text"><?php echo e(translate('Offline Payment System')); ?></span>
  63. <span class="aiz-side-nav-arrow"></span>
  64. </a>
  65. <ul class="aiz-side-nav-list level-2">
  66. <li class="aiz-side-nav-item">
  67. <a href="<?php echo e(route('salesman.offline_wallet_recharge_request.index')); ?>" class="aiz-side-nav-link <?php echo e(areActiveRoutes(['salesman.offline_wallet_recharge_request.index'])); ?>">
  68. <span class="aiz-side-nav-text"><?php echo e(translate('Offline Wallet Recharge')); ?></span>
  69. </a>
  70. </li>
  71. <?php if(addon_is_activated('seller_subscription')): ?>
  72. <li class="aiz-side-nav-item">
  73. <a href="<?php echo e(route('salesman.offline_seller_package_payment_request.index')); ?>" class="aiz-side-nav-link <?php echo e(areActiveRoutes(['salesman.offline_seller_package_payment_request.index'])); ?>">
  74. <span class="aiz-side-nav-text"><?php echo e(translate('Offline Seller Package Payments')); ?></span>
  75. <?php if(env("DEMO_MODE") == "On"): ?>
  76. <span class="badge badge-inline badge-danger">Addon</span>
  77. <?php endif; ?>
  78. </a>
  79. </li>
  80. <?php endif; ?>
  81. </ul>
  82. </li>
  83. <?php endif; ?>
  84. <?php endif; ?>
  85. <li class="aiz-side-nav-item">
  86. <a href="<?php echo e(route('salesman.customers.index')); ?>" class="aiz-side-nav-link <?php echo e(areActiveRoutes(['salesman.customers.index', 'salesman.customers.create'])); ?>">
  87. <i class="las la-user-friends aiz-side-nav-icon"></i>
  88. <span class="aiz-side-nav-text"><?php echo e(translate('Customers')); ?></span>
  89. </a>
  90. </li>
  91. <li class="aiz-side-nav-item">
  92. <a href="<?php echo e(route('salesman.withdraw_requests_all')); ?>" class="aiz-side-nav-link <?php echo e(areActiveRoutes(['salesman.sellers.payment_histories', 'salesman.withdraw_requests_all'])); ?>">
  93. <i class="las la-user-friends aiz-side-nav-icon"></i>
  94. <span class="aiz-side-nav-text"><?php echo e(translate('Payout Requests')); ?></span>
  95. </a>
  96. </li>
  97. </ul><!-- .aiz-side-nav -->
  98. </div><!-- .aiz-side-nav-wrap -->
  99. </div><!-- .aiz-sidebar -->
  100. <div class="aiz-sidebar-overlay"></div>
  101. </div><!-- .aiz-sidebar -->
  102. <script type="text/javascript">
  103. function getConversations(){
  104. $.ajax({
  105. type:"get",
  106. url:'<?php echo e(route('seller.conversations.message_count')); ?>',
  107. success: function(data){
  108. if(data.result > 0){
  109. $('#conversations').show();
  110. }else{
  111. $('#conversations').hide();
  112. }
  113. }
  114. });
  115. }
  116. // setInterval(function (){
  117. // getConversations()
  118. // },1000)
  119. </script>
  120. <?php /**PATH /www/wwwroot/www.easybuyjp.shop/resources/views/salesman/inc/salesman_sidenav.blade.php ENDPATH**/ ?>