Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision aa184cd2

Von Jan Büren vor fast 2 Jahren hinzugefügt

  • ID aa184cd2be494d3a09b241637eb1860bc61b09fa
  • Vorgänger 58dbf540
  • Nachfolger 38af7a21

Lieferantenartikelnummer prominent im Einkaufslieferschein einbinden

Unterschiede anzeigen:

SL/DO.pm
884 884
                                           trans_id   => $doi->{delivery_order_items_id},
885 885
                                          );
886 886
    map { $doi->{"ic_cvar_$_->{name}"} = $_->{value} } @{ $cvars };
887
  }
888 887

  
888
    my $makemodel = SL::DB::Manager::MakeModel->find_by(parts_id => $doi->{id}, make =>$form->{vendor_id});
889
    $doi->{vendor_partnumber} = $makemodel->model if $makemodel;
890
  }
889 891
  if ($mode eq 'single') {
890 892
    my $in_out = $form->{type} =~ /^sales/ ? 'out' : 'in';
891 893

  
bin/mozilla/io.pl
166 166

  
167 167
  # column_index
168 168
  my @header_sort = qw(
169
    runningnumber partnumber type_and_classific description ship ship_missing qty price_factor
169
    runningnumber partnumber vendor_partnumber type_and_classific description ship ship_missing qty price_factor
170 170
    unit weight price_source sellprice discount linetotal
171 171
    bin stock_in_out
172 172
  );
......
205 205
    listprice     => {                 value => $locale->text('LP'),                   display => $show_marge, },
206 206
    lastcost      => {                 value => $locale->text('EK'),                   display => $show_marge, },
207 207
    onhand        => {                 value => $locale->text('On Hand'),              display => 1, },
208
    vendor_partnumber => { width => 8, value => $locale->text('Vendor Part Number'),   display => $is_delivery_order && $is_purchase, },
208 209
  );
209 210
  my @HEADER = map { $column_def{$_} } @header_sort;
210 211

  
......
318 319

  
319 320

  
320 321
    $column_data{partnumber}    = $cgi->textfield(-name => "partnumber_$i",    -id => "partnumber_$i",    -size => 12, -value => $form->{"partnumber_$i"});
322
    $column_data{vendor_partnumber} = $form->{"vendor_partnumber_$i"};
321 323
    $column_data{type_and_classific} = SL::Presenter::Part::type_abbreviation($form->{"part_type_$i"}).
322 324
                                       SL::Presenter::Part::classification_abbreviation($form->{"classification_id_$i"}) if $form->{"id_$i"};
323 325
    $column_data{description} = (($rows > 1) # if description is too large, use a textbox instead
locale/de/all
4462 4462
  'Vendor Number'               => 'Lieferantennummer',
4463 4463
  'Vendor Order Number'         => 'Bestellnummer beim Lieferanten',
4464 4464
  'Vendor Record Number'        => 'Lieferantenbelegsnummer',
4465
  'Vendor Part Number'          => 'Lieferantenartikelnummer',
4465 4466
  'Vendor deleted!'             => 'Lieferant gelöscht!',
4466 4467
  'Vendor details'              => 'Lieferantendetails',
4467 4468
  'Vendor missing!'             => 'Lieferant fehlt!',

Auch abrufbar als: Unified diff