mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Updates for payment filters
This commit is contained in:
parent
ead61d8f74
commit
ccb98aaf06
@ -72,6 +72,7 @@ nlog($p->toArray());
|
||||
|
||||
/*Ensure we don't relink an existing payment*/
|
||||
if(!$p || is_numeric($p->transaction_id)){
|
||||
nlog("unlinking for some reason");
|
||||
unset($inputs['transactions'][$key]);
|
||||
}
|
||||
|
||||
|
@ -111,6 +111,8 @@ class MatchBankTransactions implements ShouldQueue
|
||||
|
||||
foreach($this->input as $input)
|
||||
{
|
||||
nlog($input);
|
||||
|
||||
if(array_key_exists('invoice_ids', $input) && strlen($input['invoice_ids']) > 1)
|
||||
$this->matchInvoicePayment($input);
|
||||
elseif(array_key_exists('payment_id', $input) && strlen($input['payment_id']) > 1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user