Skip to content

Commit

Permalink
format number in notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
flack committed Jan 7, 2020
1 parent 7f30d4f commit dc1b291
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/org/openpsa/invoices/scheduler.php
Expand Up @@ -155,7 +155,7 @@ private function _notify_owner($calculator, $cycle_number, $next_run, $invoiced_

// Content for long notifications
$message['content'] = "{$message['title']}\n\n";
$message['content'] .= $l10n->get('invoiced') . ": {$invoiced_sum}\n\n";
$message['content'] .= $l10n->get('invoiced') . ': ' . $l10n->get_formatter()->number($invoiced_sum) . "\n\n";

if ($invoiced_sum > 0) {
$invoice = $calculator->get_invoice();
Expand Down

0 comments on commit dc1b291

Please sign in to comment.