update rm deadcode
This commit is contained in:
@@ -52,6 +52,12 @@ class Invoice extends Model
|
||||
return $this->hasMany(Service::class, 'invoice_id');
|
||||
}
|
||||
|
||||
/** The service this invoice upgrades, for invoice_type = 3 (upgrade). */
|
||||
public function service()
|
||||
{
|
||||
return $this->belongsTo(Service::class, 'service_id');
|
||||
}
|
||||
|
||||
|
||||
public function payment()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user