Terminology: Chart of Accounts, not Account Plan

This commit is contained in:
Rick Falkvinge
2019-01-31 16:06:52 +01:00
parent 511c135836
commit 66974ae025
10 changed files with 30 additions and 30 deletions
+1 -1
View File
@@ -380,7 +380,7 @@
<UserLevel>3</UserLevel>
<Permissions />
<ImageUrl>iconshock-openbook</ImageUrl>
<NavigateUrl>/Pages/v5/Ledgers/AccountPlan.aspx</NavigateUrl>
<NavigateUrl>/Pages/v5/Ledgers/ChartOfAccounts.aspx</NavigateUrl>
<Type>Link</Type>
<Children />
</MainMenuItem>
+1 -1
View File
@@ -215,7 +215,7 @@
Enable Participant Financials?<br/>
</div>
<div id="divUseAccountPlan" style="display: none; width: 100%; text-align: center; margin-top: 20px; margin-bottom: 20px; border-top: 1px solid <%= CommonV5.GetColor (ColorType.Base, ColorVariant.Light) %>; border-bottom: 1px solid <%= CommonV5.GetColor (ColorType.Base, ColorVariant.Light) %>; background-color: <%= CommonV5.GetColor (ColorType.Base, ColorVariant.XLight) %>">
Use the <a href="/Ledgers/AccountPlan">Chart of Accounts</a> to set detailed parameters for these accounts, once enabled.
Use the <a href="/Ledgers/ChartOfAccounts">Chart of Accounts</a> to set detailed parameters for these accounts, once enabled.
</div>
</div>
<div title="<img src='/Images/Icons/iconshock-contacts-64px.png' />">
@@ -1,4 +1,4 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/Master-v5.master" AutoEventWireup="true" Inherits="Swarmops.Frontend.Pages.v5.Ledgers.AccountPlan" Codebehind="AccountPlan.aspx.cs" CodeFile="AccountPlan.aspx.cs" %>
<%@ Page Title="" Language="C#" MasterPageFile="~/Master-v5.master" AutoEventWireup="true" Inherits="Swarmops.Frontend.Pages.v5.Ledgers.ChartOfAccounts" Codebehind="ChartOfAccounts.aspx.cs" CodeFile="ChartOfAccounts.aspx.cs" %>
<%@ Import Namespace="Swarmops.Logic.Financial" %>
<asp:Content ID="Content1" ContentPlaceHolderID="PlaceHolderHead" Runat="Server">
@@ -93,7 +93,7 @@
$('#TextAccountName').css('background-color', '#FFFFE0');
$.ajax({
type: "POST",
url: "/Pages/v5/Ledgers/AccountPlan.aspx/SetAccountName",
url: "/Pages/v5/Ledgers/ChartOfAccounts.aspx/SetAccountName",
data: $.toJSON(jsonData),
contentType: "application/json; charset=utf-8",
dataType: "json",
@@ -132,7 +132,7 @@
$('#TextAccountBudget').css('background-color', '#FFFFE0');
$.ajax({
type: "POST",
url: "/Pages/v5/Ledgers/AccountPlan.aspx/SetAccountBudget",
url: "/Pages/v5/Ledgers/ChartOfAccounts.aspx/SetAccountBudget",
data: "{'accountId': '" + escape(accountId) + "', 'budget':'" + escape(newAccountBudget) + "'}",
contentType: "application/json; charset=utf-8",
dataType: "json",
@@ -176,7 +176,7 @@
$(this).css('background-color', '#FFFFE0');
$.ajax({
type: "POST",
url: "/Pages/v5/Ledgers/AccountPlan.aspx/SetAccountInitialBalance",
url: "/Pages/v5/Ledgers/ChartOfAccounts.aspx/SetAccountInitialBalance",
data: $.toJSON(jsonData),
contentType: "application/json; charset=utf-8",
dataType: "json",
@@ -226,7 +226,7 @@
function addAccount() {
$.ajax({
type: "POST",
url: "/Pages/v5/Ledgers/AccountPlan.aspx/CreateAccount",
url: "/Pages/v5/Ledgers/ChartOfAccounts.aspx/CreateAccount",
data: "{'accountType': '" + accountType + "'}",
contentType: "application/json; charset=utf-8",
dataType: "json",
@@ -343,7 +343,7 @@
$.ajax({
type: "POST",
url: "/Pages/v5/Ledgers/AccountPlan.aspx/SetAccountSwitch",
url: "/Pages/v5/Ledgers/ChartOfAccounts.aspx/SetAccountSwitch",
data: callParameters,
contentType: "application/json; charset=utf-8",
dataType: "json",
@@ -395,7 +395,7 @@
}
SwarmopsJS.ajaxCall(
"/Pages/v5/Ledgers/AccountPlan.aspx/GetAccountData",
"/Pages/v5/Ledgers/ChartOfAccounts.aspx/GetAccountData",
{ accountId: accountId },
function(data) {
@@ -439,7 +439,7 @@
function updateInactiveCount()
{
SwarmopsJS.ajaxCall (
"/Pages/v5/Ledgers/AccountPlan.aspx/GetInactiveAccountCount",
"/Pages/v5/Ledgers/ChartOfAccounts.aspx/GetInactiveAccountCount",
{},
function(msg) {
$("#SpanInactiveCount").text(msg);
@@ -454,7 +454,7 @@
$('span#<%= DropOwner.ClientID %>_SpanPeople span input.textbox-text').css('background-color', '#FFFFE0');
$.ajax({
type: "POST",
url: "/Pages/v5/Ledgers/AccountPlan.aspx/SetAccountOwner",
url: "/Pages/v5/Ledgers/ChartOfAccounts.aspx/SetAccountOwner",
data: "{'accountId':'" + escape(accountId) + "','newOwnerId':'" + escape(personId) + "'}",
contentType: "application/json; charset=utf-8",
dataType: "json",
@@ -500,7 +500,7 @@
$('span#<%= DropParents.ClientID %>_SpanBudgets span input.textbox-text').css('background-color', '#FFFFE0');
$.ajax({
type: "POST",
url: "/Pages/v5/Ledgers/AccountPlan.aspx/SetAccountParent",
url: "/Pages/v5/Ledgers/ChartOfAccounts.aspx/SetAccountParent",
data: "{'accountId':'" + escape(accountId) + "','parentAccountId':'" + escape(parentAccountId) + "'}",
contentType: "application/json; charset=utf-8",
dataType: "json",
@@ -552,7 +552,7 @@
function onAutomationProfileChange(oldValue, newValue) {
SwarmopsJS.ajaxCall('/Pages/v5/Ledgers/AccountPlan.aspx/SetAccountAutomationProfile',
SwarmopsJS.ajaxCall('/Pages/v5/Ledgers/ChartOfAccounts.aspx/SetAccountAutomationProfile',
{
accountId: accountId,
profileId: newValue
@@ -622,8 +622,8 @@
<asp:Content ID="Content2" ContentPlaceHolderID="PlaceHolderMain" Runat="Server">
<h2><asp:Label ID="BoxTitle" runat="server" /></h2>
<table id="tableAccountPlan" title="" class="easyui-treegrid" style="width:680px;height:600px"
url="Json-AccountPlanData.aspx"
<table id="tableChartOfAccount" title="" class="easyui-treegrid" style="width:680px;height:600px"
url="Json-AccountChartData.aspx"
rownumbers="false"
animate="true"
fitColumns="true"
@@ -17,7 +17,7 @@ using Swarmops.Logic.Swarm;
namespace Swarmops.Frontend.Pages.v5.Ledgers
{
public partial class AccountPlan : PageV5Base
public partial class ChartOfAccounts : PageV5Base
{
public enum ChangeAccountDataOperationsResult
{
@@ -10,7 +10,7 @@
namespace Swarmops.Frontend.Pages.v5.Ledgers {
public partial class AccountPlan {
public partial class ChartOfAccounts {
/// <summary>
/// LiteralExpensesBudgetsAreNegative control.
@@ -0,0 +1 @@
<%@ Page Language="C#" AutoEventWireup="true" Inherits="Swarmops.Frontend.Pages.v5.Ledgers.AccountChartData" Codebehind="Json-AccountChartData.aspx.cs" %>
@@ -10,7 +10,7 @@ using Swarmops.Logic.Security;
namespace Swarmops.Frontend.Pages.v5.Ledgers
{
public partial class AccountPlanData : DataV5Base
public partial class AccountChartData : DataV5Base
{
private AuthenticationData _authenticationData;
private Dictionary<int, FinancialAccounts> _hashedAccounts;
@@ -10,6 +10,6 @@
namespace Swarmops.Frontend.Pages.v5.Ledgers {
public partial class AccountPlanData {
public partial class AccountChartData {
}
}
@@ -1 +0,0 @@
<%@ Page Language="C#" AutoEventWireup="true" Inherits="Swarmops.Frontend.Pages.v5.Ledgers.AccountPlanData" Codebehind="Json-AccountPlanData.aspx.cs" %>
+10 -10
View File
@@ -1119,12 +1119,12 @@
<Compile Include="Pages\v5\Financial\ValidateReceipts.aspx.designer.cs">
<DependentUpon>ValidateReceipts.aspx</DependentUpon>
</Compile>
<Compile Include="Pages\v5\Ledgers\AccountPlan.aspx.cs">
<DependentUpon>AccountPlan.aspx</DependentUpon>
<Compile Include="Pages\v5\Ledgers\ChartOfAccounts.aspx.cs">
<DependentUpon>ChartOfAccounts.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="Pages\v5\Ledgers\AccountPlan.aspx.designer.cs">
<DependentUpon>AccountPlan.aspx</DependentUpon>
<Compile Include="Pages\v5\Ledgers\ChartOfAccounts.aspx.designer.cs">
<DependentUpon>ChartOfAccounts.aspx</DependentUpon>
</Compile>
<Compile Include="Pages\v5\Ledgers\BalanceSheetSimplified.aspx.cs">
<DependentUpon>BalanceSheetSimplified.aspx</DependentUpon>
@@ -1203,12 +1203,12 @@
<Compile Include="Pages\v5\Ledgers\InspectLedgers.aspx.designer.cs">
<DependentUpon>InspectLedgers.aspx</DependentUpon>
</Compile>
<Compile Include="Pages\v5\Ledgers\Json-AccountPlanData.aspx.cs">
<DependentUpon>Json-AccountPlanData.aspx</DependentUpon>
<Compile Include="Pages\v5\Ledgers\Json-AccountChartData.aspx.cs">
<DependentUpon>Json-AccountChartData.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="Pages\v5\Ledgers\Json-AccountPlanData.aspx.designer.cs">
<DependentUpon>Json-AccountPlanData.aspx</DependentUpon>
<Compile Include="Pages\v5\Ledgers\Json-AccountChartData.aspx.designer.cs">
<DependentUpon>Json-AccountChartData.aspx</DependentUpon>
</Compile>
<Compile Include="Pages\v5\Ledgers\Json-GeneralLedgerData.aspx.cs">
<DependentUpon>Json-GeneralLedgerData.aspx</DependentUpon>
@@ -1955,7 +1955,7 @@
<Content Include="Pages\v5\Financial\PayOutMoney.aspx" />
<Content Include="Pages\v5\Financial\RequestCashAdvance.aspx" />
<Content Include="Pages\v5\Financial\ValidateReceipts.aspx" />
<Content Include="Pages\v5\Ledgers\AccountPlan.aspx" />
<Content Include="Pages\v5\Ledgers\ChartOfAccounts.aspx" />
<Content Include="Pages\v5\Ledgers\BalanceSheetSimplified.aspx" />
<Content Include="Pages\v5\Ledgers\BalanceSheet.aspx" />
<Content Include="Pages\v5\Ledgers\BalanceTransactions.aspx" />
@@ -1967,7 +1967,7 @@
<Content Include="Pages\v5\Ledgers\DebugLedgers.aspx" />
<Content Include="Pages\v5\Ledgers\EndOfMonth.aspx" />
<Content Include="Pages\v5\Ledgers\InspectLedgers.aspx" />
<Content Include="Pages\v5\Ledgers\Json-AccountPlanData.aspx" />
<Content Include="Pages\v5\Ledgers\Json-AccountChartData.aspx" />
<Content Include="Pages\v5\Ledgers\Json-GeneralLedgerData.aspx" />
<Content Include="Pages\v5\Ledgers\Json-VatReportData.aspx" />
<Content Include="Pages\v5\Ledgers\Json-BalanceSheetDataSimplified.aspx" />