Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 2b652d25

Von Cem Aydin vor mehr als 1 Jahr hinzugefügt

  • ID 2b652d254a31478d9e319bb83baf2dffa1ac85b9
  • Vorgänger 1325f18e
  • Nachfolger 5e056ce8

ListTransactions Controller: "lexical in postif" behoben

Unterschiede anzeigen:

SL/Controller/ListTransactions.pm
265 265
    # formatting
266 266
    my $credit = $tr->{credit} ? $::form->format_amount(\%::myconfig, $tr->{credit}, 2) : '0';
267 267
    my $debit = $tr->{debit} ? $::form->format_amount(\%::myconfig, $tr->{debit}, 2) : '0';
268
    my $ustrate = $::form->format_amount(\%::myconfig, $tr->{ustrate} * 100, 2) if ($tr->{ustrate} != 0);
268
    my $ustrate = '';
269
    if ($tr->{ustrate}) {
270
      # only format to decimal point when not zero (analog to previous behavior in ca.pl)
271
      $ustrate = $tr->{ustrate} != 0 ? $::form->format_amount(\%::myconfig, $tr->{ustrate} * 100, 2) : '0';
272
    }
269 273

  
270 274
    my $gegenkonto_string = "";
271 275
    foreach my $gegenkonto (@{ $tr->{GEGENKONTO} }) {

Auch abrufbar als: Unified diff