fixes for failed payments
This commit is contained in:
parent
7e9f9e8df9
commit
ddd93a2a66
2 changed files with 2 additions and 2 deletions
|
|
@ -113,6 +113,7 @@ class BaseController extends Controller
|
|||
'company.payment_terms',
|
||||
'company.designs.company',
|
||||
'company.expense_categories',
|
||||
'company.subscriptions',
|
||||
];
|
||||
|
||||
public function __construct()
|
||||
|
|
|
|||
|
|
@ -389,8 +389,7 @@ class BaseDriver extends AbstractPaymentDriver
|
|||
|
||||
$invoices->each(function ($invoice) {
|
||||
|
||||
if (!$invitation->contact->trashed() && $invitation->contact->send_email && $invitation->contact->email)
|
||||
$invoice->service()->deletePdf();
|
||||
$invoice->service()->deletePdf();
|
||||
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue