public contract?

This commit is contained in:
2019-04-28 21:54:25 -05:00
parent dad530f8e4
commit e9cd1661d6

View File

@@ -68,6 +68,7 @@ class ContractController extends Controller
//Count the number of bids, and add them to the arrays
foreach($contracts as $contract) {
dd($contract);
$tempCount = Bid::where(['contract_id' => $contract['id']])->count('contract_id');
$bids = Bid::where(['contract_id' => $contract['id']])->get()->toArray();