More debugging

This commit is contained in:
Rick Falkvinge
2018-01-01 21:13:19 +01:00
parent 6457a63b5d
commit cac41d8129
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -350,13 +350,13 @@
idField="id" treeField="id">
<thead>
<tr>
<th data-options="field:'id',width:70,align:'right'"><asp:Label ID="LabelTreeHeaderId" runat="server" Text="ID#"/></th>
<th data-options="field:'id',width:80"><asp:Label ID="LabelTreeHeaderId" runat="server" Text="ID#"/></th>
<th data-options="field:'datetime',width:90,sortable:true"><asp:Label ID="LabelTreeHeaderDateTime" runat="server" Text="XYZ DateTime" /></th>
<th data-options="field:'description',width:250"><asp:Label ID="LabelTreeHeaderDescriptionAccount" runat="server" Text="XYZ Description, Account" /></th>
<th data-options="field:'description',width:230"><asp:Label ID="LabelTreeHeaderDescriptionAccount" runat="server" Text="XYZ Description, Account" /></th>
<th data-options="field:'deltaPos',width:70,align:'right'"><asp:Label ID="LabelTreeHeaderDeltaPositive" runat="server" Text="XYZ Debit" /></th>
<th data-options="field:'deltaNeg',width:70,align:'right'"><asp:Label ID="LabelTreeHeaderDeltaNegative" runat="server" Text="XYZ Credit" /></th>
<th data-options="field:'balance',width:80,align:'right'"><asp:Label ID="LabelTreeHeaderBalance" runat="server" Text="XYZ Balance" /></th>
<th data-options="field:'action',width:43,align:'center'"><asp:Label ID="LabelTreeHeaderAction" runat="server" Text="XYZAct" /></th>
<th data-options="field:'action',width:53,align:'center'"><asp:Label ID="LabelTreeHeaderAction" runat="server" Text="XYZAct" /></th>
</tr>
</thead>
</table>
@@ -126,7 +126,7 @@ namespace Swarmops.Frontend.Pages.v5.Ledgers
string description = transaction.Description;
result.Append("{" + String.Format(
"\"id\":\"{0:N0}\",\"datetime\":\"{1:MMM-dd HH:mm}\",\"description\":\"{2}\"," +
"\"id\":\"<span class='weight-emphasis'>{0:N0}</span>\",\"datetime\":\"<span class='weight-emphasis'>{1:MMM-dd HH:mm}</span>\",\"description\":\"<span class='weight-emphasis'>{2}</span>\"," +
"\"state\":\"open\",\"children\":[",
row.Transaction.OrganizationSequenceId,
row.TransactionDateTime,