Show cancel date on service information widget
This commit is contained in:
@@ -1077,6 +1077,11 @@ class Service extends Model implements IDs
|
||||
&& (! in_array($this->order_status,array_merge(self::INACTIVE_STATUS,['INACTIVE'])));
|
||||
}
|
||||
|
||||
public function isPendingCancel(): bool
|
||||
{
|
||||
return in_array(strtolower($this->order_status),['cancel-request','cancel-pending']);
|
||||
}
|
||||
|
||||
/**
|
||||
* Generate a collection of invoice_item objects that will be billed for the next invoice
|
||||
*
|
||||
|
Reference in New Issue
Block a user