Enabled VAT in expense claims
This commit is contained in:
@@ -14,7 +14,7 @@ namespace Swarmops.Basic.Types.Financial
|
||||
public BasicExpenseClaim (int expenseClaimId, int claimingPersonId, DateTime createdDateTime,
|
||||
bool open, bool attested, bool documented, bool claimed, int organizationId,
|
||||
int geographyId, int budgetId, DateTime expenseDate,
|
||||
string description, double preApprovedAmount, Int64 amountCents, bool repaid, bool keepSeparate)
|
||||
string description, double preApprovedAmount, Int64 amountCents, Int64 vatCents, bool repaid, bool keepSeparate)
|
||||
{
|
||||
this.ExpenseClaimId = expenseClaimId;
|
||||
this.ClaimingPersonId = claimingPersonId;
|
||||
@@ -30,6 +30,7 @@ namespace Swarmops.Basic.Types.Financial
|
||||
this.Description = description;
|
||||
this.PreApprovedAmount = preApprovedAmount;
|
||||
this.AmountCents = amountCents;
|
||||
this.VatCents = vatCents;
|
||||
this.Repaid = repaid;
|
||||
this.KeepSeparate = keepSeparate;
|
||||
}
|
||||
@@ -42,7 +43,7 @@ namespace Swarmops.Basic.Types.Financial
|
||||
original.Open, original.Attested, original.Validated, original.Claimed,
|
||||
original.OrganizationId, original.GeographyId, original.BudgetId,
|
||||
original.ExpenseDate, original.Description,
|
||||
original.PreApprovedAmount, original.AmountCents, original.Repaid, original.KeepSeparate)
|
||||
original.PreApprovedAmount, original.AmountCents, original.VatCents, original.Repaid, original.KeepSeparate)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -51,6 +52,7 @@ namespace Swarmops.Basic.Types.Financial
|
||||
public DateTime ExpenseDate { get; protected set; }
|
||||
public string Description { get; protected set; }
|
||||
public Int64 AmountCents { get; protected set; }
|
||||
public Int64 VatCents { get; protected set; }
|
||||
public double PreApprovedAmount { get; private set; }
|
||||
public int ClaimingPersonId { get; private set; }
|
||||
public int BudgetId { get; protected set; }
|
||||
|
||||
Reference in New Issue
Block a user