Revision 7130d91e
Von Sven Schöling vor etwa 15 Jahren hinzugefügt
SL/Template/Plugin/LxERP.pm | ||
---|---|---|
23 | 23 |
return ''; |
24 | 24 |
} |
25 | 25 |
|
26 |
sub round_amount { |
|
27 |
my ($self, $var, $places, $skip_zero) = @_; |
|
28 |
|
|
29 |
return $main::form->round_amount($var * 1, $places) unless $skip_zero && $var == 0; |
|
30 |
return ''; |
|
31 |
} |
|
32 |
|
|
26 | 33 |
sub format_amount_units { |
27 | 34 |
my ($self, $amount, $amount_unit, $part_unit) = @_; |
28 | 35 |
|
Auch abrufbar als: Unified diff
form_footer 2. Version