Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision fb385c2a

Von Jan Büren vor etwa 1 Jahr hinzugefügt

  • ID fb385c2a4a6e3d46a8284115f1691643d71dd9f3
  • Vorgänger d969041c
  • Nachfolger 9edb08c5

Lagerplätze auch sortiert in der Mandantenkonfig anzeigen

Unterschiede anzeigen:

templates/design40_webpages/client_config/form.html
11 11
   [% USE warehouses_it = Iterator(SELF.all_warehouses) %][% FOREACH warehouse = warehouses_it %]
12 12
    { id:   [% warehouse.id %],
13 13
      bins: [
14
       [% USE bins_it = Iterator(warehouse.bins_sorted) %][% FOREACH bin = bins_it %]
14
       [% USE bins_it = Iterator(warehouse.bins_sorted_naturally) %][% FOREACH bin = bins_it %]
15 15
        { id: [% bin.id %], description: "[% JavaScript.escape(bin.description) %]" }[% UNLESS bins_it.last %],[% END %]
16 16
       [% END %]
17 17
     ] }[% UNLESS warehouses_it.last %],[% END %]
......
77 77
  })
78 78

  
79 79
--></script>
80
    
80

  
81 81
<h1>[% title | html %]</h1>
82 82

  
83 83
[% INCLUDE 'common/flash.html' %]
templates/webpages/client_config/form.html
6 6
 [%- USE warehouses_it = Iterator(SELF.all_warehouses) %][%- FOREACH warehouse = warehouses_it %]
7 7
  { id:   [% warehouse.id %],
8 8
    bins: [
9
     [% USE bins_it = Iterator(warehouse.bins_sorted) %][% FOREACH bin = bins_it %]
9
     [% USE bins_it = Iterator(warehouse.bins_sorted_naturally) %][% FOREACH bin = bins_it %]
10 10
      { id: [% bin.id %], description: "[% JavaScript.escape(bin.description) %]" }[% UNLESS bins_it.last %],[% END %]
11 11
     [% END %]
12 12
   ] }[% UNLESS warehouses_it.last %],[% END %]

Auch abrufbar als: Unified diff