mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-27 09:21:04 -06:00
Fix #1563
This commit is contained in:
parent
b705240faa
commit
1f0fdf3da7
@ -501,7 +501,7 @@ class PiggyBankRepository implements PiggyBankRepositoryInterface
|
||||
$piggyBank->name = $data['name'];
|
||||
$piggyBank->account_id = (int)$data['account_id'];
|
||||
$piggyBank->targetamount = $data['targetamount'];
|
||||
$piggyBank->targetdate = $data['targetdate'] ?? $piggyBank->targetdate;
|
||||
$piggyBank->targetdate = $data['targetdate'];
|
||||
$piggyBank->startdate = $data['startdate'] ?? $piggyBank->startdate;
|
||||
|
||||
$piggyBank->save();
|
||||
|
@ -81,7 +81,7 @@
|
||||
{% endif %}
|
||||
</td>
|
||||
<td class="hidden-sm hidden-xs" style="text-align:right;">
|
||||
{% if piggy.targetdate %}
|
||||
{% if piggy.target_date %}
|
||||
{{ formatAmountBySymbol(piggy.save_per_month, piggy.currency_symbol, piggy.currency_dp) }}
|
||||
{% endif %}
|
||||
</td>
|
||||
|
Loading…
Reference in New Issue
Block a user