diff --git a/config/app.php b/config/app.php index e8482c0ce52..d85f509ece8 100644 --- a/config/app.php +++ b/config/app.php @@ -1,7 +1,5 @@ Illuminate\Support\Facades\Notification::class, 'Socialite' => Laravel\Socialite\Facades\Socialite::class, 'Image' => Intervention\Image\Facades\Image::class, - 'MoneyHelper' => App\Helpers\MoneyHelper::class, 'Sentry' => Sentry\SentryLaravel\SentryFacade::class, 'Gravatar' => Creativeorange\Gravatar\Facades\Gravatar::class, ], diff --git a/resources/views/people/debt/index.blade.php b/resources/views/people/debt/index.blade.php index fab815c5ed0..d73e91c1d68 100644 --- a/resources/views/people/debt/index.blade.php +++ b/resources/views/people/debt/index.blade.php @@ -31,12 +31,12 @@
@if ($debt->in_debt == 'yes') {{ trans('people.debt_you_owe', [ - 'amount' => MoneyHelper::format($debt->amount) + 'amount' => App\Helpers\MoneyHelper::format($debt->amount) ]) }} @else {{ trans('people.debt_they_owe', [ 'name' => $contact->first_name, - 'amount' => MoneyHelper::format($debt->amount) + 'amount' => App\Helpers\MoneyHelper::format($debt->amount) ]) }} @endif
@@ -67,11 +67,11 @@ @if ($contact->isOwedMoney()) {{ trans('people.debt_they_owe', [ 'name' => $contact->first_name, - 'amount' => MoneyHelper::format($contact->totalOutstandingDebtAmount()) + 'amount' => App\Helpers\MoneyHelper::format($contact->totalOutstandingDebtAmount()) ]) }} @else {{ trans('people.debt_you_owe', [ - 'amount' => MoneyHelper::format(-$contact->totalOutstandingDebtAmount()) + 'amount' => App\Helpers\MoneyHelper::format(-$contact->totalOutstandingDebtAmount()) ]) }} @endif