pick2light.tpl 1.5 KB

12345678910111213141516171819202122232425262728293031
  1. <include href="bars.tpl"/>
  2. <div class="row h-100 justify-content-center">
  3. <check if="{{ @STEP < 4 }}">
  4. <div class="col-md-5 align-self-center">
  5. <form class="form" method="post" action="{{@BASEURL}}/pick2light/{{@STEP+1}}">
  6. <input type="submit" hidden id="submitform"/>
  7. <select name="consegna" class="form-control form-control-lg bg-secondary mb-3" onchange="javascript:$('#submitform').click()">
  8. <option {{isset(@PAGEVALUES.consegna) ? '' : 'selected'}} >Selezionare una distinta</option>
  9. <repeat group="{{ @DISTINTE }}" value="{{ @DISTINTA }}">
  10. <option {{@PAGEVALUES.consegna == @@DISTINTA.consegna ? 'selected' : ''}} value="{{@@DISTINTA.consegna}}">{{@@DISTINTA.consegna}} - {{@@DISTINTA.data_creazione}} - {{@@DISTINTA.time_creazione}} - {{@@DISTINTA.destinazione_merci}}</option>
  11. </repeat>
  12. </select>
  13. <check if="{{ @STEP > 1}}">
  14. <input type="text" name="labelid" {{ @STEP==2 ? 'autofocus' : ''}} value="{{@PAGEVALUES.labelid}}" class="form-control form-control-lg mb-3" placeholder="Codice etichetta" required autocomplete="false"/>
  15. </check>
  16. <check if="{{ isset(@INFOTEXT) }}">
  17. <div class="alert alert-info mt-3" role="alert">
  18. {{@INFOTEXT}}
  19. </div>
  20. </check>
  21. </form>
  22. </div>
  23. </check>
  24. <check if="{{ @STEP == 4 }}">
  25. <include href="pick2light_savingproducts.tpl"/>
  26. </check>
  27. <check if="{{ @STEP == 5 }}">
  28. <include href="pick2light_picks.tpl"/>
  29. </check>
  30. </div>