diff --git a/app/Http/Controllers/ContractController.php b/app/Http/Controllers/ContractController.php index 266d856ea..98f09d1ff 100644 --- a/app/Http/Controllers/ContractController.php +++ b/app/Http/Controllers/ContractController.php @@ -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++) { diff --git a/resources/views/contracts/admin/newcontract.blade.php b/resources/views/contracts/admin/newcontract.blade.php index bfc743e6b..e416123a4 100644 --- a/resources/views/contracts/admin/newcontract.blade.php +++ b/resources/views/contracts/admin/newcontract.blade.php @@ -29,11 +29,11 @@