diff --git a/Site5/App_GlobalResources/Pages.Ledgers.resx b/Site5/App_GlobalResources/Pages.Ledgers.resx
index a1ea7818..2c391149 100644
--- a/Site5/App_GlobalResources/Pages.Ledgers.resx
+++ b/Site5/App_GlobalResources/Pages.Ledgers.resx
@@ -521,6 +521,9 @@
Inspecting a single transaction is not yet implemented. It is scheduled for one of the early Swarmops Red sprints, late 2005Q1.
+
+ Account has no transactions in this time period.
+
Outbound Balance
diff --git a/Site5/Pages/v5/Ledgers/Json-InspectLedgerData.aspx.cs b/Site5/Pages/v5/Ledgers/Json-InspectLedgerData.aspx.cs
index 98b84a7c..7011ceb6 100644
--- a/Site5/Pages/v5/Ledgers/Json-InspectLedgerData.aspx.cs
+++ b/Site5/Pages/v5/Ledgers/Json-InspectLedgerData.aspx.cs
@@ -167,6 +167,14 @@ namespace Swarmops.Frontend.Pages.v5.Ledgers
runningBalance / 100.0) + "},");
}
+ if (rows.Count == 0)
+ {
+ // If there are no transactions in this time period, say so
+
+ result.Append("{\"description\":\"" +
+ JsonSanitize(Resources.Pages.Ledgers.InspectLedgers_NoTransactions) + "\"},");
+ }
+
result.Append("{" +
String.Format("\"description\":\"{0}\",\"balance\":\"{1:N0}\"", JsonSanitize(endString), runningBalance / 100.0) + "},");