Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision ccbd47d7

Von Jan Büren vor mehr als 11 Jahren hinzugefügt

  • ID ccbd47d7a05b02889854bbad8213827fe550de8a
  • Vorgänger ba0c9f34
  • Nachfolger 5a923b79

Standardlagerplatz als Vorauswahl beim Einlagern setzen.

Unterschiede anzeigen:

bin/mozilla/wh.pl
331 331
    if (!scalar @{ $parts }) {
332 332
      new_item(action => "transfer_stock_update_part");
333 333
    } elsif (scalar @{ $parts } == 1) {
334
      @{$form}{qw(parts_id partnumber description ean)} = @{$parts->[0]}{qw(id partnumber description ean)};
334
      @{$form}{qw(parts_id partnumber description ean warehouse_id bin_id)} = @{$parts->[0]}{qw(id partnumber description ean warehouse_id bin_id)};
335 335
      transfer_stock_get_partunit();
336 336
      transfer_warehouse_selection();
337 337

  
......
398 398

  
399 399
  my $form     = $main::form;
400 400

  
401
  @{$form}{qw(parts_id partnumber description ean)} = @{$part}{qw(id partnumber description ean)};
401
  @{$form}{qw(parts_id partnumber description ean warehouse_id bin_id)} = @{$part}{qw(id partnumber description ean warehouse_id bin_id)};
402 402

  
403 403
  transfer_stock_get_partunit();
404 404
  transfer_warehouse_selection();
templates/webpages/generic/select_part.html
39 39
     <td>
40 40
      <input type="hidden" name="new_id_[% loop.count %]" value="[% HTML.escape(part.id) %]">
41 41
      <input type="hidden" name="new_number_[% loop.count %]" value="[% HTML.escape(part.number) %]">
42
      <input type="hidden" name="new_warehouse_id_[% loop.count %]" value="[% HTML.escape(part.warehouse_id) %]">
43
      <input type="hidden" name="new_bin_id_[% loop.count %]" value="[% HTML.escape(part.bin_id) %]">
42 44
      [% HTML.escape(part.number) %]
43 45
     </td>
44 46

  

Auch abrufbar als: Unified diff