diff --git a/Logic/Financial/InboundInvoice.cs b/Logic/Financial/InboundInvoice.cs index 6002f84f..6c876f9e 100644 --- a/Logic/Financial/InboundInvoice.cs +++ b/Logic/Financial/InboundInvoice.cs @@ -152,6 +152,8 @@ namespace Swarmops.Logic.Financial FinancialDependencyType.InboundInvoice, Identity, DateTime.UtcNow, attester.Identity, BudgetAmountCents); base.Attested = true; + + UpdateTransaction(attester); // will re-enable the tx if denied and reopened earlier } public void Deattest (Person deattester) @@ -170,6 +172,8 @@ namespace Swarmops.Logic.Financial DateTime.UtcNow, denyingPerson.Identity, (double)Amount); Attested = false; Open = false; + + UpdateTransaction(denyingPerson); // will zero out the tx } #endregion