1
0
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:
= 2021-09-02 21:33:44 +10:00
parent 7e9f9e8df9
commit ddd93a2a66
2 changed files with 2 additions and 2 deletions

View File

@ -113,6 +113,7 @@ class BaseController extends Controller
'company.payment_terms',
'company.designs.company',
'company.expense_categories',
'company.subscriptions',
];
public function __construct()

View File

@ -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();
});