Fixed some small display issues.

This commit is contained in:
James Cole 2016-12-22 17:04:41 +01:00
parent cabdf4e380
commit 284db7f90b
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E
4 changed files with 4 additions and 4 deletions

View File

@ -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]);
}

View File

@ -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".');
}

View File

@ -81,7 +81,7 @@ class MailError extends Job implements ShouldQueue
['emails.error-html', 'emails.error-text'], $args,
function (Message $message) use ($email) {
if ($email != 'mail@example.com') {
$message->to($email, $email)->subject('Caught an error in Firely III.');
$message->to($email, $email)->subject('Caught an error in Firely III');
}
}
);

View File

@ -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>