all contracts

This commit is contained in:
2019-04-29 02:01:39 -05:00
parent b111d8e0ce
commit cfd38b0758

View File

@@ -108,7 +108,7 @@ class ContractController extends Controller
$today = Carbon::now(); $today = Carbon::now();
//Fetch all of the current contracts from the database //Fetch all of the current contracts from the database
$contractTemp = Contract::where('end_date', '>=', $today) $contractsTemp = Contract::where('end_date', '>=', $today)
->where(['type' => 'private'])->get(); ->where(['type' => 'private'])->get();
//Count the number of bids, and add them to the arrays //Count the number of bids, and add them to the arrays