diff --git a/Site5/App_GlobalResources/Pages.Ledgers.resx b/Site5/App_GlobalResources/Pages.Ledgers.resx index 9d32d4b4..363726a6 100644 --- a/Site5/App_GlobalResources/Pages.Ledgers.resx +++ b/Site5/App_GlobalResources/Pages.Ledgers.resx @@ -243,6 +243,12 @@ Set New Budgets Text on submit button + + Account Statement + + + Bank Account + Bank Screenshot Displayed as header above modally zoomed screenshot @@ -287,6 +293,10 @@ File Imported, But Data Out Of Sync Displayed as header after a good processing that ended in sync failure + + File Type + can be Account Statement or Payments File + Error on importing file Displayed as header on import failure @@ -299,6 +309,9 @@ Here, you can upload files from your bank or payment provider into your organization's bookkeeping. Examples include account history and payments received. Displayed in sidebar on page. + + Instructions + Upload Bank Files Displayed above main content. @@ -317,6 +330,9 @@ no payment groups|one payment group|{0} payment groups none|one|many + + Payments File + The payment file contained {0}. @@ -327,6 +343,25 @@ There was also some duplicate information ({0} across {1}). + + Processing File... + + + Processing Complete + + + <p><strong>The file could not be read as an input file to this bank.</strong></p><p>There are several reasons this could happen: the file may be bad, the bank may have silently changed its format, or you uploaded the wrong file entirely. Please try again.</p> + Displayed when the input file can't be parsed, before import attempt. + + + <p>The file has been <strong>successfully imported.</strong> {0:N} new transactions imported; {1:N} discarded as duplicates of what was already in Swarmops. The account balance in Swarmops matches that of the bank.</p><p>The file contained transactions from {2:yyyy-MMM-dd} to {3:yyyy-MMM-dd}.</p> + Zero is new transaction count, one is duplicate transaction count, two and three are lowest and highest dates found in file. Pay attention to date format and adjust to culture. + + + <p>The file was imported, but the <strong>resulting account balance mismatches.</strong></p><p>After importing {0:N} transactions (and discarding {1:N} duplicates), the entire file has been processed. However, the resulting account balance in Swarmops is not the same as that of the bank statement.</p> +<p>Please try uploading a fresh account statement. If that still produces a mismatch, you may need to try <a href="/Pages/v5/Ledgers/ResyncExternalAccount.aspx">resynchronizing</a>the bank account with a comprehensive account statement file.</p> + Displayed on successful import, but the resulting balance is off compared to the account statement file that was just uploaded. + Select Bookkeeping Account Select prompt for the financial account in the organization's bookkeeping. @@ -340,10 +375,10 @@ Upload another bank file? - Displayed as link + Displayed as header after uploading one file - Upload Bank File + Upload bank file Displayed as header above download instructions / upload form diff --git a/Site5/Automation/Json-ByGuid.aspx.cs b/Site5/Automation/Json-ByGuid.aspx.cs index 40ec87ba..b20e6171 100644 --- a/Site5/Automation/Json-ByGuid.aspx.cs +++ b/Site5/Automation/Json-ByGuid.aspx.cs @@ -17,7 +17,7 @@ namespace Swarmops.Frontend.Automation } [WebMethod] - int GetProgress(string guid) + static public int GetProgress(string guid) { return (int) GuidCache.Get(guid + "-Progress"); // suffix because guid may refer to other data too } diff --git a/Site5/Pages/v5/Ledgers/UploadBankFiles.aspx b/Site5/Pages/v5/Ledgers/UploadBankFiles.aspx index ead189f2..e8a181b5 100644 --- a/Site5/Pages/v5/Ledgers/UploadBankFiles.aspx +++ b/Site5/Pages/v5/Ledgers/UploadBankFiles.aspx @@ -3,13 +3,13 @@ <%@ Register src="~/Controls/v5/Base/FileUpload.ascx" tagname="FileUpload" tagprefix="Swarmops5" %> + -