An error occurred while fetching reviewers.
Performance optimization in Invoice admin page
- Jul 26, 2024
-
-
Antoine Albertelli authored
This saves a bit more SQL queries (334 -> 224).
-
Antoine Albertelli authored
The total amount is a useful property to show in the overall view, as it allows one to check from the bank statement which invoice it is. However, loading this total amount is also very slow, as it requires checking every event's player count. So we will store it in a cache, so that when using the website to enter who paid, it is reasonnably snappy.
8e40148d -
Antoine Albertelli authored
This saves a few SQL queries (on the latest DB backup 370 -> 334). It does not really result in a huge speedup but it is a good practice.
c2ede30e
-