diff --git a/app/Services/Invoice/TriggeredActions.php b/app/Services/Invoice/TriggeredActions.php index cc7de3dc3b4e..b2f2ee395b53 100644 --- a/app/Services/Invoice/TriggeredActions.php +++ b/app/Services/Invoice/TriggeredActions.php @@ -37,7 +37,7 @@ class TriggeredActions extends AbstractService public function run() { if ($this->request->has('auto_bill') && $this->request->input('auto_bill') == 'true') { - $this->invoice = $this->invoice->service()->autoBill(); + $this->invoice->service()->autoBill(); } if ($this->request->has('paid') && $this->request->input('paid') == 'true') {