Commit 52885136 authored by Clint Mourlevat's avatar Clint Mourlevat

Fixing outputs empty

parent 6773e8d7
...@@ -62,19 +62,22 @@ ...@@ -62,19 +62,22 @@
<td><strong>Block Date/Time</strong></td> <td><strong>Block Date/Time</strong></td>
<td>@Model.timestamp.ToString("F")</td> <td>@Model.timestamp.ToString("F")</td>
</tr> </tr>
<tr> @if (Model.outputs != null)
<td><strong>Total Output</strong></td> {
<td> <tr>
@{ <td><strong>Total Output</strong></td>
double totalOutpus = 0; <td>
} @{
@foreach (var t in Model.outputs) double totalOutpus = 0;
{ }
totalOutpus += (double)t.balance; @foreach (var t in Model.outputs)
} {
@totalOutpus.ToString("N8") STRAT totalOutpus += (double) t.balance;
</td> }
</tr> @totalOutpus.ToString("N8") STRAT
</td>
</tr>
}
</tbody> </tbody>
</table> </table>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment