Commit 52885136 authored by Clint Mourlevat's avatar Clint Mourlevat

Fixing outputs empty

parent 6773e8d7
...@@ -62,6 +62,8 @@ ...@@ -62,6 +62,8 @@
<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>
@if (Model.outputs != null)
{
<tr> <tr>
<td><strong>Total Output</strong></td> <td><strong>Total Output</strong></td>
<td> <td>
...@@ -70,11 +72,12 @@ ...@@ -70,11 +72,12 @@
} }
@foreach (var t in Model.outputs) @foreach (var t in Model.outputs)
{ {
totalOutpus += (double)t.balance; totalOutpus += (double) t.balance;
} }
@totalOutpus.ToString("N8") STRAT @totalOutpus.ToString("N8") STRAT
</td> </td>
</tr> </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