Sylvain
31ba4d3486
(api) accounting: payment details
2022-12-21 14:14:35 +01:00
Sylvain
e3eb8eb516
(api) accounting: report external id for user
2022-12-21 14:14:35 +01:00
Sylvain
90dc38ed10
(feat) move external id to InvoicingProfile
2022-12-21 14:14:34 +01:00
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
9b5cf8842e
(api) accounting: filter by type
2022-12-21 14:14:34 +01:00
Sylvain
3a05398c8c
(api) accounting: report build status
2022-12-21 14:14:33 +01:00
Sylvain
b7838db648
(feat) clean accounting lines async before rebuilding
2022-12-21 14:14:33 +01:00
Sylvain
0ca7c8fb11
(quality) remove dead code
2022-12-21 14:14:32 +01:00
Sylvain
3dcc4a5803
(doc) openid connect must use RSxxx to sign id token
2022-12-21 14:14:32 +01:00
Sylvain
293ea37293
(quality) lint Profile model
2022-12-21 14:14:32 +01:00
Sylvain
4763014ec8
(api) users: first_name, last_name
2022-12-21 14:14:31 +01:00
Sylvain
fdddb545d9
(feat) OpenAPI/users: gender, organization, address
2022-12-21 14:14:31 +01:00
Sylvain
dcaa5ad28c
(bug) unsupported param[] syntax in OpenAPI
2022-12-21 14:14:30 +01:00
Sylvain
9ac2655256
(feat) OpenAPI/users: filter by created_after
2022-12-21 14:14:30 +01:00
Sylvain
7659597e32
(doc) Updated OpenAPI documentation
2022-12-21 14:14:29 +01:00
Sylvain
4b84963d7f
(feat) optional external id
2022-12-21 14:14:29 +01:00
Sylvain
e246480049
(test) ProductForm
2022-12-21 14:14:28 +01:00
Sylvain
d547660170
(bug) unable to set price on new product
2022-12-21 14:14:28 +01:00
Sylvain
7cd25a68df
(bug) unable to export VAT
2022-12-21 14:14:27 +01:00
Sylvain
ad8e95922f
(bug) machine advanced accouting codes, files attachements, image
2022-12-21 14:14:27 +01:00
Sylvain
3c9c9f56a0
(quality) improved expect
2022-12-21 14:14:27 +01:00
Sylvain
c1638ab54d
(test) tiptap & file uploads
2022-12-21 14:14:26 +01:00
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