Restore # in logs (external tooling and plugin/users::recent depend on it)

This commit is contained in:
Juerd Waalboer 2019-11-05 01:50:02 +01:00
parent c7b66a1084
commit 08af3442a4

View file

@ -128,7 +128,7 @@ sub as_loggable {
: sprintf("%s [%sx %.2f]", $_->{description}, $quantity, abs($_->{amount})); : sprintf("%s [%sx %.2f]", $_->{description}, $quantity, abs($_->{amount}));
push @s, sprintf( push @s, sprintf(
"%-12s %4s %3d %5.2f %s", "%-12s %4s %3d %5.2f # %s",
$_->{user}, $_->{user},
($total > 0 ? 'GAIN' : $total < 0 ? 'LOSE' : ''), ($total > 0 ? 'GAIN' : $total < 0 ? 'LOSE' : ''),
$quantity, $quantity,