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