Removed a couple of warnings
This commit is contained in:
@@ -954,8 +954,8 @@ namespace Swarmops.Logic.Financial
|
||||
// Add outputs and prepare notifications
|
||||
|
||||
Int64 satoshisUsed = 0;
|
||||
Dictionary<int, List<string>> notificationSpecLookup = new Dictionary<int, List<string>>();
|
||||
Dictionary<int, List<Int64>> notificationAmountLookup = new Dictionary<int, List<Int64>>();
|
||||
//Dictionary<int, List<string>> notificationSpecLookup = new Dictionary<int, List<string>>();
|
||||
//Dictionary<int, List<Int64>> notificationAmountLookup = new Dictionary<int, List<Int64>>();
|
||||
Payout masterPayoutPrototype = Payout.Empty;
|
||||
HotBitcoinAddress changeAddress = HotBitcoinAddress.OrganizationWalletZero(organization, BitcoinChain.Core);
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user