fixes
This commit is contained in:
@@ -51,4 +51,10 @@ class Offers
|
||||
{
|
||||
return Offer::destroy($id);
|
||||
}
|
||||
|
||||
public static function toggle_active($id, $active)
|
||||
{
|
||||
return self::update(['status_id' => $active], $id);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user