pick2light_picks.tpl 4.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. <div class="col-md-8 align-self-center">
  2. <div class="alert alert-warning mt-3 text-center" role="alert">
  3. PICKING ATTIVO!!
  4. </div>
  5. <form class="form" method="post" action="{{@BASEURL}}/pick2light/{{@STEP}}">
  6. <input type="submit" hidden id="submitform"/>
  7. <check if="{{ isset(@ANOMALIA) }}">
  8. <input type="hidden" hidden name="anomalia" value="1"/>
  9. </check>
  10. <input type="text" name="pickedlabelid" autofocus class="form-control form-control-lg mb-3" placeholder="Prodotto" required autocomplete="false"/>
  11. </form>
  12. <check if="{{ isset(@ANOMALIA) }}">
  13. <div class="alert alert-light mt-3 text-center" role="alert">
  14. {{@ANOMALIA}}
  15. </div>
  16. </check>
  17. <check if="{{ isset(@INFOTEXT) }}">
  18. <div class="alert alert-danger mt-3 text-center" role="alert">
  19. {{@INFOTEXT}}
  20. </div>
  21. </check>
  22. <check if="{{ count(@PRODUCTS) }}">
  23. <true>
  24. <div class="table-responsive" style="max-height: 400px; overflow-y: auto">
  25. <table class="table table-striped table-dark">
  26. <thead>
  27. <tr>
  28. <th class="text-center text-uppercase" colspan="6" scope="col">Articoli da prelevare</th>
  29. </tr>
  30. </thead>
  31. <thead>
  32. <tr>
  33. <th scope="col">Barcode</th>
  34. <th scope="col">Descrizione</th>
  35. <th scope="col">Origine</th>
  36. <th scope="col">Ubicazione</th>
  37. <th scope="col">Quantità</th>
  38. <th scope="col">Sequenza</th>
  39. </tr>
  40. </thead>
  41. <tbody>
  42. <repeat group="{{ @PRODUCTS }}" value="{{ @PRODUCT }}">
  43. <tr>
  44. <th scope="row">{{@PRODUCT.barcode}}</th>
  45. <td>{{@PRODUCT.descrizione}}</td>
  46. <td>{{@PRODUCT.origine}}</td>
  47. <td>{{@PRODUCT.ubicazione}}</td>
  48. <td>{{@PRODUCT.qta_prelevare}}</td>
  49. <td>{{@PRODUCT.sequenza}}</td>
  50. </tr>
  51. </repeat>
  52. </tbody>
  53. </table>
  54. </div>
  55. </true>
  56. <false>
  57. <check if="{{ isset(@LISTANOMALIE) }}">
  58. <false>
  59. <div class="alert alert-success mt-3 text-center" role="alert">
  60. Picking list terminata.
  61. </div>
  62. </false>
  63. <true>
  64. <div class="table-responsive" style="max-height: 400px; overflow-y: auto">
  65. <table class="table table-striped table-dark">
  66. <thead>
  67. <tr>
  68. <th style="color: red" class="text-center text-uppercase" colspan="6" scope="col">Anomalie presenti</th>
  69. </tr>
  70. </thead>
  71. <thead>
  72. <tr>
  73. <th scope="col">Barcode</th>
  74. <th scope="col">Descrizione</th>
  75. <th scope="col">Quantità</th>
  76. </tr>
  77. </thead>
  78. <tbody>
  79. <repeat group="{{ @LISTANOMALIE }}" value="{{ @PRODUCT }}">
  80. <tr>
  81. <th scope="row">{{@PRODUCT.barcode}}</th>
  82. <td>{{@PRODUCT.descrizione}}</td>
  83. <td>{{@PRODUCT.qta_prelevare}}</td>
  84. </tr>
  85. </repeat>
  86. </tbody>
  87. </table>
  88. </div>
  89. </true>
  90. </check>
  91. </false>
  92. </check>
  93. </div>