From 13537a80e9bc1fe9eb001b54e3bfc4d5aff89a76 Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Thu, 23 Oct 2014 20:44:49 +0200 Subject: [PATCH] Started work on Inspect Ledgers --- Site5/App_GlobalResources/Menu5.resx | 3 ++ Site5/App_GlobalResources/Pages.Ledgers.resx | 11 ++++++++ .../v5/Financial/ComboBudgets.ascx.cs | 10 +++++++ Site5/MainMenu-v5.xml | 10 +++++++ Site5/Pages/v5/Ledgers/AccountPlan.aspx | 6 ++-- Site5/Pages/v5/Ledgers/InspectLedgers.aspx | 20 +++++++++++++ Site5/Pages/v5/Ledgers/InspectLedgers.aspx.cs | 28 +++++++++++++++++++ 7 files changed, 84 insertions(+), 4 deletions(-) create mode 100644 Site5/Pages/v5/Ledgers/InspectLedgers.aspx create mode 100644 Site5/Pages/v5/Ledgers/InspectLedgers.aspx.cs diff --git a/Site5/App_GlobalResources/Menu5.resx b/Site5/App_GlobalResources/Menu5.resx index 8b7e24b4..b0d087bd 100644 --- a/Site5/App_GlobalResources/Menu5.resx +++ b/Site5/App_GlobalResources/Menu5.resx @@ -285,6 +285,9 @@ Import Bank Data + + Inspect Ledgers + Liquidity Forecast diff --git a/Site5/App_GlobalResources/Pages.Ledgers.resx b/Site5/App_GlobalResources/Pages.Ledgers.resx index 484491eb..7a9b1d12 100644 --- a/Site5/App_GlobalResources/Pages.Ledgers.resx +++ b/Site5/App_GlobalResources/Pages.Ledgers.resx @@ -495,4 +495,15 @@ Flags + + for + "inspect [accountdropdown] FOR [year] [month]" + + + Inspect + "INSPECT [accountdropdown] for [year] [month]" + + + Inspect Ledgers + \ No newline at end of file diff --git a/Site5/Controls/v5/Financial/ComboBudgets.ascx.cs b/Site5/Controls/v5/Financial/ComboBudgets.ascx.cs index 2804e8f8..2bd77d76 100644 --- a/Site5/Controls/v5/Financial/ComboBudgets.ascx.cs +++ b/Site5/Controls/v5/Financial/ComboBudgets.ascx.cs @@ -11,5 +11,15 @@ namespace Swarmops.Controls.Financial public string OnClientLoaded { get; set; } public string OnClientSelect { get; set; } + + public AccountListType ListType { get; set; } + } + + public enum AccountListType + { + Unknown = 0, + Expensables, + Invoiceables, + All } } \ No newline at end of file diff --git a/Site5/MainMenu-v5.xml b/Site5/MainMenu-v5.xml index bb35567d..24dc0378 100644 --- a/Site5/MainMenu-v5.xml +++ b/Site5/MainMenu-v5.xml @@ -306,6 +306,16 @@ + + Ledgers_InspectLedgers + 3 + + iconshock-ledger-inspect + /Pages/v5/Ledgers/InspectLedgers.aspx + Link + + + Ledgers_AccountPlan 3 diff --git a/Site5/Pages/v5/Ledgers/AccountPlan.aspx b/Site5/Pages/v5/Ledgers/AccountPlan.aspx index c2b6ce3d..b769eed6 100644 --- a/Site5/Pages/v5/Ledgers/AccountPlan.aspx +++ b/Site5/Pages/v5/Ledgers/AccountPlan.aspx @@ -6,7 +6,8 @@ - + +