Minor display fixes, link to old site

This commit is contained in:
Deon George
2018-07-16 15:06:43 +10:00
parent 64b6c09b8f
commit 1821810570
21 changed files with 375 additions and 203 deletions

View File

@@ -0,0 +1,22 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
/**
* Abstract Base Model for Services
*/
abstract class Service_Model extends Model
{
public function service()
{
return $this->belongsTo(Service::class);
}
/**
* The name of the server, that will appear on invoices/service displays
* @return mixed
*/
abstract public function getNameAttribute();
}