Added command line send/reject for orders

This commit is contained in:
Deon George
2018-09-18 12:37:04 +10:00
parent cf46a2cf42
commit aeacb726dd
7 changed files with 202 additions and 4 deletions

View File

@@ -56,6 +56,16 @@ class Service extends Model
return $this->belongsTo(Account::class);
}
public function orderby()
{
return $this->belongsTo(Account::class);
}
public function site()
{
return $this->belongsTo(Site::class);
}
public function service_adsl()
{
return $this->belongsTo(ServiceAdsl::class,'id','service_id');