minor fixes
This commit is contained in:
@@ -67,6 +67,11 @@ class Delivery extends Model
|
||||
return $query->where($this->table.'.at_house', 1);
|
||||
}
|
||||
|
||||
public function scopeBySaleChannel($query)
|
||||
{
|
||||
return $query->where($this->table.'.sale_channel_id', 1);
|
||||
}
|
||||
|
||||
public function scopeManaged($query)
|
||||
{
|
||||
return $query->byPublic(0);
|
||||
|
||||
Reference in New Issue
Block a user