1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +01:00
Commit Graph

4 Commits

Author SHA1 Message Date
Sylvain
05ba27289b (quality) reduce deletion delay
This is safe because AccountingLine does not have any delete dependency
2022-12-21 14:14:34 +01:00
Sylvain
b7838db648 (feat) clean accounting lines async before rebuilding 2022-12-21 14:14:33 +01:00
Sylvain
749f848034 (feat) rebuild accounting lines on updates 2022-12-21 14:12:13 +01:00
Sylvain
af3def0e2e (feat) save the accounting data in DB
Previously, the accounting data were built on demand,
extracting the data from the invoices on-the-fly.
This is intended to be used only once in a while, so there was
no performance issue with that.
Now, we want those data to be accessed from the OpenAPI,
so building them on-the-fly would be very much
intensive and resouces heavy. So we build them each nights
using a scheduled worker and save them in the database
2022-12-21 14:11:40 +01:00