update
This commit is contained in:
@@ -39,4 +39,9 @@ class CustomerAddress extends Model
|
||||
{
|
||||
return $query->where('type', $id);
|
||||
}
|
||||
|
||||
public function scopeDefault($query)
|
||||
{
|
||||
return $query->where('priority', 1);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user