pick2light.tpl 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <div class="row h-100 justify-content-center w-100">
  2. <div class="col-xs-12 col-md-9 col-lg-5 align-self-center">
  3. <form class="form" method="post" action="{{@BASEURL}}/pick2light/{{@NEXTSTEP}}">
  4. <check if="{{ isset(@INFOTEXT) }}">
  5. <div class="alert alert-danger" role="alert">
  6. {{@INFOTEXT}}
  7. </div>
  8. </check>
  9. <div class="alert alert-info" role="alert">
  10. Inizio ventilazione
  11. </div>
  12. <input type="submit" hidden id="submitform"/>
  13. {*Elenco commesse/ceste*}
  14. <check if="{{@PARAMS['step'] == 2 }}">
  15. <table class="table table-sm table-striped table-light">
  16. <thead class="bg-secondary">
  17. <tr>
  18. <th class="text-center text-uppercase text-white" scope="col">In attesa del completamento delle seguenti ceste</th>
  19. </tr>
  20. </thead>
  21. <tbody>
  22. <repeat group="{{ @COMMESSE }}" key="{{@key}}" value="{{ @COMMESSA }}">
  23. <tr>
  24. <td>{{@COMMESSA.commessa}}</td>
  25. </tr>
  26. </repeat>
  27. </tbody>
  28. </table>
  29. </check>
  30. {*Barcode prodotto*}
  31. <input type="text" name="barcode_mv" {{@PARAMS['step']==2 ? 'disabled' : ''}} {{@PARAMS['step']==1 ? 'autofocus' : ''}} value="{{@SESSION.barcode_mv}}" class="form-control form-control-lg mb-3" placeholder="Codice Prodotto del Magazzino Verticale." required autocomplete="false"/>
  32. {*Codice cesta per la quale mi aspetto che avvenga la ventilazione*}
  33. <check if="{{ @PARAMS['step'] == 2 }}">
  34. <input type="text" name="commessa" {{@PARAMS['step']==2 ? 'autofocus' : ''}} value="" class="form-control form-control-lg mb-3" placeholder="Codice Cesta" required autocomplete="false"/>
  35. </check>
  36. </form>
  37. </div>
  38. </div>
  39. <check if="{{@RESTART_VENTILAZIONE}}">
  40. <true>
  41. <script>
  42. setTimeout(() => {
  43. window.location.href = "{{@BASEURL}}/pick2light/1";
  44. }, 5000);
  45. </script>
  46. </true>
  47. </check>