diff --git a/Site/App_GlobalResources/Pages.Ledgers.designer.cs b/Site/App_GlobalResources/Pages.Ledgers.designer.cs
index 7740f247..4b7b166c 100644
--- a/Site/App_GlobalResources/Pages.Ledgers.designer.cs
+++ b/Site/App_GlobalResources/Pages.Ledgers.designer.cs
@@ -861,6 +861,15 @@ namespace Resources.Pages {
}
}
+ ///
+ /// Looks up a localized string similar to There are no unbalanced transactions. Yay!.
+ ///
+ internal static string BalanceTransactions_NoUnbalancedTransactions {
+ get {
+ return ResourceManager.GetString("BalanceTransactions_NoUnbalancedTransactions", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Amount Within 1% Tolerance.
///
@@ -1178,7 +1187,7 @@ namespace Resources.Pages {
}
///
- /// Looks up a localized string similar to External Account Data and Match Accounts.
+ /// Looks up a localized string similar to External Account Data and Account Matching.
///
internal static string EndOfMonth_Header_ExternalData {
get {
@@ -1196,11 +1205,11 @@ namespace Resources.Pages {
}
///
- /// Looks up a localized string similar to Send Reports to Accountants, Shareholders, etc..
+ /// Looks up a localized string similar to Quarterly Reports.
///
- internal static string EndOfMonth_Header_SendReports {
+ internal static string EndOfMonth_Header_QuarterlyReports {
get {
- return ResourceManager.GetString("EndOfMonth_Header_SendReports", resourceCulture);
+ return ResourceManager.GetString("EndOfMonth_Header_QuarterlyReports", resourceCulture);
}
}
@@ -1240,6 +1249,15 @@ namespace Resources.Pages {
}
}
+ ///
+ /// Looks up a localized string similar to Send Reports to Accountants, Shareholders, etc..
+ ///
+ internal static string EndOfMonth_SendReports {
+ get {
+ return ResourceManager.GetString("EndOfMonth_SendReports", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to <strong>SKIP BANK STATEMENT?</strong><br/><br/>Bank statements are typically needed for audit verification of the internal records. The only valid reason to skip a month's statement is that the account wasn't opened yet, in which case you skip the months before the account was opened and no statements therefore exist.<br/><br/>You won't be asked again to upload this particular statement if you skip it now..
///
diff --git a/Site/App_GlobalResources/Pages.Ledgers.resx b/Site/App_GlobalResources/Pages.Ledgers.resx
index ac9ac482..a099f804 100644
--- a/Site/App_GlobalResources/Pages.Ledgers.resx
+++ b/Site/App_GlobalResources/Pages.Ledgers.resx
@@ -997,14 +997,14 @@
This is the header for closing of ledgers and generation of annual reports at the end-of-month routine
- External Account Data and Match Accounts
+ External Account Data and Account Matching
This is the header for uploading bank statements and resolving unmatched transactions at end-of-month.
Payroll And Taxes
This is the header for all tax reports and payroll processing for the end-of-month (start-of-next-month) routine.
-
+
Send Reports to Accountants, Shareholders, etc.
This is the header for all items that send reports to external people at the end-of-month routine.
@@ -1075,12 +1075,19 @@ This can happen after bitcoin splits ("forks") or similar even
Inspect Bitcoin Cash Hotwallet For
This is followed by a year and month dropdown
+
+ There are no unbalanced transactions. Yay!
+
The transaction file could not be processed. Is it the right file? For the right bank? Please try again.<br/><br/>If the error persists, try getting a fresh transaction file.
FILE COULD NOT BE IMPORTED
+
+ Quarterly Reports
+ Presented in April, July, and October. Not in January (those are annual reports).
+
PROBLEM WITH TRANSACTION FILE
diff --git a/Site/Pages/v5/Ledgers/Json-UnbalancedTransactions.aspx.cs b/Site/Pages/v5/Ledgers/Json-UnbalancedTransactions.aspx.cs
index 4b17a50c..16e42f7e 100644
--- a/Site/Pages/v5/Ledgers/Json-UnbalancedTransactions.aspx.cs
+++ b/Site/Pages/v5/Ledgers/Json-UnbalancedTransactions.aspx.cs
@@ -17,6 +17,19 @@ namespace Swarmops.Frontend.Pages.v5.Ledgers
if (
CurrentAuthority.HasAccess (new Access (CurrentOrganization, AccessAspect.BookkeepingDetails, AccessType.Read)))
{
+ if (unbalancedTransactions.Count == 0)
+ {
+ if (rows.Count == 0)
+ {
+ // If there are no transactions in this time period, say so
+
+ Response.Output.WriteLine("[{\"description\":\"" +
+ JsonSanitize(Resources.Pages.Ledgers.BalanceTransactions_NoUnbalancedTransactions) + "\"}]");
+ Response.End();
+ return;
+ }
+ }
+
foreach (FinancialTransaction transaction in unbalancedTransactions)
{
string accountName = string.Empty;