Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

7 месяцев назад
7 месяцев назад
7 месяцев назад
7 месяцев назад
7 месяцев назад
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <h2><%= H(Model.Title & " " & Model.Kit.Jurisdiction) %></h2>
  2. <%= HTML.Hidden("nonce", HTMLSecurity.GetAntiCSRFToken("KitEditForm")) %>
  3. <%= HTML.Hidden("Id", Model.Kit.ID) %>
  4. <div class="row">
  5. <div class="col-md-6">
  6. <h2>Job Number: <%= Model.Kit.JobNumber %></h2>
  7. <p><strong>Jurisdiction:</strong> <%= Model.Kit.Jurisdiction %></p>
  8. <p><strong>Label Count:</strong> <%= Model.Kit.LabelCount %></p>
  9. <p><strong>Created On:</strong> <%= Model.Kit.CreatedOn %></p>
  10. <p><strong>Labels Printed On :</strong> <%= Model.Kit.LabelsPrinted %></p>
  11. <p><strong>Exported to SnailWorks On:</strong> <%= Model.Kit.ExportedToSnailWorks %></p>
  12. <button class="btn btn-primary" id="toggleChild">Show Label Records</button>
  13. </div>
  14. </div>
  15. <div class="row">
  16. <div class="col-md-4">
  17. <table id="KitLabels" class="table table-striped child-records" style="display:none">
  18. <thead>
  19. <tr>
  20. <th></th>
  21. <th style="text-align: left">ID</th>
  22. <th style="text-align: left">Set Number</th>
  23. <th style="text-align: left">KitId</th>
  24. <th style="text-align: left">OutboundSerial</th>
  25. <th style="text-align: left">InBoundSerial</th>
  26. <th style="text-align: left">Outbound Font Encoded</th>
  27. <th style="text-align: left">InBound Font Encoded</th>
  28. <th style="text-align: left">OutboundIMBDigits</th>
  29. <th style="text-align: left">InBoundIMBDigits</th>
  30. <th style="text-align: left">OutboundIMB</th>
  31. <th style="text-align: left">InBoundIMB</th>
  32. <th></th>
  33. </tr>
  34. </thead>
  35. <tbody>
  36. <% dim it : set it = Model.Labels.Iterator %>
  37. <% dim KitLabels %>
  38. <% While it.HasNext %>
  39. <% set KitLabels = it.GetNext() %>
  40. <tr>
  41. <td>
  42. <%= HTML.LinkToExt("<i class='bi bi-search'></i>", "KitLabels", "Edit", Array("Id", KitLabels.ID), Array("class", "btn btn-primary")) %>
  43. </td>
  44. <td><% = H(KitLabels.ID) %></td>
  45. <td><% = H(KitLabels.SetNumber) %></td>
  46. <td><% = H(KitLabels.KitId) %></td>
  47. <td><% = H(KitLabels.OutboundSerial) %></td>
  48. <td><% = H(KitLabels.InBoundSerial) %></td>
  49. <td><% = H(KitLabels.OutboundIMB) %></td>
  50. <td><% = H(KitLabels.InBoundIMB) %></td>
  51. <td><% = H(KitLabels.OutboundIMBDigits) %></td>
  52. <td><% = H(KitLabels.InBoundIMBDigits) %></td>
  53. <td><img src='data:image/png;base64, <% = KitLabels.OutboundIMBPNG%>' alt='Barcode'</td>
  54. <td><img src='data:image/png;base64, <% = KitLabels.INBOUNDIMBPNG %>' alt='Barcode'</td>
  55. </tr>
  56. <% Wend %>
  57. </tbody>
  58. </table>
  59. </div>
  60. </div>
  61. <script>
  62. document.getElementById('toggleChild').addEventListener('click', function() {
  63. var childRecords = document.querySelector('.child-records');
  64. if (childRecords.style.display === 'none') {
  65. childRecords.style.display = 'block';
  66. this.textContent = 'Hide Label Records';
  67. } else {
  68. childRecords.style.display = 'none';
  69. this.textContent = 'Show Label Records';
  70. }
  71. });
  72. </script>

Powered by TurnKey Linux.