Built some new tests

This commit is contained in:
James Cole
2015-05-24 07:43:48 +02:00
parent 067c451c1d
commit 724db6c34c
2 changed files with 402 additions and 1 deletions

View File

@@ -84,7 +84,7 @@ class Journal extends Twig_Extension
if ($tag->tagMode == 'balancingAct') {
// return tag formatted for a "balancing act", even if other
// tags are present.
$amount = App::make('amount')->formatJournal($journal, false);
$amount = App::make('amount')->format($journal->actual_amount, false);
return '<a href="' . route('tags.show', $tag->id) . '" class="label label-success" title="' . $amount
. '"><i class="fa fa-fw fa-refresh"></i> ' . $tag->tag . '</a>';