mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
Do not store pending transactions
This commit is contained in:
parent
928cf33031
commit
bfea83c8fd
@ -127,6 +127,10 @@ class IncomeTransformer implements BankRevenueInterface
|
||||
|
||||
foreach($transaction->transaction as $transaction)
|
||||
{
|
||||
//do not store duplicate / pending transactions
|
||||
if(property_exists($transaction,'status') && $transaction->status == 'PENDING')
|
||||
continue;
|
||||
|
||||
$data[] = $this->transformTransaction($transaction);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user