1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Fixes for bank transactions:

This commit is contained in:
David Bomba 2022-09-14 18:23:52 +10:00
parent 53d0aef5cc
commit 132eff8b24

View File

@ -138,6 +138,8 @@ class ProcessBankTransactions implements ShouldQueue
$this->bank_integration->from_date = isset($last_transaction['date']) ? \Carbon\Carbon::parse($last_transaction['date']) : now();
nlog("the bank integration from_date being set to: {$this->bank_integration->from_date}");
$this->from_date = \Carbon\Carbon::parse($this->bank_integration->from_date)->format('Y-m-d');
$this->bank_integration->save();