don't send email when invoice is marked as paid
This commit is contained in:
parent
8da3b2bcf1
commit
1f0b9e9333
@ -19,6 +19,10 @@ class SendDocumentPaymentNotification
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!empty($event->request['mark_paid'])) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
$document = $event->document;
|
$document = $event->document;
|
||||||
$transaction = $document->transactions()->latest()->first();
|
$transaction = $document->transactions()->latest()->first();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user