Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 2d2f562b

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

  • ID 2d2f562bf6d8974444f7ba3ce2626db979d460fb
  • Vorgänger b6363c02
  • Nachfolger 29281a73

Lieferantenartikelnummer prominent im Einkaufslieferschein einbinden

Unterschiede anzeigen:

SL/DO.pm
870 870
                                           trans_id   => $doi->{delivery_order_items_id},
871 871
                                          );
872 872
    map { $doi->{"ic_cvar_$_->{name}"} = $_->{value} } @{ $cvars };
873
  }
874 873

  
874
    my $makemodel = SL::DB::Manager::MakeModel->find_by(parts_id => $doi->{id}, make =>$form->{vendor_id});
875
    $doi->{vendor_partnumber} = $makemodel->model if $makemodel;
876
  }
875 877
  if ($mode eq 'single') {
876 878
    my $in_out = $form->{type} =~ /^sales/ ? 'out' : 'in';
877 879

  
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
4246 4246
  'Vendor Name'                 => 'Lieferantenname',
4247 4247
  'Vendor Number'               => 'Lieferantennummer',
4248 4248
  'Vendor Order Number'         => 'Bestellnummer beim Lieferanten',
4249
  'Vendor Part Number'          => 'Lieferantenartikelnummer',
4249 4250
  'Vendor deleted!'             => 'Lieferant gelöscht!',
4250 4251
  'Vendor details'              => 'Lieferantendetails',
4251 4252
  'Vendor missing!'             => 'Lieferant fehlt!',

Auch abrufbar als: Unified diff