1 package SL::Template::Plugin::LxERP;
3 use base qw( Template::Plugin );
14 my ($self, $var, $places, $skip_zero) = @_;
16 return $main::form->format_amount(\%main::myconfig, $var * 1, $places) unless $skip_zero && $var == 0;
21 my ($self, $var, $places, $skip_zero) = @_;
23 return $self->format_amount($var * 100, $places, $skip_zero);