Billing: Make bin calculate way more efficient
This commit is contained in:
@ -208,7 +208,7 @@ namespace Elwig.Helpers {
|
||||
|
||||
public async Task<IEnumerable<(string, string, int, int, int)>> GetMemberBins(Member m, int year) {
|
||||
using var cnx = await ConnectAsync();
|
||||
var (rights, obligations) = await Billing.Billing.GetMemberRightsObligations(m.MgNr, year, cnx);
|
||||
var (rights, obligations) = await Billing.Billing.GetMemberRightsObligations(cnx, year, m.MgNr);
|
||||
var bins = await Billing.Billing.GetMemberBinWeights(m.MgNr, year, cnx);
|
||||
|
||||
var list = new List<(string, string, int, int, int)>();
|
||||
|
Reference in New Issue
Block a user