Added in email hosting, and other misc cosmetic fixes
This commit is contained in:
@@ -27,6 +27,7 @@ use App\Interfaces\IDs;
|
||||
* + additional_cost : Pending additional charges for this service (excluding setup)
|
||||
* + billing_cost : Charge for this service each invoice period
|
||||
* + billing_interval : The period that this service is billed for by default
|
||||
* + billing_interval_string : The period that this service is billed for by default as a name
|
||||
* + name : Service short name with service address
|
||||
* + name_short : Service Product short name, eg: phone number, domain name, certificate CN
|
||||
* + name_detail : Service Detail, eg: service_address
|
||||
@@ -880,11 +881,11 @@ class Service extends Model implements IDs
|
||||
* This is used for view specific details
|
||||
*
|
||||
* @return string
|
||||
* @todo I think this can be removed - and dynamically determined
|
||||
*/
|
||||
public function getSTypeAttribute(): string
|
||||
{
|
||||
switch($this->product->model) {
|
||||
case 'App\Models\Product\Broadband': return 'broadband';
|
||||
default: return $this->type->type;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user