Some more cosmetics - final build for tonight
This commit is contained in:
@@ -92,11 +92,24 @@ namespace Swarmops.Frontend.Pages.v5.Ledgers
|
||||
result.Remove(result.Length - 1, 1); // remove last comma
|
||||
}
|
||||
|
||||
result.Append("],\"footer\":[{");
|
||||
result.Append("],\"footer\":[");
|
||||
|
||||
result.AppendFormat("\"id\":\"{0}\",\"amount\":\"{2:N2}\"",
|
||||
result.Append("{");
|
||||
|
||||
result.AppendFormat("\"description\":\"{0}\",\"amount\":\"{2:N2}\"",
|
||||
"Total", balanceExpectedCents, centsTotal/100.0);
|
||||
|
||||
result.Append("},{");
|
||||
|
||||
result.AppendFormat("\"description\":\"{0}\",\"amount\":\"{2:N2}\"",
|
||||
"Expected", balanceExpectedCents, centsTotal / 100.0);
|
||||
|
||||
result.Append("},{");
|
||||
|
||||
result.AppendFormat("\"description\":\"{0}\",\"amount\":\"{2:N2}\"",
|
||||
"Difference", balanceExpectedCents, 0.0);
|
||||
|
||||
|
||||
result.Append("}]}"); // on separate line to suppress warning
|
||||
|
||||
return result.ToString();
|
||||
|
||||
@@ -55,6 +55,10 @@
|
||||
color: #1C397E;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
table.datagrid-ftable {
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
</style>
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="PlaceHolderMain" Runat="Server">
|
||||
|
||||
Reference in New Issue
Block a user