Committing for deployment

This commit is contained in:
Rick Falkvinge
2012-11-24 08:03:38 +00:00
parent 75d6d4b6ed
commit 2babebf7a9
17 changed files with 553 additions and 132 deletions
+1
View File
@@ -55,6 +55,7 @@
<ItemGroup>
<Compile Include="Enums\CommunicationType.cs" />
<Compile Include="Enums\ExternalActivityType.cs" />
<Compile Include="Enums\OrganizationFinancialAccountType.cs" />
<Compile Include="Types\BasicBallot.cs" />
<Compile Include="Types\BasicCommunicationTurnaround.cs" />
<Compile Include="Types\BasicElection.cs" />
+17 -1
View File
@@ -159,6 +159,10 @@ namespace Activizr.Basic.Enums
/// OCR sequence on tax payments (to the tax account) for an organization
/// </summary>
OrgTaxOcr,
/// <summary>
/// True if the organization declares inbound/outbound Value Added Tax
/// </summary>
OrgValueAddedTaxEnabled,
OrgFinancialMailName,
OrgFinancialMailAddress,
/// <summary>
@@ -172,7 +176,19 @@ namespace Activizr.Basic.Enums
/// <summary>
/// If invoice is to a person id, this is the person id
/// </summary>
OutboundInvoiceToPersonId
OutboundInvoiceToPersonId,
/// <summary>
/// If "1", this financial account may be charged for conferences
/// </summary>
FinancialAccountEnabledForConferences,
/// <summary>
/// If "1", this financial account may be charged with expenses
/// </summary>
FinancialAccountEnabledForExpensing,
/// <summary>
/// If "1", this financial account may be charged with invoices
/// </summary>
FinancialAccountEnabledForInvoicing
}
@@ -0,0 +1,95 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Activizr.Basic.Enums
{
public enum OrganizationFinancialAccountType
{
/// <summary>
/// Undefined
/// </summary>
Unknown,
/// <summary>
/// Main bank transaction account - not a savings account or similar
/// </summary>
AssetsBankAccountMain,
/// <summary>
/// The account where outbound invoices are kept
/// </summary>
AssetsOutboundInvoices,
/// <summary>
/// If org has a PayPal account, this is where is goes
/// </summary>
AssetsPaypal,
/// <summary>
/// Any outstanding cash advances that have been paid out and not cleared against receipts or paid back
/// </summary>
AssetsOutstandingCashAdvances,
/// <summary>
/// Value Added Tax (inbound) that hasn't been declared yet and put on overall tax balance
/// </summary>
AssetsVat,
/// <summary>
/// Any expense claims on the organization that have not been paid back
/// </summary>
DebtsExpenseClaims,
/// <summary>
/// Invoices sent to the organization until paid against bank account
/// </summary>
DebtsInboundInvoices,
/// <summary>
/// Salaries due for payout until cleared against bank account
/// </summary>
DebtsSalary,
/// <summary>
/// Taxes due for payout until cleared against bank account
/// </summary>
DebtsTax,
/// <summary>
/// Own capital - asset balancing yearly result, accumulating year after year
/// </summary>
DebtsCapital,
/// <summary>
/// Undeclared Value Added Tax (outbound) before putting it on tax balance
/// </summary>
DebtsVat,
/// <summary>
/// Other debts in general
/// </summary>
DebtsOther,
/// <summary>
/// Main income account
/// </summary>
IncomeGeneral,
/// <summary>
/// Income specifically from sales - default outbound invoices to this acct
/// </summary>
IncomeSales,
/// <summary>
/// Income from donations - default autodonates here
/// </summary>
IncomeDonations,
/// <summary>
/// Bank fees - default small minus posts on bank statements here
/// </summary>
CostsBankFees,
/// <summary>
/// IT and such - default SMS charges, etc, here
/// </summary>
CostsInfrastructure,
/// <summary>
/// If virtual banking is enabled, this is a counterbalance account
/// </summary>
CostsLocalDonationTransfers,
/// <summary>
/// No description
/// </summary>
CostsAllocatedFunds,
/// <summary>
/// When closing books, this is the yearly result (balanced against DebtsCapital)
/// </summary>
CostsYearlyResult // multi-account type
};
}