From b457cbfe15eefbdde49c4b4c520692e314b43e78 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Wed, 29 Jul 2020 08:20:40 +1000 Subject: [PATCH] Fix is_manual when marking an invoice as paid --- app/Services/Invoice/MarkPaid.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Services/Invoice/MarkPaid.php b/app/Services/Invoice/MarkPaid.php index 76591becad86..be9c38d562a7 100644 --- a/app/Services/Invoice/MarkPaid.php +++ b/app/Services/Invoice/MarkPaid.php @@ -56,6 +56,7 @@ class MarkPaid extends AbstractService $payment->client_id = $this->invoice->client_id; $payment->transaction_reference = ctrans('texts.manual_entry'); $payment->currency_id = $this->invoice->client->getSetting('currency_id'); + $payment->is_manual = true; /* Create a payment relationship to the invoice entity */ $payment->save();