changes
This commit is contained in:
@@ -180,7 +180,7 @@ class RestaurantApiServices
|
||||
public function DetailRestaurant($customerIamId, $id)
|
||||
{
|
||||
try {
|
||||
$rest = ManageRestaurant::select('id', 'short_id', 'name', 'description', 'restaurant_id', 'address', 'image', 'bio', 'try_on_1', 'try_on_2', 'try_on_3', 'try_on_4', 'exclusion', 'latitude', 'longtitude', 'state_xid')
|
||||
$rest = ManageRestaurant::with('closedRestaurant')->select('id', 'short_id', 'name', 'description', 'restaurant_id', 'address', 'image', 'bio', 'try_on_1', 'try_on_2', 'try_on_3', 'try_on_4', 'exclusion', 'latitude', 'longtitude', 'state_xid')
|
||||
->where('short_id', $id)
|
||||
->where('is_active', '1')
|
||||
->first();
|
||||
@@ -540,7 +540,7 @@ Log::info($restAllowedRedeemTime);
|
||||
public function searchRestaurant($customerIamId, $request)
|
||||
{
|
||||
try {
|
||||
$restaurantsQuery = ManageRestaurant::with('state')
|
||||
$restaurantsQuery = ManageRestaurant::with('state','closedRestaurant')
|
||||
->where('is_active', '1');
|
||||
|
||||
$searchData = $request->input('search_data');
|
||||
|
||||
Reference in New Issue
Block a user