diff --git a/app/Services/Invoice/InvoiceService.php b/app/Services/Invoice/InvoiceService.php index c02946122db0..153e5fd0bf1a 100644 --- a/app/Services/Invoice/InvoiceService.php +++ b/app/Services/Invoice/InvoiceService.php @@ -138,7 +138,7 @@ class InvoiceService { // $this->invoice = (new UpdateBalance($this->invoice, $balance_adjustment, $is_draft))->run(); - if ($this->invoice->is_deleted) { + if ((bool)$this->invoice->is_deleted !== false) { return $this; }