Misc fixes from live site

This commit is contained in:
Deon George
2013-07-05 16:11:37 +10:00
parent a833d452dc
commit 1b057cd1e5
21 changed files with 80 additions and 65 deletions

View File

@@ -11,6 +11,9 @@
*/
class Currency {
public static function display($amount) {
if (! is_numeric($amount))
$amount = 0;
return Num::format($amount,Company::instance()->decimals(),TRUE);
}