Merge pull request #2295 from denisdulici/master
Don't send email when invoice is marked as paid
This commit is contained in:
commit
63448ddd48
@ -19,6 +19,10 @@ class SendDocumentPaymentNotification
|
||||
return;
|
||||
}
|
||||
|
||||
if (!empty($event->request['mark_paid'])) {
|
||||
return;
|
||||
}
|
||||
|
||||
$document = $event->document;
|
||||
$transaction = $document->transactions()->latest()->first();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user