pick2light.tpl 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <div class="row h-100 justify-content-center w-100">
  2. <div class="col-md-4 align-self-center">
  3. <check if="{{ isset(@INFOTEXT) }}">
  4. <div class="alert alert-danger" role="alert">
  5. {{@INFOTEXT}}
  6. </div>
  7. </check>
  8. <check if="{{ !@NO_BIND }}">
  9. <form class="form" method="post" action="{{@BASEURL}}/pick2light/{{@NEXTSTEP}}">
  10. <div class="alert alert-info" role="alert">
  11. Inizio ventilazione
  12. </div>
  13. <input type="submit" hidden id="submitform"/>
  14. {*Elenco commesse/ceste*}
  15. <check if="{{@PARAMS['step'] == 2 }}">
  16. <table class="table table-sm table-striped table-light">
  17. <thead class="bg-secondary">
  18. <tr>
  19. <th colspan="2" class="text-center text-uppercase text-white" scope="col">In attesa del completamento delle seguenti ceste</th>
  20. </tr>
  21. </thead>
  22. <tbody>
  23. <repeat group="{{ @COMMESSE }}" key="{{@key}}" value="{{ @COMMESSA }}">
  24. <tr>
  25. <td>{{@COMMESSA.commessa}}</td>
  26. <td align="right">Q.ta <b>{{@COMMESSA.qta_prelevare}}</b></td>
  27. </tr>
  28. </repeat>
  29. </tbody>
  30. </table>
  31. </check>
  32. {*Barcode prodotto*}
  33. <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"/>
  34. {*Codice cesta per la quale mi aspetto che avvenga la ventilazione*}
  35. <check if="{{ @PARAMS['step'] == 2 }}">
  36. <input type="text" name="commessa" {{@PARAMS['step']==2 ? 'autofocus' : ''}} value="" class="form-control form-control-lg mb-3" placeholder="Codice Cesta" required autocomplete="false"/>
  37. </check>
  38. </form>
  39. </check>
  40. </div>
  41. <div class="col-md-8" style="overflow-y: auto">
  42. <div class="rounded table-responsive mt-3" style="background-color: #a0b1cc">
  43. <table class="table rounded table-striped table-secondary mb-0" style="font-size: 11pt">
  44. <thead style="background-color: #a0b1cc">
  45. <tr style="font-size: 12pt">
  46. <th class="text-center text-uppercase" colspan="6" scope="col">Articoli da ventilare
  47. <a class="requestconfirm" data-confirmtext="Resettare la lista? Sarà comunque possibile reimportarla nuovamente dal menu principale." href="{{@BASEURL}}/pick2light/3"><img class="float-right" src="{{@BASEURL}}/ui/images/delete.png"/></a>
  48. </th>
  49. </tr>
  50. <tr style="font-size: 12pt">
  51. <th scope="col">UDS</th>
  52. <th scope="col">Articoli</th>
  53. <th scope="col">Q.ta</th>
  54. </tr>
  55. </thead>
  56. <tbody>
  57. <repeat group="{{ @PRODUCTS }}" value="{{ @PRODUCT }}">
  58. <tr
  59. <check if="{{trim(@SESSION.barcode_mv)==trim(@PRODUCT.barcode)}}">class="blink bg-primary"</check>
  60. >
  61. <th scope="row">{{@PRODUCT.uds}}</th>
  62. <td>{{@PRODUCT.barcode}}</td>
  63. <td>{{@PRODUCT.qta}}</td>
  64. </tr>
  65. </repeat>
  66. </tbody>
  67. </table>
  68. </div>
  69. </div>
  70. </div>