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.

SwitchBoardPurpleEnvelopeEdit.asp 4.8KB

il y a 7 mois
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  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. <% IF Model.Kit.Status = "Ready To Assign STIDS" THEN %>
  13. <p><strong>Select Outbound STID:</strong></p>
  14. <%= HTML.FormTag("Kit","SwitchBoardPurpleEnvelopeEditPost",empty,empty) %>
  15. <%= HTML.Hidden("nonce", HTMLSecurity.GetAntiCSRFToken("KitEditForm")) %>
  16. <%= HTML.Hidden("Id", Model.Kit.ID) %>
  17. <%= HTML.DropDownListExt("OutboundSTID","hmm",Model.StidDropDown,"STID","OPTION",Array("Class","form-select")) %>
  18. <p></p>
  19. <%= HTML.Checkbox("InBoundTracking",0) %> Inbound Tracking
  20. <p></p>
  21. <%= HTML.Button("submit", "<i class='glyphicon glyphicon-ok'></i> Save", "btn-primary") %>
  22. </form>
  23. <p></p>
  24. <% END IF %>
  25. <button class="btn btn-primary" id="toggleChild">Show Label Records</button>
  26. </div>
  27. </div>
  28. <div class="row">
  29. <div class="col-md-4">
  30. <table id="KitLabels" class="table table-striped child-records" style="display:none">
  31. <thead>
  32. <tr>
  33. <th></th>
  34. <th style="text-align: left">ID</th>
  35. <th style="text-align: left">KitID</th>
  36. <th style="text-align: left">KitLabelID</th>
  37. <th style="text-align: left">VOTERID</th>
  38. <th style="text-align: left">LASTNAME</th>
  39. <th style="text-align: left">FIRSTNAME</th>
  40. <th style="text-align: left">MIDDLENAME</th>
  41. <th style="text-align: left">SUFFIX</th>
  42. <th style="text-align: left">PRECINCT</th>
  43. <th style="text-align: left">ADDRESS1</th>
  44. <th style="text-align: left">ADDRESS2</th>
  45. <th style="text-align: left">ADDRESS3</th>
  46. <th style="text-align: left">ADDRESS4</th>
  47. <th style="text-align: left">ADDRESS5</th>
  48. <th style="text-align: left">APPSENT</th>
  49. <th style="text-align: left">APPRETURNED</th>
  50. <th style="text-align: left">BALSENT</th>
  51. <th style="text-align: left">BALRETURNED</th>
  52. <th style="text-align: left">CountingBoard</th>
  53. <th style="text-align: left">UOCAVASTATUS</th>
  54. <th style="text-align: left">EMAILADDRESS</th>
  55. <th style="text-align: left">PHONENUMBER</th>
  56. <th style="text-align: left">BALLOT_NUMBER</th>
  57. <th style="text-align: left">CassADDRESS1</th>
  58. <th style="text-align: left">CassADDRESS2</th>
  59. <th style="text-align: left">CassADDRESS3</th>
  60. <th style="text-align: left">CassADDRESS4</th>
  61. <th style="text-align: left">CassADDRESS5</th>
  62. <th></th>
  63. </tr>
  64. </thead>
  65. <tbody>
  66. <% dim it : set it = Model.Labels.Iterator %>
  67. <% dim KitLabels %>
  68. <% While it.HasNext %>
  69. <% set KitLabels = it.GetNext() %>
  70. <tr>
  71. <td>
  72. <%= HTML.LinkToExt("<i class='bi bi-search'></i>", "InkjetRecords", "Edit", Array("Id", KitLabels.ID), Array("class", "btn btn-primary")) %>
  73. </td>
  74. <td><% = H(KitLabels.ID) %></td>
  75. <td><% = H(KitLabels.KitId) %></td>
  76. <td><% = H(KitLabels.KitLabelID) %></td>
  77. <td><% = H(KitLabels.VOTERID) %></td>
  78. <td><% = H(KitLabels.LASTNAME) %></td>
  79. <td><% = H(KitLabels.FIRSTNAME) %></td>
  80. <td><% = H(KitLabels.MIDDLENAME) %></td>
  81. <td><% = H(KitLabels.SUFFIX) %></td>
  82. <td><% = H(KitLabels.PRECINCT) %></td>
  83. <td><% = H(KitLabels.ADDRESS1) %></td>
  84. <td><% = H(KitLabels.ADDRESS2) %></td>
  85. <td><% = H(KitLabels.ADDRESS3) %></td>
  86. <td><% = H(KitLabels.ADDRESS4) %></td>
  87. <td><% = H(KitLabels.ADDRESS5) %></td>
  88. <td><% = H(KitLabels.APPSENT) %></td>
  89. <td><% = H(KitLabels.APPRETURNED) %></td>
  90. <td><% = H(KitLabels.BALSENT) %></td>
  91. <td><% = H(KitLabels.BALRETURNED) %></td>
  92. <td><% = H(KitLabels.CountingBoard) %></td>
  93. <td><% = H(KitLabels.UOCAVASTATUS) %></td>
  94. <td><% = H(KitLabels.EMAILADDRESS) %></td>
  95. <td><% = H(KitLabels.PHONENUMBER) %></td>
  96. <td><% = H(KitLabels.BALLOT_NUMBER) %></td>
  97. <td><% = H(KitLabels.CassADDRESS1) %></td>
  98. <td><% = H(KitLabels.CassADDRESS2) %></td>
  99. <td><% = H(KitLabels.CassADDRESS3) %></td>
  100. <td><% = H(KitLabels.CassADDRESS4) %></td>
  101. <td><% = H(KitLabels.CassADDRESS5) %></td>
  102. </tr>
  103. <% Wend %>
  104. </tbody>
  105. </table>
  106. </div>
  107. </div>
  108. <script>
  109. document.getElementById('toggleChild').addEventListener('click', function() {
  110. var childRecords = document.querySelector('.child-records');
  111. if (childRecords.style.display === 'none') {
  112. childRecords.style.display = 'block';
  113. this.textContent = 'Hide Label Records';
  114. } else {
  115. childRecords.style.display = 'none';
  116. this.textContent = 'Show Label Records';
  117. }
  118. });
  119. </script>

Powered by TurnKey Linux.