Return earlier if payment type = credit
This commit is contained in:
parent
9a7478e175
commit
62bab1e353
|
|
@ -141,6 +141,9 @@ class InvoicePay extends Component
|
|||
|
||||
$company_gateway = CompanyGateway::query()->find($company_gateway_id);
|
||||
|
||||
if(!$company_gateway)
|
||||
return $this->required_fields = false;
|
||||
|
||||
$this->checkRequiredFields($company_gateway);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue