mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 00:54:29 -04:00
Fixes for bank transactions:
This commit is contained in:
parent
8f0fc3a303
commit
f1efdb663e
@ -79,6 +79,8 @@ class ProcessBankTransactions implements ShouldQueue
|
||||
'accountId' => $this->bank_integration->bank_account_id,
|
||||
];
|
||||
|
||||
nlog($data);
|
||||
|
||||
//Get transaction count object
|
||||
$transaction_count = $yodlee->getTransactionCount($data);
|
||||
|
||||
@ -91,6 +93,8 @@ class ProcessBankTransactions implements ShouldQueue
|
||||
//if no transactions, update the from_date and move on
|
||||
if(count($transactions) == 0){
|
||||
|
||||
nlog("no transactions returning");
|
||||
|
||||
$this->bank_integration->from_date = now();
|
||||
$this->bank_integration->save();
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user