This commit is contained in:
ludo
2024-01-22 22:50:56 +01:00
parent af5fc8d0ee
commit 0bb75125a7

View File

@@ -39,4 +39,9 @@ class CustomerAddress extends Model
{
return $query->where('type', $id);
}
public function scopeDefault($query)
{
return $query->where('priority', 1);
}
}