Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 8dd087bf

Von Bernd Bleßmann vor fast 12 Jahren hinzugefügt

  • ID 8dd087bfc7c8947308b170c666682f6dec1ea30d
  • Vorgänger 987594db
  • Nachfolger 8af39a65

Index/Zähler für multiple Aufträge bei 1 beginnen lassen

behebt #2054

Unterschiede anzeigen:

bin/mozilla/oe.pl
922 922
  my %totals    = map { $_ => 0 } @subtotal_columns;
923 923
  my %subtotals = map { $_ => 0 } @subtotal_columns;
924 924

  
925
  my $idx = 0;
925
  my $idx = 1;
926 926

  
927 927
  my $edit_url = build_std_url('action=edit', 'type', 'vc');
928 928

  
......
964 964
    my $row_set = [ $row ];
965 965

  
966 966
    if (($form->{l_subtotal} eq 'Y')
967
        && (($idx == (scalar @{ $form->{OE} } - 1))
968
            || ($oe->{ $form->{sort} } ne $form->{OE}->[$idx + 1]->{ $form->{sort} }))) {
967
        && (($idx == (scalar @{ $form->{OE} }))
968
            || ($oe->{ $form->{sort} } ne $form->{OE}->[$idx]->{ $form->{sort} }))) {
969 969
      push @{ $row_set }, create_subtotal_row(\%subtotals, \@columns, \%column_alignment, \@subtotal_columns, 'listsubtotal');
970 970
    }
971 971

  

Auch abrufbar als: Unified diff