vehresource form
This commit is contained in:
@ -31,4 +31,9 @@ class CarShowCategory extends Model
|
||||
{
|
||||
return $this->hasMany(CarShowWinner::class, 'category');
|
||||
}
|
||||
|
||||
public function scopeVehtype($query)
|
||||
{
|
||||
return $query->where('vehicle_type', 1);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user