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

3093 Commits

Author SHA1 Message Date
Du Peng
e7615b70a6 (feat) use switch instant of checkbox in show slots unavailables calendar filter 2023-01-03 15:26:32 +01:00
Sylvain
16c24e565c (feat) custom message on invoice PDF not found 2023-01-03 11:07:41 +01:00
Sylvain
dff0db809d (bug) unable to sync objects on stripe 2023-01-03 10:41:01 +01:00
Sylvain
3ec88c8f5f (bug) unable to udpate some settings 2023-01-03 10:36:45 +01:00
Sylvain
5630872b5f (bug) update VAT name in front after change 2023-01-03 10:25:41 +01:00
Du Peng
29b92475bb (feat) Ability to filter uniq slots reserved in admin calendar 2023-01-02 19:20:02 +01:00
Du Peng
a740d984ee (bug) unable to update title of availability after admin remove a machine/plan in calendar 2023-01-02 16:08:47 +01:00
vincent
14d649c935 Remove alignment from Summernote editor 2023-01-02 09:57:34 +01:00
Sylvain
7cd689b92c (bug) product low stock notification 2022-12-28 11:01:05 +01:00
Sylvain
051f182839 (bug) clear date in suscription extend free days 2022-12-27 17:15:49 +01:00
Sylvain
7fc79d44e5 (feat) machines reservable or not 2022-12-27 16:14:29 +01:00
Sylvain
f0d9537182 (feat) default image for events 2022-12-27 15:11:28 +01:00
Sylvain
b9965e54e7 (bug) unable to set product main image 2022-12-27 14:59:24 +01:00
Sylvain
e020c592ec (bug) rebuild accounting when invoices(0).disabled 2022-12-27 14:39:26 +01:00
Sylvain
751cdd62c6 (bug) feature tour in admin/settings is broken 2022-12-27 13:49:44 +01:00
Sylvain
0fafd30486 (i18n) missing translation 2022-12-27 13:38:09 +01:00
Sylvain
898ce07509 (merge) Merge branch 'staging' into dev 2022-12-27 12:20:18 +01:00
Sylvain
f8904dfb9c (feat) customize VAT name 2022-12-27 12:13:24 +01:00
Sylvain
574974c239 (merge) Merge branch 'machine_category' into staging 2022-12-27 10:59:36 +01:00
Sylvain
e139067954 (feat) prevent generate invoices at 0 2022-12-23 14:14:42 +01:00
Du Peng
774ce35fa8 (feat) add accordion for calendar filter 2022-12-22 15:18:53 +01:00
Sylvain
ed4295b847 (bug) broken notifications if slot cancelled 2022-12-22 15:12:56 +01:00
Sylvain
00d841e2c6 (bug) no method find on undefined planCategories 2022-12-22 14:56:59 +01:00
Sylvain
cde322befe (bug) unable to add event price 2022-12-22 13:42:41 +01:00
Sylvain
785e80a6f4 (test) PasswordStrength 2022-12-22 12:11:14 +01:00
Sylvain
137b9f3c1b (feat) improved security when changing password 2022-12-22 11:07:14 +01:00
Sylvain
e7912557eb (test) UserProfileForm 2022-12-21 14:14:39 +01:00
Sylvain
02a8202f2f (feat) private note 2022-12-21 14:14:39 +01:00
Sylvain
86756f911b (bug) api/accounting: amounts expressed in centimes 2022-12-21 14:14:38 +01:00
Sylvain
b552e5e626 (feat) rename client accounts to financial 2022-12-21 14:14:37 +01:00
Sylvain
40dd3f11b8 (api) accounting: invoice.payment_details.payment_mean 2022-12-21 14:14:36 +01:00
Sylvain
4d7e09c98d (feat) multiple accounting journals 2022-12-21 14:14:36 +01:00
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
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
c1638ab54d (test) tiptap & file uploads 2022-12-21 14:14:26 +01:00
Sylvain
b30701ba6f (test) improved frontend tests 2022-12-21 14:14:25 +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
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
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
Du Peng
bcd76ee6d5 (bug) always show machine availability in calender if machine module is inactive 2022-12-20 18:46:25 +01:00
Du Peng
f47440c85a (feat) add machine category 2022-12-20 18:45:53 +01:00
Sylvain
795928c07c (feat) Add reservation deadline parameter 2022-12-19 09:58:44 +01:00
Sylvain
66b1db6d0a (bug) phone/adresse required not shown 2022-12-16 15:35:02 +01:00
Guilherme Chaguri
9b2e1909d9 Allow last minute reservations by admins 2022-12-16 10:48:56 -03:00
Sylvain
380373a16d Merge branch 'fix/availabitilies_export_reservations' of https://github.com/Guichaguri/fab-manager into Guichaguri-fix/availabitilies_export_reservations 2022-12-14 12:30:11 +01:00
Sylvain
14b5c40ec8 Merge branch 'feature/reservation-deadlines' of https://github.com/Guichaguri/fab-manager into Guichaguri-feature/reservation-deadlines 2022-12-14 11:30:54 +01:00
Du Peng
3224daf791 (bug) unable to credit wallet amount 2022-12-12 16:25:29 +01:00
Du Peng
766c08a302 (bug) fix unable to update/delete a space 2022-12-12 14:19:57 +01:00
Sylvain
575c7c7d62 (feat) updated FabAnalytics reports to include new features 2022-12-01 16:34:14 +01:00
Sylvain
7b30086a34 (bug) unable to set amount to 4.85 2022-12-01 15:43:16 +01:00
Sylvain
963d2e93bd (bug) unable to export statistics 2022-12-01 13:03:19 +01:00
Guilherme Chaguri
be4ea06fdf (Bug) Fix reservations count from spaces in availabilities export 2022-11-29 18:18:47 -03:00
Guilherme Chaguri
dea9663f37 Added reservation deadline parameter 2022-11-29 17:02:01 -03:00
Sylvain
8eaeb2df39 (bug) soft-destroyed still reported in OpenAPI
Also: improved testing
2022-11-23 11:59:06 +01:00
Du Peng
1f5808da4a (quality) use point instant of square brackets in react-form-hook field path 2022-11-22 17:12:39 +01:00
Du Peng
fe0af02ba8 (bug) unable set a main image of product and remove an image of product 2022-11-22 16:31:34 +01:00
Sylvain
509dd0eb5f (feat) soft destroy machines/spaces 2022-11-22 14:17:25 +01:00
Sylvain
16087d3aa3 (bug) objects not sync on Stripe 2022-11-21 16:56:28 +01:00
Sylvain
b2540a1cd4 (bug) broken display of machines pages 2022-11-21 15:22:23 +01:00