Work on SSL and Host accounts
This commit is contained in:
@@ -819,7 +819,7 @@ class Service extends Model
|
||||
}
|
||||
|
||||
// If the service is active, there will be service charges
|
||||
if ((! $this->invoice_items->filter(function($item) { return $item->item_type==0 AND ! $item->exists; })->sum('total'))
|
||||
if ((! $this->invoice_items->filter(function($item) { return $item->item_type==0 AND ! $item->exists; })->count())
|
||||
AND ($this->active OR $this->isPending()))
|
||||
{
|
||||
do {
|
||||
|
Reference in New Issue
Block a user