unused relationships
This commit is contained in:
@@ -59,11 +59,6 @@ class Bill extends Model
|
||||
return $this->belongsTo('App\Models\Expense\BillStatus', 'bill_status_code', 'code');
|
||||
}
|
||||
|
||||
public function item()
|
||||
{
|
||||
return $this->belongsTo('App\Models\Expense\BillItem', 'id', 'bill_id');
|
||||
}
|
||||
|
||||
public function items()
|
||||
{
|
||||
return $this->hasMany('App\Models\Expense\BillItem');
|
||||
@@ -74,11 +69,6 @@ class Bill extends Model
|
||||
return $this->hasMany('App\Models\Expense\BillTotal');
|
||||
}
|
||||
|
||||
public function payment()
|
||||
{
|
||||
return $this->belongsTo('App\Models\Expense\BillPayment', 'id', 'bill_id');
|
||||
}
|
||||
|
||||
public function payments()
|
||||
{
|
||||
return $this->hasMany('App\Models\Expense\BillPayment');
|
||||
|
||||
Reference in New Issue
Block a user