Work on hotwallet audit
This commit is contained in:
@@ -501,11 +501,11 @@
|
||||
<tr>
|
||||
<th data-options="field:'id',width:70,align:'right'"><asp:Label ID="LabelHotwalletHeaderId" runat="server" Text="ID#"/></th>
|
||||
<th data-options="field:'datetime',width:90,sortable:true"><asp:Label ID="LabelHotwalletHeaderDateTime" runat="server" Text="XYZ DateTime" /></th>
|
||||
<th data-options="field:'description',width:250"><asp:Label ID="LabelHotwalletHeaderDescription" runat="server" Text="XYZ Description" /></th>
|
||||
<th data-options="field:'description',width:205"><asp:Label ID="LabelHotwalletHeaderDescription" runat="server" Text="XYZ Description" /></th>
|
||||
<th data-options="field:'deltaPresentation',width:70,align:'right'"><asp:Label ID="LabelHotwalletHeaderPresentationCurrency" runat="server" Text="XYZ SEK" /></th>
|
||||
<th data-options="field:'deltaBitcoin',width:70,align:'right'"><asp:Label ID="LabelHotwalletHeaderMicrocoin" runat="server" Text="XYZ Microcoin" /></th>
|
||||
<th data-options="field:'balanceBitcoin',width:80,align:'right'"><asp:Label ID="LabelHotwalletHeaderBalance" runat="server" Text="XYZ Coin balance" /></th>
|
||||
<th data-options="field:'action',width:43,align:'center'"><asp:Label ID="LabelHotwalletActions" runat="server" Text="XYZAct" /></th>
|
||||
<th data-options="field:'balanceBitcoin',width:100,align:'right'"><asp:Label ID="LabelHotwalletHeaderBalance" runat="server" Text="XYZ Coin balance" /></th>
|
||||
<th data-options="field:'action',width:68,align:'center'"><asp:Label ID="LabelHotwalletActions" runat="server" Text="XYZAct" /></th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
|
||||
@@ -154,14 +154,14 @@ namespace Swarmops.Frontend.Pages.v5.Ledgers
|
||||
"<img src='/Images/Icons/iconshock-search-256px.png' onmouseover=\"this.src='/Images/Icons/iconshock-search-hot-256px.png';\" onmouseout=\"this.src='/Images/Icons/iconshock-search-256px.png';\" data-txid='{0}' class='LocalIconInspect' style='cursor:pointer' height='20' width='20' />";
|
||||
|
||||
string actionHtml = String.Format(hasDoxString, row.FinancialTransactionId.ToString(CultureInfo.InvariantCulture));
|
||||
|
||||
/*
|
||||
if (canSeeAudit)
|
||||
{
|
||||
actionHtml +=
|
||||
String.Format(
|
||||
" <img src=\"/Images/Icons/iconshock-flag-white-16px.png\" class=\"LocalIconFlag\" txId=\"{0}\" />",
|
||||
row.FinancialTransactionId.ToString(CultureInfo.InvariantCulture));
|
||||
}
|
||||
}*/
|
||||
|
||||
result.Append("{" + String.Format(
|
||||
"\"id\":\"{0:N0}\",\"datetime\":\"{1:MMM-dd HH:mm}\",\"description\":\"{2}\"," +
|
||||
@@ -184,8 +184,8 @@ namespace Swarmops.Frontend.Pages.v5.Ledgers
|
||||
}
|
||||
|
||||
result.Append("{" +
|
||||
String.Format("\"description\":\"{0}\",\"balance\":\"{1:N2}\"", JsonSanitize(endString),
|
||||
runningBalance / 100.0) + "},");
|
||||
String.Format("\"description\":\"{0}\",\"balanceBitcoin\":\"{1:N2}\"", JsonSanitize(endString),
|
||||
runningBitcoinBalance / 100.0) + "},");
|
||||
|
||||
Response.Output.WriteLine("[" + result.ToString().TrimEnd(',') + "]");
|
||||
Response.End();
|
||||
|
||||
Reference in New Issue
Block a user