modify bids

This commit is contained in:
2019-04-29 00:37:07 -05:00
parent 0d8bc7037c
commit ba4ac0c2d0

View File

@@ -188,7 +188,7 @@ class ContractController extends Controller
$bid = Bid::where(['id' => $id])->first(); $bid = Bid::where(['id' => $id])->first();
//Retrieve the contract from the database //Retrieve the contract from the database
$contract = Contract::where(['id' => $bid->contract_id])->first()->toArray(); $contract = Contract::where(['contract_id' => $bid->contract_id])->first()->toArray();
return view('contracts.modifybid')->with('contract', $contract) return view('contracts.modifybid')->with('contract', $contract)
->with('bid', $bid); ->with('bid', $bid);