supply chain stuff

This commit is contained in:
2020-07-20 06:46:54 -05:00
parent 2d2395a97d
commit 997d29c88a
3 changed files with 31 additions and 3 deletions

View File

@@ -298,9 +298,18 @@ class SupplyChainController extends Controller
'contract_id' => 'required',
]);
//Get the contract id
$contractId = $request->contract_id;
//Get the bid id to be modified later
$bid = SupplyChainBid::where([
'contract_id' => $contractId,
'entity_id' => auth()->user()->getId(),
])->get();
return view('supplychain.forms.modifybid')->with('contractId', $contractId);
$bidId = $bid->id;
return view('supplychain.forms.modifybid')->with('contractId', $contractId)
->with('bidId', $bidId);
}
/**