Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 544c4cc2

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

  • ID 544c4cc29b08cb2cf728878138178698373a8024
  • Vorgänger 8247565e
  • Nachfolger cade7ecd

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

  
......
316 317

  
317 318

  
318 319
    $column_data{partnumber}    = $cgi->textfield(-name => "partnumber_$i",    -id => "partnumber_$i",    -size => 12, -value => $form->{"partnumber_$i"});
320
    $column_data{vendor_partnumber} = $form->{"vendor_partnumber_$i"};
319 321
    $column_data{type_and_classific} = SL::Presenter::Part::type_abbreviation($form->{"part_type_$i"}).
320 322
                                       SL::Presenter::Part::classification_abbreviation($form->{"classification_id_$i"}) if $form->{"id_$i"};
321 323
    $column_data{description} = (($rows > 1) # if description is too large, use a textbox instead
locale/de/all
4401 4401
  'Vendor Name'                 => 'Lieferantenname',
4402 4402
  'Vendor Number'               => 'Lieferantennummer',
4403 4403
  'Vendor Order Number'         => 'Bestellnummer beim Lieferanten',
4404
  'Vendor Part Number'          => 'Lieferantenartikelnummer',
4404 4405
  'Vendor deleted!'             => 'Lieferant gelöscht!',
4405 4406
  'Vendor details'              => 'Lieferantendetails',
4406 4407
  'Vendor missing!'             => 'Lieferant fehlt!',

Auch abrufbar als: Unified diff