This commit is contained in:
2019-04-30 00:39:48 -05:00
parent 0ebb227eb1
commit cd04c0e375
3 changed files with 5 additions and 5 deletions

View File

@@ -81,7 +81,7 @@ class ContractController extends Controller
//Fetch all of the current contracts from the database
$contractsTemp = Contract::where('end_date', '>=', $today)
->where(['type' => 'public'])->get()->toArray();
->where(['type' => 'Public'])->get()->toArray();
//Count the number of bids, and add them to the arrays
for($i = 0; $i < sizeof($contractsTemp); $i++) {
@@ -132,7 +132,7 @@ class ContractController extends Controller
//Fetch all of the current contracts from the database
$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
for($i = 0; $i < sizeof($contractsTemp); $i++) {