1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00

fill from_date to be one year in the past

This commit is contained in:
David Bomba 2022-09-21 21:05:12 +10:00
parent f14e9c9948
commit 9c3b9f0548

View File

@ -98,6 +98,7 @@ class YodleeController extends BaseController
$bank_integration->nickname = $account['nickname'];
$bank_integration->balance = $account['current_balance'];
$bank_integration->currency = $account['account_currency'];
$bank_integration->from_date = now()->subYear();
$bank_integration->save();
}