Fixes for bank transactions:
This commit is contained in:
parent
8f0fc3a303
commit
f1efdb663e
1 changed files with 4 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue