Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision bc74b812

Von Bernd Bleßmann vor etwa 1 Jahr hinzugefügt

  • ID bc74b812082fc92cf46de68bf2cda575223e1dc2
  • Vorgänger e1bb8e62
  • Nachfolger e88abf24

Lagerbestand: Preisfaktor anzeigen, wenn ein Preis angezeigt wird

Unterschiede anzeigen:

bin/mozilla/wh.pl
871 871
  my $sort_col     = $form->{sort};
872 872

  
873 873
  my %filter;
874
  my @columns = qw(warehouse bin partnumber type_and_classific partdescription chargenumber bestbefore comment qty partunit list_price purchase_price stock_value);
874
  my @columns = qw(warehouse bin partnumber type_and_classific partdescription chargenumber bestbefore comment qty partunit list_price purchase_price price_factor stock_value);
875 875

  
876 876
  # filter stuff
877 877
  map { $filter{$_} = $form->{$_} if ($form->{$_}) } qw(warehouse_id bin_id classification_id partnumber description partsgroup_id chargenumber bestbefore date include_invalid_warehouses);
......
970 970
    'stock_value'          => { 'text' => $locale->text('Stock value'), },
971 971
    'purchase_price'       => { 'text' => $locale->text('Purchase price'), },
972 972
    'list_price'           => { 'text' => $locale->text('List Price'), },
973
    'price_factor'         => { 'text' => $locale->text('Price Factor'), },
973 974
  );
974 975

  
975 976
  my %column_defs_cvars = map { +"cvar_$_->{name}" => { 'text' => $_->{description} } } @includeable_custom_variables;
......
987 988
    grep {!/^cvar_/ or $cvar_is_text{$_}}
988 989
    @columns;
989 990

  
990
  my %column_alignment = map { $_ => 'right' } qw(qty list_price purchase_price stock_value);
991
  my %column_alignment = map { $_ => 'right' } qw(qty list_price purchase_price price_factor stock_value);
991 992

  
992 993
  map { $column_defs{$_}->{visible} = $form->{"l_${_}"} ? 1 : 0 } @columns;
993 994

  

Auch abrufbar als: Unified diff