app/Plugin/CustomerRank42/Resource/template/admin/Customer/customer_index.js line 1

Open in your IDE?
  1. <script>
  2.     $(function() {
  3.         $elem = $('#search_customer_rank');
  4.         $('#searchDetail').prepend($elem.html());
  5.         $elem.remove();
  6.         $('table tr').each(function(i) {
  7.             if (i != 0) {
  8.                 $elem = $('#c' + i);
  9.                 if($elem.length !== 0){
  10.                     $('td:eq(1)', this).after('<td class="align-middle">'+ $elem.text() +'</td>');
  11.                     $elem.remove();
  12.                 }
  13.             } else {
  14.                 $elem = $('#customer_rank_header');
  15.                 if($elem.length !== 0){
  16.                     $('th:eq(1)', this).after('<th class="border-top-0 pt-2 pb-3">' + $elem.text() + '</th>');
  17.                     $elem.remove();
  18.                 }
  19.             }
  20.         });
  21.     });
  22. </script>