Revision 0119262d
Von Jan Büren vor etwa 2 Jahren hinzugefügt
SL/Form.pm | ||
---|---|---|
1670 | 1670 |
map { $self->{payment_terms} =~ s/<%${_}%>/$formatted_amounts{$_}/g; } keys %formatted_amounts; |
1671 | 1671 |
# put amounts in form for print template |
1672 | 1672 |
foreach (keys %formatted_amounts) { |
1673 |
next if $_ =~ m/(total|invtotal)/;
|
|
1673 |
next if $_ =~ m/(^total$|^invtotal$)/;
|
|
1674 | 1674 |
$self->{$_} = $formatted_amounts{$_}; |
1675 | 1675 |
} |
1676 | 1676 |
} |
Auch abrufbar als: Unified diff
Zu gerade: Variablen korrekt whitelisten, ansonsten wird zuviel gefiltert