supply chain controller

This commit is contained in:
2020-08-07 13:57:27 -05:00
parent a08959980a
commit 76cbe6a073

View File

@@ -375,7 +375,7 @@ class SupplyChainController extends Controller
$bid = SupplyChainBid::where([
'contract_id' => $contractId,
'entity_id' => auth()->user()->getId(),
])->get();
])->first();
$bidId = $bid->id;