Revision b2c3a161
Von Sven Schöling vor etwa 15 Jahren hinzugefügt
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
is: follow_ups warnung anders realisiert.