Safety return for missing invoice
This commit is contained in:
parent
0784bdaef3
commit
08d1672258
1 changed files with 3 additions and 0 deletions
|
|
@ -260,6 +260,9 @@ class MatchBankTransactions implements ShouldQueue
|
|||
|
||||
}, 1);
|
||||
|
||||
if(!$this->invoice)
|
||||
return;
|
||||
|
||||
/* Create Payment */
|
||||
$payment = PaymentFactory::create($this->invoice->company_id, $this->invoice->user_id);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue