ending contracts

This commit is contained in:
2019-05-02 23:27:17 -05:00
parent 742b6cb78d
commit 965f599f75

View File

@@ -114,7 +114,7 @@ class ContractAdminController extends Controller
public function displayEndContract($id) {
//Gather the information for the contract, and all bids on the contract
$contract = Contract::where(['contract_id' => $id])->first()->toArray();
$bids = Bid::where(['contract_id' => $id])-get()->toArray();
$bids = Bid::where(['contract_id' => $id])->get()->toArray();
return view('contracts.admin.endcontract')->with('contract', $contract)
->with('bids', $bids);