Updates for payment filters
This commit is contained in:
parent
ead61d8f74
commit
ccb98aaf06
2 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue