modify bids

This commit is contained in:
2019-04-29 00:36:29 -05:00
parent 7bd0a4767c
commit 0d8bc7037c

View File

@@ -186,9 +186,9 @@ class ContractController extends Controller
public function displayModifyBid($id) {
//With the bid id number, look up the bid in the database to get the contract information
$bid = Bid::where(['id' => $id])->first();
dd($bid);
//Retrieve the contract from the database
$contract = Contract::where(['id' => $bid->contract_id])->get()->toArray();
$contract = Contract::where(['id' => $bid->contract_id])->first()->toArray();
return view('contracts.modifybid')->with('contract', $contract)
->with('bid', $bid);