1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 12:12:48 +01:00

Fix for symbol placement

This commit is contained in:
Hillel Coren 2016-05-17 22:45:10 +03:00
parent 2e1d340d27
commit fa9370d4fb
2 changed files with 8 additions and 3 deletions

View File

@ -5,5 +5,6 @@ We welcome contributions! We'll improve this guide over time...
*Please note: although our application is open-source we run a for-profit hosted service at [invoiceninja.com](https://www.invoiceninja.com).*
Guidelines
- Please try to follow [PSR-2 guidlines](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md)
- Try to follow [PSR-2 guidlines](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md)
- Create pull requests against the develop branch
- Add translations in our [Transifex](https://www.transifex.com/invoice-ninja/) project

View File

@ -6,8 +6,12 @@ class Currency extends Eloquent
{
public $timestamps = false;
public function getName()
protected $casts = [
'swap_currency_symbol' => 'boolean',
];
public function getName()
{
return $this->name;
}
}
}