update payments and vat mentions
This commit is contained in:
@@ -30,6 +30,11 @@ class PriceListValue extends Model
|
||||
);
|
||||
}
|
||||
|
||||
public function vat()
|
||||
{
|
||||
return $this->belongsTo(Tax::class, 'tax_id');
|
||||
}
|
||||
|
||||
public function scopeByPriceList($query, $id)
|
||||
{
|
||||
return $query->where($this->table.'.price_list_id', $id);
|
||||
|
||||
Reference in New Issue
Block a user