mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 04:57:35 -05:00 
			
		
		
		
	Merge pull request #9537 from yannickboy15/nordigen-type-fix
Fix: Update Nordigen to properly handle small money transfer amounts
This commit is contained in:
		
						commit
						f52efa88bb
					
				@ -148,7 +148,7 @@ class TransactionTransformer implements BankRevenueInterface
 | 
				
			|||||||
            'description' => $description,
 | 
					            'description' => $description,
 | 
				
			||||||
            'participant' => $participant,
 | 
					            'participant' => $participant,
 | 
				
			||||||
            'participant_name' => $participant_name,
 | 
					            'participant_name' => $participant_name,
 | 
				
			||||||
            'base_type' => (int) $transaction["transactionAmount"]["amount"] <= 0 ? 'DEBIT' : 'CREDIT',
 | 
					            'base_type' => $amount < 0 ? 'DEBIT' : 'CREDIT',
 | 
				
			||||||
        ];
 | 
					        ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user