Skip to content
Snippets Groups Projects
Commit f0a9fa4e authored by Daniel Lorych's avatar Daniel Lorych :cookie:
Browse files

Add button to view more details on a panel

parent 29ba9a63
Branches
No related tags found
No related merge requests found
...@@ -31,6 +31,13 @@ namespace Helios.Controllers ...@@ -31,6 +31,13 @@ namespace Helios.Controllers
return View(model); return View(model);
} }
public ActionResult PanelBreakdown(PanelPerformance panel)
{
Console.WriteLine("Hello!");
return View();
}
} }
} }
...@@ -41,6 +41,8 @@ ...@@ -41,6 +41,8 @@
<th> <th>
@Html.DisplayNameFor(panelResult => panelResult.RoofResults[0].Panels[0].WithinBudget) @Html.DisplayNameFor(panelResult => panelResult.RoofResults[0].Panels[0].WithinBudget)
</th> </th>
<th>
</th>
</tr> </tr>
@foreach (var panel in roofResult.Panels) @foreach (var panel in roofResult.Panels)
...@@ -67,6 +69,9 @@ ...@@ -67,6 +69,9 @@
<td> <td>
@panel.WithinBudget @panel.WithinBudget
</td> </td>
<td>
@Html.ActionLink("Details", "PanelBreakdown", "Configurator", panel, null)
</td>
</tr> </tr>
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment