pick2light_picks.tpl 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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. <div class="alert alert-success mt-3 text-center" role="alert">
  58. Picking list terminata.
  59. </div>
  60. </false>
  61. </check>
  62. </div>