Billing: Make bin calculate way more efficient
This commit is contained in:
1 parent
3930534273
commit
522fed818f
2 files changed
+91
-83
No files matched your search
@@ -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