mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fixed some small display issues.
This commit is contained in:
parent
cabdf4e380
commit
284db7f90b
@ -83,7 +83,7 @@ class BudgetController extends Controller
|
|||||||
}
|
}
|
||||||
Preferences::mark();
|
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]);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -63,7 +63,7 @@ class HomeController extends Controller
|
|||||||
// a possible problem with the budgets.
|
// a possible problem with the budgets.
|
||||||
if ($label === strval(trans('firefly.everything')) || $label === strval(trans('firefly.customRange'))) {
|
if ($label === strval(trans('firefly.everything')) || $label === strval(trans('firefly.customRange'))) {
|
||||||
$isCustomRange = true;
|
$isCustomRange = true;
|
||||||
Preferences::set('viewRange', 'custom');
|
//Preferences::set('viewRange', 'custom');
|
||||||
Log::debug('Range is now marked as "custom".');
|
Log::debug('Range is now marked as "custom".');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -81,7 +81,7 @@ class MailError extends Job implements ShouldQueue
|
|||||||
['emails.error-html', 'emails.error-text'], $args,
|
['emails.error-html', 'emails.error-text'], $args,
|
||||||
function (Message $message) use ($email) {
|
function (Message $message) use ($email) {
|
||||||
if ($email != 'mail@example.com') {
|
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');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
@ -129,7 +129,7 @@
|
|||||||
{% set repAmount = '0' %}
|
{% set repAmount = '0' %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<input class="form-control budgetAmount" data-original="{{ repAmount }}"
|
<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">
|
step="1" min="0" name="amount" type="number">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user