Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fixed some small display issues.
James Cole284db7f90b66
diff --git a/app/Http/Controllers/BudgetController.php b/app/Http/Controllers/BudgetController.phpindex 70def0eec3..77d6ecb164 100644--- a/app/Http/Controllers/BudgetController.php+++ b/app/Http/Controllers/BudgetController.php@@ -83,7 +83,7 @@ class BudgetController extends Controller}Preferences::mark();- return Response::json(['name' => $budget->name, 'repetition' => $limitRepetition ? $limitRepetition->id : 0]);+ return Response::json(['name' => $budget->name, 'repetition' => $limitRepetition ? $limitRepetition->id : 0, 'amount' => $amount]);}diff --git a/app/Http/Controllers/HomeController.php b/app/Http/Controllers/HomeController.phpindex 9a4b2bf7f5..5f19c79c32 100644--- a/app/Http/Controllers/HomeController.php+++ b/app/Http/Controllers/HomeController.php@@ -63,7 +63,7 @@ class HomeController extends Controller// a possible problem with the budgets.if ($label === strval(trans('firefly.everything')) || $label === strval(trans('firefly.customRange'))) {$isCustomRange = true;- Preferences::set('viewRange', 'custom');+ //Preferences::set('viewRange', 'custom');Log::debug('Range is now marked as "custom".');}diff --git a/app/Jobs/MailError.php b/app/Jobs/MailError.phpindex 883443f9a7..44e1ec89b5 100644--- a/app/Jobs/MailError.php+++ b/app/Jobs/MailError.php@@ -81,7 +81,7 @@ class MailError extends Job implements ShouldQueue['emails.error-html', 'emails.error-text'], $args,function (Message $message) use ($email) {if ($email != '[email protected]') {- $message->to($email, $email)->subject('Caught an error in Firely III.');+ $message->to($email, $email)->subject('Caught an error in Firely III');}});diff --git a/resources/views/budgets/index.twig b/resources/views/budgets/index.twigindex 3d05cad3a5..f837687845 100644--- a/resources/views/budgets/index.twig+++ b/resources/views/budgets/index.twig@@ -129,7 +129,7 @@{% set repAmount = '0' %}{% endif %}<input class="form-control budgetAmount" data-original="{{ repAmount }}"- data-id="{{ budget.id }}" value="{{ repAmount }}" autocomplete="off"+ data-id="{{ budget.id }}" value="{{ repAmount|round }}" autocomplete="off"step="1" min="0" name="amount" type="number"></div></div>