added amount for humans in account show page

This commit is contained in:
Denis Duliçi
2022-07-19 14:41:43 +03:00
parent 7944b22e72
commit 273f762fe7
3 changed files with 21 additions and 4 deletions

View File

@ -2,6 +2,7 @@
namespace App\Utilities;
use Akaunting\Money\Money;
use App\Models\Setting\Currency;
class Overrider
@ -58,6 +59,9 @@ class Overrider
app()->setLocale($locale);
}
// Set locale for Money package
Money::setLocale(app()->getLocale());
// Set app url dynamically if empty
if (! config('app.url')) {
config(['app.url' => url('/')]);