pick2light_picks.tpl 3.3 KB

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