mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fixes for bank transactions:
This commit is contained in:
parent
132eff8b24
commit
104c6cf016
@ -96,6 +96,7 @@ class ProcessBankTransactions implements ShouldQueue
|
||||
|
||||
$this->bank_integration->from_date = now();
|
||||
$this->bank_integration->save();
|
||||
nlog("the bank integration from_date being set to: {$this->bank_integration->from_date}");
|
||||
$this->stop_loop = false;
|
||||
return;
|
||||
}
|
||||
@ -139,7 +140,7 @@ 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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user