vehresource form

This commit is contained in:
2022-08-28 15:08:15 -04:00
parent f4a19837bb
commit d4a3fb430b
2 changed files with 26 additions and 2 deletions

View File

@ -31,4 +31,9 @@ class CarShowCategory extends Model
{
return $this->hasMany(CarShowWinner::class, 'category');
}
public function scopeVehtype($query)
{
return $query->where('vehicle_type', 1);
}
}