pick2light.tpl 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <div class="row h-100 justify-content-center w-100">
  2. <div class="col-md-4 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="Cod.Art.MAV" 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 class="col-md-8">
  39. <div class="table-responsive">
  40. <table class="table table-striped table-secondary" style="font-size: 10pt;">
  41. <thead>
  42. <tr style="font-size: 12pt" class="bg-warning">
  43. <th class="text-center text-uppercase" colspan="6" scope="col">Articoli da ventilare
  44. <a class="requestconfirm" href="{{@BASEURL}}/pick2light/3"><img class="float-right" src="{{@BASEURL}}/ui/images/delete.png"/></a>
  45. </th>
  46. </tr>
  47. <tr style="font-size: 12pt" class="bg-warning">
  48. <th scope="col">UDS</th>
  49. <th scope="col">Articoli</th>
  50. <th scope="col">Descrizione</th>
  51. <th scope="col">Q.ta</th>
  52. </tr>
  53. </thead>
  54. <tbody>
  55. <repeat group="{{ @PRODUCTS }}" value="{{ @PRODUCT }}">
  56. <tr <check if="{{trim(@SESSION.barcode_mv)==trim(@PRODUCT.barcode)}}">class="blink bg-primary"</check>>
  57. <th scope="row">{{@PRODUCT.uds}}</th>
  58. <td>{{@PRODUCT.barcode}}</td>
  59. <td>{{@PRODUCT.descrizione}}</td>
  60. <td>{{@PRODUCT.qta}}</td>
  61. </tr>
  62. </repeat>
  63. </tbody>
  64. </table>
  65. </div>
  66. </div>
  67. </div>