1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-07 22:46:13 +01:00
Commit Graph

20 Commits

Author SHA1 Message Date
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
Sylvain
fa18891bc6 (bug) invalid test assertion 2022-12-14 11:30:06 +01:00
Sylvain
c684b892a7 (bug) ES not synced during tests 2022-11-17 16:59:33 +01:00
Sylvain
7b187b5776 (quality) remove console print 2022-11-17 16:41:25 +01:00
Sylvain
0c2129973c (test) added a test on statistics export 2022-11-17 16:35:59 +01:00
Sylvain
fc2b52c2ca (bug) invalid accounting export for store orders 2022-10-26 14:32:19 +02:00
Du Peng
f771a829ab (test) add test on store 2022-10-25 19:10:14 +02:00
Sylvain
c4d959570f code linting 2022-07-19 17:32:55 +02:00
Sylvain
5f5ec8dbb6 remove references to Invoice.invoiced 2021-05-27 15:58:55 +02:00
Sylvain
434ec9c205 refactored Invoices to get rid of stripe references 2021-04-20 17:22:53 +02:00
Sylvain
8b13ae45ac all tests passing 2021-01-04 16:26:52 +01:00
Sylvain
4bd26dc558 test members export 2020-07-22 13:01:52 +02:00
Sylvain
33c3eb06e7 test subscriptions export 2020-07-22 12:34:11 +02:00
Sylvain
807481db98 test reservations export 2020-07-22 12:23:01 +02:00
Sylvain
15b9c7b4b9 test export availabilites 2020-07-22 11:16:43 +02:00
Sylvain
f80eb230ca refactored code to use Setting.get 2020-05-25 12:54:19 +02:00
Du Peng
b3313d3e75 update rails to 5.1.7 2020-03-25 12:35:07 +01:00
Nicolas Florentin
db41e846dd uses DateTime#current instead of Time.now in tests 2019-12-02 15:29:05 +01:00
Sylvain
a12be41412 fix accounting export test according to new specs 2019-10-21 14:23:38 +02:00
Sylvain
7f88e8f59f automated tests for accounting export 2019-09-20 17:40:27 +02:00