Can view budgets [skip ci]

This commit is contained in:
James Cole
2015-05-02 08:28:24 +02:00
parent 6dbb80d687
commit e94333f877
2 changed files with 198 additions and 0 deletions

View File

@@ -71,6 +71,12 @@ class General extends Twig_Extension
}
);
$functions[] = new Twig_SimpleFunction(
'getCurrencySymbol', function () {
return App::make('amount')->getCurrencySymbol();
}
);
$functions[] = new Twig_SimpleFunction(
'phpdate', function ($str) {
return date($str);