From 88b41b70d56e81ef1f7178bf28318981300bc5e4 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sun, 5 Dec 2021 19:42:12 +1100 Subject: [PATCH] Fixes for triggered actions --- app/Services/Invoice/TriggeredActions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') {