From c2524f55da70f141f438beaab6b920c48e9de832 Mon Sep 17 00:00:00 2001 From: michael-hampton Date: Tue, 4 Feb 2020 22:47:54 +0000 Subject: [PATCH] Update MarkPaid.php (#3282) --- app/Services/Invoice/MarkPaid.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/Invoice/MarkPaid.php b/app/Services/Invoice/MarkPaid.php index f1439115e76a..4362b268d26e 100644 --- a/app/Services/Invoice/MarkPaid.php +++ b/app/Services/Invoice/MarkPaid.php @@ -32,7 +32,7 @@ class MarkPaid { if($invoice->status_id == Invoice::STATUS_DRAFT) - $invoice->markSent(); + $invoice->service()->markSent(); /* Create Payment */ $payment = PaymentFactory::create($invoice->company_id, $invoice->user_id);