Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision b2c3a161

Von Sven Schöling vor etwa 15 Jahren hinzugefügt

  • ID b2c3a161b825e08769f9ee9197ade3fea49efe93
  • Vorgänger cf154916
  • Nachfolger ee90bef1

is: follow_ups warnung anders realisiert.

Unterschiede anzeigen:

bin/mozilla/is.pl
414 414
    }
415 415
  }
416 416

  
417
  # unfortunately locales doesn't support extended syntax
417
  # follow ups
418 418
  if ($form->{id}) {
419
    my $follow_ups = FU->follow_ups('trans_id' => $form->{id});
420
    if (@{ $follow_ups} ) {
421
      $form->{follow_up_text} = $locale->text("There are #1 unfinished follow-ups of which #2 are due.",
422
                                               scalar(@{ $follow_ups }),
423
                                               sum map { $_->{due} * 1 } @{ $follow_ups });
424
    }
419
    $form->{follow_ups}            = FU->follow_ups('trans_id' => $form->{id}) || [];
420
    $form->{follow_ups_unfinished} = sum map { $_->{due} * 1 } @{ $form->{follow_ups} };
425 421
  }
426 422

  
427 423
  # payments

Auch abrufbar als: Unified diff