past contracts for nav bar on admin dashboard menu
This commit is contained in:
@@ -45,9 +45,10 @@ class ContractAdminController extends Controller
|
|||||||
//Get the accepted bid for the contract and add it to the array
|
//Get the accepted bid for the contract and add it to the array
|
||||||
$accepted = AcceptedBid::where([
|
$accepted = AcceptedBid::where([
|
||||||
'contract_id' => $contract['contract_id'],
|
'contract_id' => $contract['contract_id'],
|
||||||
])->get()->toArray();
|
])->get();
|
||||||
dd($accepted);
|
|
||||||
$contract['accepted'] = $accepted;
|
$contract['accepted'] = $accepted->bid_amount;
|
||||||
|
$contract['accepted_notes'] = $accepted->notes;
|
||||||
}
|
}
|
||||||
|
|
||||||
dd($contracts);
|
dd($contracts);
|
||||||
|
|||||||
Reference in New Issue
Block a user