Revision 94b71f17
Von Sven Schöling vor etwa 15 Jahren hinzugefügt
bin/mozilla/is.pl | ||
---|---|---|
404 | 404 |
# follow ups |
405 | 405 |
if ($form->{id}) { |
406 | 406 |
$form->{follow_ups} = FU->follow_ups('trans_id' => $form->{id}) || []; |
407 |
$form->{follow_ups_unfinished} = sum map { $_->{due} * 1 } @{ $form->{follow_ups} };
|
|
407 |
$form->{follow_ups_unfinished} = ( sum map { $_->{due} * 1 } @{ $form->{follow_ups} } ) || 0;
|
|
408 | 408 |
} |
409 | 409 |
|
410 | 410 |
# payments |
templates/webpages/is/form_footer_de.html | ||
---|---|---|
32 | 32 |
</script> |
33 | 33 |
</td> |
34 | 34 |
</tr> |
35 |
[%- IF id %] |
|
35 |
[%- IF id && follow_ups.size %]
|
|
36 | 36 |
<tr> |
37 | 37 |
<td colspan="2"> |
38 | 38 |
[%- LxERP.format_string('Es gibt #1 Wiedervorlage(n), von denen #2 f?llig ist/sind.', |
... | ... | |
66 | 66 |
[%- END %] |
67 | 67 |
<table> |
68 | 68 |
|
69 |
[%#- subtotal %] |
|
70 | 69 |
[%- UNLESS taxincluded %] |
71 | 70 |
<tr> |
72 | 71 |
<th align="right">Zwischensumme</th> |
templates/webpages/is/form_footer_master.html | ||
---|---|---|
32 | 32 |
</script> |
33 | 33 |
</td> |
34 | 34 |
</tr> |
35 |
[%- IF id %] |
|
35 |
[%- IF id && follow_ups.size %]
|
|
36 | 36 |
<tr> |
37 | 37 |
<td colspan="2"> |
38 | 38 |
[%- LxERP.format_string('<translate>There are #1 unfinished follow-ups of which #2 are due.</translate>', |
... | ... | |
66 | 66 |
[%- END %] |
67 | 67 |
<table> |
68 | 68 |
|
69 |
[%#- subtotal %] |
|
70 | 69 |
[%- UNLESS taxincluded %] |
71 | 70 |
<tr> |
72 | 71 |
<th align="right"><translate>Subtotal</translate></th> |
Auch abrufbar als: Unified diff
Wiedervorlagen korrekt anzeigen.