Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

75 lignes
3.2KB

  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. <%= HTML.LinkToExt("Download SnailWorks File","Kit", "DownloadTrackingkitSnailWorks", Array("Id",Model.Kit.ID,"_P","1"),Array("class","btn btn-primary")) %>
  13. <%= HTML.LinkToExt("Download PDF File To Print","Kit", "DownloadTrackingkitSnailWorksPDF", Array("Id",Model.Kit.ID,"_P","1"),Array("class","btn btn-primary")) %>
  14. <button class="btn btn-primary" id="toggleChild">Show Label Records</button>
  15. </div>
  16. </div>
  17. <div class="row">
  18. <div class="col-md-4">
  19. <table id="KitLabels" class="table table-striped child-records" style="display:none">
  20. <thead>
  21. <tr>
  22. <th></th>
  23. <th style="text-align: left">ID</th>
  24. <th style="text-align: left">Set Number</th>
  25. <th style="text-align: left">KitId</th>
  26. <th style="text-align: left">OutboundSerial</th>
  27. <th style="text-align: left">InBoundSerial</th>
  28. <th style="text-align: left">Outbound Font Encoded</th>
  29. <th style="text-align: left">InBound Font Encoded</th>
  30. <th style="text-align: left">OutboundIMBDigits</th>
  31. <th style="text-align: left">InBoundIMBDigits</th>
  32. <th style="text-align: left">OutboundIMB</th>
  33. <th style="text-align: left">InBoundIMB</th>
  34. <th></th>
  35. </tr>
  36. </thead>
  37. <tbody>
  38. <% dim it : set it = Model.Labels.Iterator %>
  39. <% dim KitLabels %>
  40. <% While it.HasNext %>
  41. <% set KitLabels = it.GetNext() %>
  42. <tr>
  43. <td>
  44. <%= HTML.LinkToExt("<i class='bi bi-search'></i>", "KitLabels", "Edit", Array("Id", KitLabels.ID), Array("class", "btn btn-primary")) %>
  45. </td>
  46. <td><% = H(KitLabels.ID) %></td>
  47. <td><% = H(KitLabels.SetNumber) %></td>
  48. <td><% = H(KitLabels.KitId) %></td>
  49. <td><% = H(KitLabels.OutboundSerial) %></td>
  50. <td><% = H(KitLabels.InBoundSerial) %></td>
  51. <td><% = H(KitLabels.OutboundIMB) %></td>
  52. <td><% = H(KitLabels.InBoundIMB) %></td>
  53. <td><% = H(KitLabels.OutboundIMBDigits) %></td>
  54. <td><% = H(KitLabels.InBoundIMBDigits) %></td>
  55. <td><img src='data:image/png;base64, <% = KitLabels.OutboundIMBPNG%>' alt='Barcode'</td>
  56. <td><img src='data:image/png;base64, <% = KitLabels.INBOUNDIMBPNG %>' alt='Barcode'</td>
  57. </tr>
  58. <% Wend %>
  59. </tbody>
  60. </table>
  61. </div>
  62. </div>
  63. <script>
  64. document.getElementById('toggleChild').addEventListener('click', function() {
  65. var childRecords = document.querySelector('.child-records');
  66. if (childRecords.style.display === 'none') {
  67. childRecords.style.display = 'block';
  68. this.textContent = 'Hide Label Records';
  69. } else {
  70. childRecords.style.display = 'none';
  71. this.textContent = 'Show Label Records';
  72. }
  73. });
  74. </script>

Powered by TurnKey Linux.