From eb6c1c7c3bb4863df782bdebb8a9933426aaf0e5 Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Fri, 7 Aug 2020 13:33:13 -0500 Subject: [PATCH] supply chain controller --- app/Http/Controllers/Contracts/SupplyChainController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();