diff --git a/Site5/Pages/v5/Ledgers/InspectLedgers.aspx b/Site5/Pages/v5/Ledgers/InspectLedgers.aspx
index 83e794e2..6bde59ab 100644
--- a/Site5/Pages/v5/Ledgers/InspectLedgers.aspx
+++ b/Site5/Pages/v5/Ledgers/InspectLedgers.aspx
@@ -124,6 +124,7 @@
}
.spanAnnoyingBlink {
+ -webkit-animation: blink 0.5s linear infinite;
animation: blink 0.5s linear infinite;
}
@@ -131,6 +132,10 @@
0% { color: darkred; }
100% { color: red; }
}
+ @-webkit-keyframes blink {
+ 0% { color: darkred; }
+ 100% { color: red; }
+ }
@@ -163,7 +168,7 @@
diff --git a/Site5/Pages/v5/Ledgers/Json-InspectLedgerTxData.aspx.cs b/Site5/Pages/v5/Ledgers/Json-InspectLedgerTxData.aspx.cs
index aa45537f..ae2dcfda 100644
--- a/Site5/Pages/v5/Ledgers/Json-InspectLedgerTxData.aspx.cs
+++ b/Site5/Pages/v5/Ledgers/Json-InspectLedgerTxData.aspx.cs
@@ -88,12 +88,14 @@ namespace Swarmops.Frontend.Pages.v5.Ledgers
row.CreatedByPerson.Initials) + "},");
}
- if (rows.Count == 0)
+ Int64 amountCentsTotal = transaction.Rows.AmountCentsTotal;
+
+ if (amountCentsTotal == 0)
{
// If there are no transactions in this time period, say so
- result.Append ("{\"description\":\"" +
- JsonSanitize (Resources.Pages.Ledgers.InspectLedgers_NoTransactions) + "\"},");
+ result.Append ("{\"accountName\":\"" +
+ JsonSanitize (Resources.Pages.Ledgers.InspectLedgers_UnbalancedTransaction) + "\"},");
}
Response.Output.WriteLine ("[" + result.ToString().TrimEnd (',') + "]");