Minor fixes, coding standards
This commit is contained in:
@@ -32,16 +32,16 @@ class PriceList extends Model
|
||||
|
||||
public function scopeByTariff($query, $id)
|
||||
{
|
||||
return $query->where($this->table . '.tariff_id', $id);
|
||||
return $query->where($this->table . '.tariff_id', $id);
|
||||
}
|
||||
|
||||
public function scopeBySaleChannel($query, $id)
|
||||
{
|
||||
return $query->where($this->table . '.sale_channel_id', $id);
|
||||
return $query->where($this->table . '.sale_channel_id', $id);
|
||||
}
|
||||
|
||||
public function scopeByStatus($query, $id)
|
||||
{
|
||||
return $query->where($this->table . '.status_id', $id);
|
||||
return $query->where($this->table . '.status_id', $id);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user