Fix invoices not being generated when price is null, service update rendering updates

This commit is contained in:
Deon George
2022-10-18 17:24:53 +11:00
parent a87560ff96
commit bfd17b0686
6 changed files with 95 additions and 50 deletions

View File

@@ -1190,7 +1190,7 @@ class Service extends Model implements IDs
*/
public function isBilled(): bool
{
return ! ($this->external_billing || $this->suspend_billing || ($this->price == 0));
return ! ($this->external_billing || $this->suspend_billing || ($this->price === 0));
}
/**