Localized "List unsettled accounts" - ready to deploy live
This commit is contained in:
@@ -300,7 +300,7 @@
|
||||
<data name="Financial_ExpenseClaimsLong" xml:space="preserve">
|
||||
<value>Expense Claims</value>
|
||||
</data>
|
||||
<data name="Financial_InbondInvoices" xml:space="preserve">
|
||||
<data name="Financial_InboundInvoices" xml:space="preserve">
|
||||
<value>Invoices</value>
|
||||
</data>
|
||||
<data name="Financial_InboundInvoicesLong" xml:space="preserve">
|
||||
@@ -318,4 +318,10 @@
|
||||
<data name="Global_NALong" xml:space="preserve">
|
||||
<value>Not Applicable</value>
|
||||
</data>
|
||||
<data name="Global_AsOfNow" xml:space="preserve">
|
||||
<value>As Of Now</value>
|
||||
</data>
|
||||
<data name="Global_Today" xml:space="preserve">
|
||||
<value>Today</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -271,7 +271,7 @@
|
||||
<value>Upload Bank Files</value>
|
||||
</data>
|
||||
<data name="Menu5_Ledgers_ViewOutstandingAccounts" xml:space="preserve">
|
||||
<value>View Outstanding Accounts</value>
|
||||
<value>List Unsettled Accounts</value>
|
||||
</data>
|
||||
<data name="Menu5_Organization" xml:space="preserve">
|
||||
<value>Organization</value>
|
||||
|
||||
@@ -331,10 +331,47 @@
|
||||
<value>Upload Bank File</value>
|
||||
<comment>Displayed as header above download instructions / upload form</comment>
|
||||
</data>
|
||||
<data name="ViewOutstandingAccounts_FooterDifference" xml:space="preserve">
|
||||
<value>Difference</value>
|
||||
</data>
|
||||
<data name="ViewOutstandingAccounts_FooterLedgerBalance" xml:space="preserve">
|
||||
<value>Ledger Balance</value>
|
||||
</data>
|
||||
<data name="ViewOutstandingAccounts_FooterTotal" xml:space="preserve">
|
||||
<value>Total</value>
|
||||
</data>
|
||||
<data name="ViewOutstandingAccounts_GridHeaderAction" xml:space="preserve">
|
||||
<value>Action</value>
|
||||
<comment>keep short</comment>
|
||||
</data>
|
||||
<data name="ViewOutstandingAccounts_GridHeaderAmount" xml:space="preserve">
|
||||
<value>Amount</value>
|
||||
</data>
|
||||
<data name="ViewOutstandingAccounts_GridHeaderDescription" xml:space="preserve">
|
||||
<value>Description</value>
|
||||
</data>
|
||||
<data name="ViewOutstandingAccounts_GridHeaderExpectedCloseDate" xml:space="preserve">
|
||||
<value>Exp Close</value>
|
||||
<comment>keep short</comment>
|
||||
</data>
|
||||
<data name="ViewOutstandingAccounts_GridHeaderId" xml:space="preserve">
|
||||
<value>ID#</value>
|
||||
<comment>keep short</comment>
|
||||
</data>
|
||||
<data name="ViewOutstandingAccounts_GridHeaderOpenedDate" xml:space="preserve">
|
||||
<value>Opened Date</value>
|
||||
<comment>keep short</comment>
|
||||
</data>
|
||||
<data name="ViewOutstandingAccounts_GridHeaderRecipient" xml:space="preserve">
|
||||
<value>Recipient</value>
|
||||
</data>
|
||||
<data name="ViewOutstandingAccounts_Header" xml:space="preserve">
|
||||
<value>List Unsettled</value>
|
||||
</data>
|
||||
<data name="ViewOutstandingAccounts_Info" xml:space="preserve">
|
||||
<value>This page lets you verify the outstanding accounts (expenses, invoices, cash advances, etc.) at the current point in time or at the time of closing of any previous ledger.</value>
|
||||
<value>This page lets you verify the outstanding and unsettled accounts (expenses, invoices, cash advances, etc.) at the current point in time or at the time of closing of any previous ledger.</value>
|
||||
</data>
|
||||
<data name="ViewOutstandingAccounts_PageTitle" xml:space="preserve">
|
||||
<value>View Outstanding Accounts</value>
|
||||
<value>List Unsettled Accounts</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -279,4 +279,40 @@
|
||||
<value>Saker att göra kommer att finnas här.</value>
|
||||
<comment>Placeholder for future action items. Temporary.</comment>
|
||||
</data>
|
||||
<data name="Financial_CashAdvances" xml:space="preserve">
|
||||
<value>Förskott</value>
|
||||
</data>
|
||||
<data name="Financial_CashAdvancesLong" xml:space="preserve">
|
||||
<value>Kontantförskott</value>
|
||||
</data>
|
||||
<data name="Financial_ExpenseClaims" xml:space="preserve">
|
||||
<value>Utlägg</value>
|
||||
</data>
|
||||
<data name="Financial_ExpenseClaimsLong" xml:space="preserve">
|
||||
<value>Utläggsanspråk</value>
|
||||
</data>
|
||||
<data name="Financial_InboundInvoices" xml:space="preserve">
|
||||
<value>Fakturor</value>
|
||||
</data>
|
||||
<data name="Financial_InboundInvoicesLong" xml:space="preserve">
|
||||
<value>Inkommande fakturor</value>
|
||||
</data>
|
||||
<data name="Financial_OutboundInvoices" xml:space="preserve">
|
||||
<value>Fakturor</value>
|
||||
</data>
|
||||
<data name="Financial_OutboundInvoicesLong" xml:space="preserve">
|
||||
<value>Utgående fakturor</value>
|
||||
</data>
|
||||
<data name="Global_NA" xml:space="preserve">
|
||||
<value>---</value>
|
||||
</data>
|
||||
<data name="Global_NALong" xml:space="preserve">
|
||||
<value>Inte tillämplig</value>
|
||||
</data>
|
||||
<data name="Global_AsOfNow" xml:space="preserve">
|
||||
<value>Just nu</value>
|
||||
</data>
|
||||
<data name="Global_Today" xml:space="preserve">
|
||||
<value>Idag</value>
|
||||
</data>
|
||||
</root>
|
||||
|
||||
@@ -270,6 +270,9 @@
|
||||
<data name="Menu5_Ledgers_UploadBankFiles" xml:space="preserve">
|
||||
<value>Ladda Upp Bankfiler</value>
|
||||
</data>
|
||||
<data name="Menu5_Ledgers_ViewOutstandingAccounts" xml:space="preserve">
|
||||
<value>Lista öppen reskontra</value>
|
||||
</data>
|
||||
<data name="Menu5_Organization" xml:space="preserve">
|
||||
<value>Organisation</value>
|
||||
</data>
|
||||
|
||||
@@ -256,4 +256,47 @@
|
||||
|
||||
|
||||
|
||||
<data name="ViewOutstandingAccounts_FooterDifference" xml:space="preserve">
|
||||
<value>Skillnad</value>
|
||||
</data>
|
||||
<data name="ViewOutstandingAccounts_FooterLedgerBalance" xml:space="preserve">
|
||||
<value>Böckernas balans</value>
|
||||
</data>
|
||||
<data name="ViewOutstandingAccounts_FooterTotal" xml:space="preserve">
|
||||
<value>Summa</value>
|
||||
</data>
|
||||
<data name="ViewOutstandingAccounts_GridHeaderAction" xml:space="preserve">
|
||||
<value>Agera</value>
|
||||
<comment>keep short</comment>
|
||||
</data>
|
||||
<data name="ViewOutstandingAccounts_GridHeaderAmount" xml:space="preserve">
|
||||
<value>Belopp</value>
|
||||
</data>
|
||||
<data name="ViewOutstandingAccounts_GridHeaderDescription" xml:space="preserve">
|
||||
<value>Beskrivning</value>
|
||||
</data>
|
||||
<data name="ViewOutstandingAccounts_GridHeaderExpectedCloseDate" xml:space="preserve">
|
||||
<value>Stängs prel</value>
|
||||
<comment>keep short</comment>
|
||||
</data>
|
||||
<data name="ViewOutstandingAccounts_GridHeaderId" xml:space="preserve">
|
||||
<value>Nr</value>
|
||||
<comment>keep short</comment>
|
||||
</data>
|
||||
<data name="ViewOutstandingAccounts_GridHeaderOpenedDate" xml:space="preserve">
|
||||
<value>Öppnad</value>
|
||||
<comment>keep short</comment>
|
||||
</data>
|
||||
<data name="ViewOutstandingAccounts_GridHeaderRecipient" xml:space="preserve">
|
||||
<value>Mottagare</value>
|
||||
</data>
|
||||
<data name="ViewOutstandingAccounts_Header" xml:space="preserve">
|
||||
<value>Lista öppna</value>
|
||||
</data>
|
||||
<data name="ViewOutstandingAccounts_Info" xml:space="preserve">
|
||||
<value>Denna sida visar utestående och öppen reskontra (utläggsanspråk, fakturor, kontantförskott etc), både i realtid och vid alla tidigare bokslutstillfällen.</value>
|
||||
</data>
|
||||
<data name="ViewOutstandingAccounts_PageTitle" xml:space="preserve">
|
||||
<value>Lista öppen reskontra</value>
|
||||
</data>
|
||||
</root>
|
||||
|
||||
@@ -190,17 +190,17 @@ namespace Swarmops.Frontend.Pages.v5.Ledgers
|
||||
result.Append("{");
|
||||
|
||||
result.AppendFormat("\"description\":\"{0}\",\"amount\":\"{2:N2}\"",
|
||||
"Total", balanceExpectedCents, centsTotal/100.0);
|
||||
Resources.Pages.Ledgers.ViewOutstandingAccounts_FooterTotal, balanceExpectedCents, centsTotal/100.0);
|
||||
|
||||
result.Append("},{");
|
||||
|
||||
result.AppendFormat("\"description\":\"{0}\",\"amount\":\"{1:N2}\"",
|
||||
"Expected", -balanceExpectedCents / 100.0); // Expenses is a debt account, so reverse sign
|
||||
Resources.Pages.Ledgers.ViewOutstandingAccounts_FooterLedgerBalance, -balanceExpectedCents / 100.0); // Expenses is a debt account, so reverse sign
|
||||
|
||||
result.Append("},{");
|
||||
|
||||
result.AppendFormat("\"description\":\"{0}\",\"amount\":\"{1:N2}\"",
|
||||
"Difference", (centsTotal + balanceExpectedCents) / 100.0);
|
||||
Resources.Pages.Ledgers.ViewOutstandingAccounts_FooterDifference, (centsTotal + balanceExpectedCents) / 100.0);
|
||||
|
||||
|
||||
result.Append("}]}"); // on separate line to suppress warning
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
</style>
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="PlaceHolderMain" Runat="Server">
|
||||
<h2><asp:Label runat="server" ID="ViewOutstandingAccountsHeader" Text="XYZ View Outstanding" /> <asp:DropDownList runat="server" ID="DropAccounts"/> <asp:DropDownList runat="server" ID="DropYears"/> <img alt="Loading" src="/Images/Abstract/ajaxloader-blackcircle.gif" ID="imageLoadIndicator" /></h2>
|
||||
<h2><asp:Label runat="server" ID="LabelViewOutstandingAccountsHeader" Text="XYZ View Outstanding" /> <asp:DropDownList runat="server" ID="DropAccounts"/> <asp:DropDownList runat="server" ID="DropYears"/> <img alt="Loading" src="/Images/Abstract/ajaxloader-blackcircle.gif" ID="imageLoadIndicator" /></h2>
|
||||
|
||||
<table id="gridOutstandingAccounts" class="easyui-datagrid" style="width:680px;height:500px"
|
||||
data-options="rownumbers:false,singleSelect:false,nowrap:false,fitColumns:true,fit:false,showFooter:true,loading:false,selectOnCheck:true,checkOnSelect:true,url:'Json-OutstandingAccounts.aspx'"
|
||||
@@ -75,9 +75,9 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th data-options="field:'id',width:40"><asp:Label ID="LabelGridHeaderId" runat="server" Text="ID#"/></th>
|
||||
<th data-options="field:'created',width:90,sortable:true"><asp:Label ID="LabelGridHeaderCreated" runat="server" Text="XYZ Created" /></th>
|
||||
<th data-options="field:'expected',width:90"><asp:Label ID="LabelGridHeaderBank" runat="server" Text="XYZ Due" /></th>
|
||||
<th data-options="field:'recipient',width:140,sortable:true"><asp:Label ID="LabelGridHeaderAccount" runat="server" Text="XYZ Person / Organization" /></th>
|
||||
<th data-options="field:'created',width:90,sortable:true"><asp:Label ID="LabelGridHeaderCreatedDate" runat="server" Text="XYZ Created" /></th>
|
||||
<th data-options="field:'expected',width:90"><asp:Label ID="LabelGridHeaderExpectedCloseDate" runat="server" Text="XYZ Due" /></th>
|
||||
<th data-options="field:'recipient',width:140,sortable:true"><asp:Label ID="LabelGridHeaderRecipient" runat="server" Text="XYZ Person / Organization" /></th>
|
||||
<th data-options="field:'description',width:180,sortable:true,order:'asc'"><asp:Label ID="LabelGridHeaderDescription" runat="server" Text="XYZ Description" /></th>
|
||||
<th data-options="field:'amount',width:90,align:'right'"><asp:Label ID="LabelGridHeaderAmount" runat="server" Text="XYZ Amount" /></th>
|
||||
<th data-options="field:'action',width:43,align:'center'"><asp:Label ID="LabelGridHeaderAction" runat="server" Text="XYZAct" /></th>
|
||||
|
||||
@@ -29,7 +29,7 @@ namespace Swarmops.Frontend.Pages.v5.Ledgers
|
||||
int year = DateTime.Today.Year-1;
|
||||
int firstFiscalYear = CurrentOrganization.FirstFiscalYear;
|
||||
|
||||
this.DropYears.Items.Add(new ListItem("XYZ Today", "Now"));
|
||||
this.DropYears.Items.Add(new ListItem(Resources.Global.Global_AsOfNow, "Now"));
|
||||
|
||||
while (year >= firstFiscalYear)
|
||||
{
|
||||
@@ -49,6 +49,15 @@ namespace Swarmops.Frontend.Pages.v5.Ledgers
|
||||
{
|
||||
this.PageTitle = Resources.Pages.Ledgers.ViewOutstandingAccounts_PageTitle;
|
||||
this.InfoBoxLiteral = Resources.Pages.Ledgers.ViewOutstandingAccounts_Info;
|
||||
|
||||
this.LabelViewOutstandingAccountsHeader.Text = Resources.Pages.Ledgers.ViewOutstandingAccounts_Header;
|
||||
this.LabelGridHeaderAction.Text = Resources.Pages.Ledgers.ViewOutstandingAccounts_GridHeaderAction;
|
||||
this.LabelGridHeaderAmount.Text = Resources.Pages.Ledgers.ViewOutstandingAccounts_GridHeaderAmount;
|
||||
this.LabelGridHeaderCreatedDate.Text = Resources.Pages.Ledgers.ViewOutstandingAccounts_GridHeaderOpenedDate;
|
||||
this.LabelGridHeaderDescription.Text = Resources.Pages.Ledgers.ViewOutstandingAccounts_GridHeaderDescription;
|
||||
this.LabelGridHeaderExpectedCloseDate.Text = Resources.Pages.Ledgers.ViewOutstandingAccounts_GridHeaderExpectedCloseDate;
|
||||
this.LabelGridHeaderId.Text = Resources.Pages.Ledgers.ViewOutstandingAccounts_GridHeaderId;
|
||||
this.LabelGridHeaderRecipient.Text = Resources.Pages.Ledgers.ViewOutstandingAccounts_GridHeaderRecipient;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user