diff --git a/Logic/Financial/BitcoinUtility.cs b/Logic/Financial/BitcoinUtility.cs index 523b3632..5a316014 100644 --- a/Logic/Financial/BitcoinUtility.cs +++ b/Logic/Financial/BitcoinUtility.cs @@ -954,8 +954,8 @@ namespace Swarmops.Logic.Financial // Add outputs and prepare notifications Int64 satoshisUsed = 0; - Dictionary> notificationSpecLookup = new Dictionary>(); - Dictionary> notificationAmountLookup = new Dictionary>(); + //Dictionary> notificationSpecLookup = new Dictionary>(); + //Dictionary> notificationAmountLookup = new Dictionary>(); Payout masterPayoutPrototype = Payout.Empty; HotBitcoinAddress changeAddress = HotBitcoinAddress.OrganizationWalletZero(organization, BitcoinChain.Core); diff --git a/Logic/Financial/VatReport.cs b/Logic/Financial/VatReport.cs index 1b590b62..72c5b9a3 100644 --- a/Logic/Financial/VatReport.cs +++ b/Logic/Financial/VatReport.cs @@ -64,8 +64,6 @@ namespace Swarmops.Logic.Financial public static VatReport Create(Organization organization, int year, int startMonth, int monthCount) { VatReport newReport = CreateDbRecord(organization, year, startMonth, monthCount); - VatReportItems testItems = newReport.Items; - DateTime startDate = new DateTime(year, startMonth, 1).AddYears(-1); // start a year before report starts DateTime endDate = new DateTime(year, startMonth, 1).AddMonths(monthCount); FinancialAccount vatInbound = organization.FinancialAccounts.AssetsVatInboundUnreported; @@ -203,8 +201,7 @@ namespace Swarmops.Logic.Financial throw new InvalidOperationException("Cannot add items once the report is released"); } - VatReportItem newItem = VatReportItem.Create(this, transaction, turnoverCents, vatInboundCents, - vatOutboundCents); + VatReportItem.Create(this, transaction, turnoverCents, vatInboundCents, vatOutboundCents); } public void Release() diff --git a/Logic/Support/BackendServiceOrder.cs b/Logic/Support/BackendServiceOrder.cs index 90797eab..cf66e4e9 100644 --- a/Logic/Support/BackendServiceOrder.cs +++ b/Logic/Support/BackendServiceOrder.cs @@ -36,7 +36,7 @@ namespace Swarmops.Logic.Support // Instantiate the class string[] components = BackendServiceClassName.Split(','); - string assemblyName = components[0]; + // string assemblyName = components[0]; // TODO: For plugin use later string className = components[1]; Assembly assembly = Assembly.GetExecutingAssembly(); // TODO: Make this actually select the named assembly