Fixes for auto bill
This commit is contained in:
parent
9f6fdb74c4
commit
04f8a89d75
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ class UpdateAutoBilling extends Component
|
|||
|
||||
public function updateAutoBilling(): void
|
||||
{
|
||||
if ($this->invoice->auto_bill === 'optin' || $this->invoice->auto_bill === 'optout') {
|
||||
if ($this->invoice->auto_bill == 'optin' || $this->invoice->auto_bill == 'optout') {
|
||||
$this->invoice->auto_bill_enabled = !$this->invoice->auto_bill_enabled;
|
||||
$this->invoice->save();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue