Merge pull request #365 from Ritikeshyadav/RitikeshFreeu
Ritikesh freeu
This commit is contained in:
@@ -677,7 +677,7 @@ class MarketPlaceController extends Controller
|
||||
{
|
||||
$interestedStatus = false;
|
||||
if (request()->user()) {
|
||||
$interestedStatus = MarketplaceBuyerForm::where(['users_id' => request()->user()->id, 'table' => $table, 'associated_id' => $offering->id])->exists();
|
||||
$interestedStatus = MarketplaceBuyerForm::where(['users_id' => request()->user()->id, 'table' => $table, 'associated_id' => $offering->id])->where('status','!=','Sold')->exists();
|
||||
}
|
||||
$totalInterestedBuyers = MarketplaceBuyerForm::where(['table' => $table, 'associated_id' => $offering->id])->count();
|
||||
return [
|
||||
|
||||
Reference in New Issue
Block a user