Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision fbf7abba

Von Bernd Bleßmann vor 25 Tagen hinzugefügt

  • ID fbf7abba5ee17530a33e720088ef1a6da60e9df8
  • Vorgänger c20fe7f4
  • Nachfolger ee3de254

S:C:Part: Lagerplatz-Presenter verwenden

Unterschiede anzeigen:

templates/webpages/part/_basic_data.html
169 169
           <th align="right" nowrap="true">[% 'Order Size' | $T8 %]</th>
170 170
           <td>[% L.input_tag("part.order_qty_as_number", SELF.part.order_qty_as_number, size=10, class="numeric") %]</td>
171 171
          </tr>
172
          [% IF SELF.all_warehouses.size %]
173 172
          <tr>
174
           <th align="right" nowrap="true">[% 'Default Warehouse' | $T8 %]</th>
175
           <td>[% L.select_tag('part.warehouse_id', SELF.all_warehouses, default=SELF.part.warehouse.id, title_key='description', with_empty=1) %]
176
           </td>
177
          </tr>
178
          [% END %]
179
          <tr>
180
           <th align="right" nowrap="true">[% 'Default Bin' | $T8 %]</th>
173
           <th align="right" nowrap="true">[% 'Default Warehouse / Bin' | $T8 %]</th>
181 174
           <td>
182
            <span id='bin'>
183
            [% IF SELF.part.warehouse.id %]
184
            [% L.select_tag('part.bin_id', SELF.part.warehouse.bins_sorted_naturally, default=SELF.part.bin.id, title_key='description', with_empty=0) %]
185
            [%- END %]
186
            </span>
175
            [% P.warehouse.wh_bin_select('warehouse',
176
                                         wh_name='part.warehouse_id',
177
                                         wh_default=SELF.part.warehouse.id,
178
                                         bin_name='part.bin_id',
179
                                         bin_default=SELF.part.bin.id,
180
                                         with_empty=1) %]
187 181
           </td>
188 182
          </tr>
189 183
        [%- END %]

Auch abrufbar als: Unified diff