mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 00:14:31 -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,
|
'accountId' => $this->bank_integration->bank_account_id,
|
||||||
];
|
];
|
||||||
|
|
||||||
|
nlog($data);
|
||||||
|
|
||||||
//Get transaction count object
|
//Get transaction count object
|
||||||
$transaction_count = $yodlee->getTransactionCount($data);
|
$transaction_count = $yodlee->getTransactionCount($data);
|
||||||
|
|
||||||
@ -91,6 +93,8 @@ class ProcessBankTransactions implements ShouldQueue
|
|||||||
//if no transactions, update the from_date and move on
|
//if no transactions, update the from_date and move on
|
||||||
if(count($transactions) == 0){
|
if(count($transactions) == 0){
|
||||||
|
|
||||||
|
nlog("no transactions returning");
|
||||||
|
|
||||||
$this->bank_integration->from_date = now();
|
$this->bank_integration->from_date = now();
|
||||||
$this->bank_integration->save();
|
$this->bank_integration->save();
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user