diff --git a/app/Http/Controllers/Contracts/SupplyChainController.php b/app/Http/Controllers/Contracts/SupplyChainController.php index a0b03d36f..3cd4d28ee 100644 --- a/app/Http/Controllers/Contracts/SupplyChainController.php +++ b/app/Http/Controllers/Contracts/SupplyChainController.php @@ -208,7 +208,7 @@ class SupplyChainController extends Controller //Display bids for the user on a page $bids = array(); - $bidsCount = SupplyChain::where([ + $bidsCount = SupplyChainBid::where([ 'entity_id' => auth()->user()->getId(), 'bid_type' => 'pending', ])->count();