mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-12 22:22:32 +01:00
fixes for failed payments
This commit is contained in:
parent
7e9f9e8df9
commit
ddd93a2a66
@ -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…
Reference in New Issue
Block a user