Fix some scrutiniser issues.

This commit is contained in:
James Cole
2017-01-14 19:43:33 +01:00
parent 0b5cab99cf
commit 08ac27cccf
14 changed files with 44 additions and 28 deletions

View File

@@ -90,11 +90,11 @@ class Amount
$pos_c = $sign;
}
// default: (amount before currency)
// default is amount before currency
$format = $pos_a . $pos_d . '%v' . $space . $pos_b . '%s' . $pos_c . $pos_e;
if ($csPrecedes) {
// (currency before amount)
// alternative is currency before amount
$format = $pos_a . $pos_b . '%s' . $pos_c . $space . $pos_d . '%v' . $pos_e;
}
Log::debug(sprintf('Final format: "%s"', $format));