diff --git a/plugins/deposit b/plugins/deposit index ae5b247..560a35b 100644 --- a/plugins/deposit +++ b/plugins/deposit @@ -20,7 +20,7 @@ sub amount :Tab(13.37,42) { call_hooks("deposit_methods", \my $message, $self->{deposit_methods} = {}); - return $message . "How are we receiving this EUR $amount?", \&how + return $message . "How are we receiving this $amount?", \&how if keys %{ $self->{deposit_methods} }; $cart->add(+$self->{amount}, "Deposit", { is_deposit => 1 }); diff --git a/plugins/grandtotal b/plugins/grandtotal index 5ed9c5f..f30116c 100644 --- a/plugins/grandtotal +++ b/plugins/grandtotal @@ -17,9 +17,9 @@ sub command :Tab(grandtotal) { $pos += $credit if $credit > 0; } - printf "Total positive: EUR %8.2f\n", $pos; - printf "Total negative: EUR \e[31;1m%8.2f\e[0m\n", $neg; - printf "GRAND TOTAL: EUR \e[1m%8.2f\e[0m\n", $pos + $neg; + printf "Total positive: %8.2f\n", $pos; + printf "Total negative: \e[31;1m%8.2f\e[0m\n", $neg; + printf "GRAND TOTAL: \e[1m%8.2f\e[0m\n", $pos + $neg; return ACCEPT; }