From ca9de2bd74e6e55794eaf1a613d1276efd637674 Mon Sep 17 00:00:00 2001 From: = Date: Fri, 27 Aug 2021 21:46:24 +1000 Subject: [PATCH] Fixes for tests --- app/Services/Invoice/MarkPaid.php | 1 - 1 file changed, 1 deletion(-) diff --git a/app/Services/Invoice/MarkPaid.php b/app/Services/Invoice/MarkPaid.php index a23e42a378fb..8b8d700c6b1d 100644 --- a/app/Services/Invoice/MarkPaid.php +++ b/app/Services/Invoice/MarkPaid.php @@ -53,7 +53,6 @@ class MarkPaid extends AbstractService $payment->amount = $this->invoice->balance; $payment->applied = $this->invoice->balance; $payment->number = $this->getNextPaymentNumber($this->invoice->client); - $payment->save(); $payment->status_id = Payment::STATUS_COMPLETED; $payment->client_id = $this->invoice->client_id; $payment->transaction_reference = ctrans('texts.manual_entry');