contract blade

This commit is contained in:
2019-04-28 15:49:56 -05:00
parent 9d59fc4068
commit edd7c8950d
2 changed files with 11 additions and 2 deletions

View File

@@ -73,10 +73,18 @@ class ContractController extends Controller
//Get all of the bids for the current contract
$bids = Bid::where(['contract_id' => $contract->id])->get();
//Build the data structure
$temp = [
'contract' => [
'con' => $contract,
'bids' => $bids,
],
];
/*
$temp = [
'contract' => $contract,
'bids' => $bids,
];
*/
//Push the new contract onto the stack
array_push($data, $temp);