diff --git a/Site5/App_GlobalResources/Global.resx b/Site5/App_GlobalResources/Global.resx index 074c55fd..f958233a 100644 --- a/Site5/App_GlobalResources/Global.resx +++ b/Site5/App_GlobalResources/Global.resx @@ -288,4 +288,28 @@ Action items will go here. Placeholder for future action items. Temporary. + + Advances + + + Cash Advances + + + Expenses + + + Expense Claims + + + Invoices + + + Inbound Invoices + + + Invoices + + + Outbound Invoices + \ No newline at end of file diff --git a/Site5/App_GlobalResources/Menu5.resx b/Site5/App_GlobalResources/Menu5.resx index c9522983..0aea613e 100644 --- a/Site5/App_GlobalResources/Menu5.resx +++ b/Site5/App_GlobalResources/Menu5.resx @@ -270,6 +270,9 @@ Upload Bank Files + + View Outstanding Accounts + Organization diff --git a/Site5/App_GlobalResources/Pages.Ledgers.resx b/Site5/App_GlobalResources/Pages.Ledgers.resx index c00e4828..912f4bba 100644 --- a/Site5/App_GlobalResources/Pages.Ledgers.resx +++ b/Site5/App_GlobalResources/Pages.Ledgers.resx @@ -331,4 +331,10 @@ Upload Bank File Displayed as header above download instructions / upload form + + 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. + + + View Outstanding Accounts + \ No newline at end of file diff --git a/Site5/Images/PageIcons/iconshock-battery-drill-16px.png b/Site5/Images/PageIcons/iconshock-battery-drill-16px.png new file mode 100644 index 00000000..000235e5 Binary files /dev/null and b/Site5/Images/PageIcons/iconshock-battery-drill-16px.png differ diff --git a/Site5/Images/PageIcons/iconshock-battery-drill-40px.png b/Site5/Images/PageIcons/iconshock-battery-drill-40px.png new file mode 100644 index 00000000..07f42202 Binary files /dev/null and b/Site5/Images/PageIcons/iconshock-battery-drill-40px.png differ diff --git a/Site5/Images/PageIcons/iconshock-cabinet-16px.png b/Site5/Images/PageIcons/iconshock-cabinet-16px.png new file mode 100644 index 00000000..bb872ceb Binary files /dev/null and b/Site5/Images/PageIcons/iconshock-cabinet-16px.png differ diff --git a/Site5/Images/PageIcons/iconshock-cabinet-40px.png b/Site5/Images/PageIcons/iconshock-cabinet-40px.png new file mode 100644 index 00000000..293bd939 Binary files /dev/null and b/Site5/Images/PageIcons/iconshock-cabinet-40px.png differ diff --git a/Site5/Images/PageIcons/iconshock-calculator-16px.png b/Site5/Images/PageIcons/iconshock-calculator-16px.png new file mode 100644 index 00000000..c41a2672 Binary files /dev/null and b/Site5/Images/PageIcons/iconshock-calculator-16px.png differ diff --git a/Site5/Images/PageIcons/iconshock-calculator-40px.png b/Site5/Images/PageIcons/iconshock-calculator-40px.png new file mode 100644 index 00000000..74b9e89a Binary files /dev/null and b/Site5/Images/PageIcons/iconshock-calculator-40px.png differ diff --git a/Site5/Master-v5.master b/Site5/Master-v5.master index df42d152..50ede551 100644 --- a/Site5/Master-v5.master +++ b/Site5/Master-v5.master @@ -188,6 +188,7 @@ + diff --git a/Site5/Pages/v5/Ledgers/ViewOutstandingAccounts.aspx b/Site5/Pages/v5/Ledgers/ViewOutstandingAccounts.aspx new file mode 100644 index 00000000..65c3ec03 --- /dev/null +++ b/Site5/Pages/v5/Ledgers/ViewOutstandingAccounts.aspx @@ -0,0 +1,27 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/Master-v5.master" AutoEventWireup="true" CodeFile="ViewOutstandingAccounts.aspx.cs" Inherits="Swarmops.Frontend.Pages.v5.Ledgers.ViewOutstandingAccounts" %> + + + + +

   Loading

+ + + + + + + + + + + + + +
+ +
+ + + diff --git a/Site5/Pages/v5/Ledgers/ViewOutstandingAccounts.aspx.cs b/Site5/Pages/v5/Ledgers/ViewOutstandingAccounts.aspx.cs new file mode 100644 index 00000000..2f2e524d --- /dev/null +++ b/Site5/Pages/v5/Ledgers/ViewOutstandingAccounts.aspx.cs @@ -0,0 +1,54 @@ +using System; +using System.Collections.Generic; +using System.Globalization; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace Swarmops.Frontend.Pages.v5.Ledgers +{ + public partial class ViewOutstandingAccounts : PageV5Base + { + protected void Page_Load(object sender, EventArgs e) + { + if (!this.CurrentOrganization.IsEconomyEnabled) + { + Response.Redirect("/Pages/v5/Financial/EconomyNotEnabled.aspx", true); + return; + } + + this.PageIcon = "iconshock-cabinet"; + + if (!Page.IsPostBack) + { + Localize(); + + if (!Page.IsPostBack) + { + int year = DateTime.Today.Year; + int firstFiscalYear = CurrentOrganization.FirstFiscalYear; + + this.DropYears.Items.Add(new ListItem("XYZ Today", "Now")); + + while (year >= firstFiscalYear) + { + this.DropYears.Items.Add(new ListItem(new DateTime(year, 12, 31).ToShortDateString(), year.ToString(CultureInfo.InvariantCulture))); + year--; + } + + this.DropAccounts.Items.Add(new ListItem(Resources.Global.Financial_ExpenseClaimsLong, "Expenses")); + + Localize(); + } + + } + } + + private void Localize() + { + this.PageTitle = Resources.Pages.Ledgers.ViewOutstandingAccounts_PageTitle; + this.InfoBoxLiteral = Resources.Pages.Ledgers.ViewOutstandingAccounts_Info; + } + } +} \ No newline at end of file