past contract stuff

This commit is contained in:
2020-06-29 00:32:39 -05:00
parent 9fc304040a
commit 854438a2ee

View File

@@ -38,7 +38,7 @@ class ContractAdminController extends Controller
}
public function displayPastContracts() {
$contractsTemp = Contract::where(['finished' => true])->where('updated_at', '>', Carbon::now()->subMonths(2))->get();
$contracts = Contract::where(['finished' => true])->where('updated_at', '>', Carbon::now()->subMonths(2))->get();
return view('contracts.admin.past')->with('contracts', $contracts);
}