1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-13 23:48:55 +01:00
Commit Graph

7005 Commits

Author SHA1 Message Date
Sylvain
7a3ab98b10 (quality) add typescript to jest tests 2022-12-21 14:14:26 +01:00
Sylvain
b30701ba6f (test) improved frontend tests 2022-12-21 14:14:25 +01:00
Sylvain
9d2dde8257 (test) test AccountingCodesSettings 2022-12-21 14:14:25 +01:00
Sylvain
84dfcf38c7 (test) AdvancedAccountingForm 2022-12-21 14:14:25 +01:00
Sylvain
0287665653 (quality) updated tiptap editor 2022-12-21 14:14:24 +01:00
Sylvain
664e42099a (test) improved settings fixtures 2022-12-21 14:14:24 +01:00
Sylvain
7d83d6454f (test) Jest + react-testing-library
This commit aims to put a testing environment in place
for frontend react components using the de-facto standards
for our stack.

An example test file was writter for the component plan-form.tsx.
Some fixtures for some API endpoints were written (see
__setup__/server.js)
2022-12-21 14:14:22 +01:00
Sylvain
620ce2c3a8 (test) products tests 2022-12-21 14:12:16 +01:00
Sylvain
2889fb8e12 (bug) unable to manage stocks on new product 2022-12-21 14:12:16 +01:00
Sylvain
2cf18c277c (bug) create recurrent event
Also: (test) test trainings API
Also: (test) test create recurrent event
2022-12-21 14:12:16 +01:00
Sylvain
5d1c70a26e (test) accounting service 2022-12-21 14:12:15 +01:00
Sylvain
13eeff5964 (ui) enable advanced accounting button in separate box 2022-12-21 14:12:15 +01:00
Sylvain
bc5e306091 (bug) training default seats should be null 2022-12-21 14:12:14 +01:00
Sylvain
a55880a0ad (feat) OpenAPI endpoint for accounting
Also: (bug) filter by array in openAPI = error
2022-12-21 14:12:14 +01:00
Sylvain
523529228c (bug) callback renamed by error 2022-12-21 14:12:14 +01:00
Sylvain
749f848034 (feat) rebuild accounting lines on updates 2022-12-21 14:12:13 +01:00
Sylvain
b3072ec444 (feat) auto fix rouding errors on accounting lines
Also: (ui) added help tooltips on some input fields
2022-12-21 14:12:10 +01:00
Sylvain
5acd44e51d (wip) script to fix invoices totals 2022-12-21 14:11:40 +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
Sylvain
514a797b64 (wip) accounting endpoint for the OpenAPI 2022-12-21 14:11:39 +01:00
Sylvain
85ec08ae67 (quality) adapt code to New JSX transform 2022-12-21 14:11:36 +01:00
Sylvain
25edbcfbb0 (feat) use advanced accounting codes in accounting export 2022-12-21 14:05:17 +01:00
Sylvain
462a764276 (quality) moved accounting services to a decicated module 2022-12-21 14:05:17 +01:00
Sylvain
37f30e26a9 (feat) enable/disable advanced accounting 2022-12-21 14:05:16 +01:00
Sylvain
bec610458c (bug) do not create plans for disabled groups
Also: (bug) unable to create plan without partner
(bug) unable to set plan price to a decimal number
(bug) unable to create a plan without toggling the partner switch
(quality) linted PlansService
2022-12-21 14:05:16 +01:00
Sylvain
be8ae01ba4 (ui) refactor plan form
Also: add advanced accounting to plans
2022-12-21 14:05:16 +01:00
Sylvain
85fcc71d6b (wip) refactor plan form 2022-12-21 14:05:15 +01:00
Sylvain
4a9cbbb227 (feat) advanced accounting for products 2022-12-21 14:05:15 +01:00
Sylvain
7868f31a58 (feat) advanced accounting parameters
for: machines, spaces, trainings, events
2022-12-21 14:05:15 +01:00
Sylvain
3d796549f2 (ui) refactor event form 2022-12-21 14:05:14 +01:00
Sylvain
8df60a8712 (ui) refactor space form 2022-12-21 14:05:14 +01:00
Sylvain
3d88266fe6 (ui) refactor training form 2022-12-21 14:05:13 +01:00
Sylvain
4203da097c (ui) refactor machine creation form 2022-12-21 14:05:13 +01:00
Sylvain
4cc6574f58 (ui) refactor machine edition form 2022-12-21 14:05:09 +01:00
Sylvain
e540316a36 (doc) updated changelog 2022-12-21 12:21:46 +01:00
Sylvain
c7b270c822
(bug) Fix tests in UTC negative timezones
Fix tests in UTC negative timezones
2022-12-21 12:19:44 +01:00
Guilherme Chaguri
16c76126a5 Merge branch 'dev' into fix/tests-timezone 2022-12-20 13:58:05 -03:00
Guilherme Chaguri
0544bec729 Fix test fixtures to use the current timezone 2022-12-20 13:57:37 -03:00
Sylvain
6752cefb5e
Merge pull request #424 from sleede/l10n_dev
New Crowdin updates
2022-12-19 13:40:55 +01:00
Sylvain
d80627a178 New translations app.admin.en.yml (French) 2022-12-19 11:26:47 +01:00
Sylvain
66ff3b0dc3 New translations en.yml (French) 2022-12-19 11:26:46 +01:00
Sylvain
8d81f80c16 New translations app.admin.en.yml (Zulu) 2022-12-19 10:25:41 +01:00
Sylvain
dcf2d48f2a New translations en.yml (Zulu) 2022-12-19 10:25:40 +01:00
Sylvain
9542130d45 New translations app.admin.en.yml (Portuguese) 2022-12-19 10:25:39 +01:00
Sylvain
966a956bb1 New translations en.yml (Portuguese) 2022-12-19 10:25:37 +01:00
Sylvain
8a815ff4d2 New translations app.admin.en.yml (Norwegian) 2022-12-19 10:25:36 +01:00
Sylvain
e1374b7a8d New translations en.yml (Norwegian) 2022-12-19 10:25:35 +01:00
Sylvain
5718cfe6b3 New translations app.admin.en.yml (German) 2022-12-19 10:25:34 +01:00
Sylvain
fe9900d79f New translations en.yml (German) 2022-12-19 10:25:33 +01:00
Sylvain
7e77c00e37 New translations app.admin.en.yml (Spanish) 2022-12-19 10:25:32 +01:00