Work on VOIP and Domain products

This commit is contained in:
Deon George
2020-02-19 23:37:45 +11:00
parent 910edfd89f
commit 8311bfc268
9 changed files with 220 additions and 40 deletions

View File

@@ -15,22 +15,11 @@ class Adsl extends ServiceType implements ServiceItem
use NextKey;
const RECORD_ID = 'service__adsl';
// @todo column service_id can be removed.
protected $table = 'ab_service__adsl';
protected $dates = [
'service_connect_date',
'service_contract_date'
];
/**
* The service this belongs to
*
* @return BelongsTo|MorphOne
*/
public function service()
{
return $this->belongsTo(Service::class);
}
protected $table = 'ab_service__adsl';
/** SCOPES */