8
0
Fork 0
mirror of https://gitlab.federez.net/re2o/re2o synced 2024-05-20 09:32:29 +00:00
Commit graph

414 commits

Author SHA1 Message Date
Yoann Pétri 6d2ad5b00e Refactor navbar and general frontend.
The menus of the navbar is reorganized
The footer is changed into a navbar
The right sidebar is placed to the left
The left sidebar is deleted
Header navbar and leftsidebar are now fixed
Physical grouing is split into 4 views
2021-01-24 16:37:09 +01:00
Gabriel Detraz 3091dca729 Fix : default value should be 0 2021-01-24 16:37:09 +01:00
Gabriel Detraz b56fc6baf2 Fix error on migration 48 and split for pg_triggers reason 2021-01-24 16:37:09 +01:00
grisel-davy ef890bc3ba Add listings of articles to aff of all cotisations 2021-01-24 16:37:09 +01:00
grisel-davy 52a23be738 Remove redundant code, reuse aff_ templates 2021-01-24 16:37:09 +01:00
grisel-davy bf749fb638 Add number of article in the display of cotisation 2021-01-24 16:37:09 +01:00
grisel-davy af3da1eafb Move facture list to cotisation, add paginator 2021-01-24 16:37:09 +01:00
grisel-davy 0aa63b8d8e Fix test of subscription or connection to display message 2021-01-24 16:37:09 +01:00
grisel-davy 7ac894c168 Replace null by 0 in default value of duration_* 2021-01-24 16:37:09 +01:00
grisel-davy 906f9f0a3b Fix creation of cotisation 2021-01-24 16:36:16 +01:00
histausse 98639f54f0 Add the need_membership field to article
This field is a boolean indicating if the article can be purshased by
nonmembers.
2021-01-24 16:36:16 +01:00
histausse b317eceec3 Split the membership duration from the connection duration
changes:

Article:
remove COTISATION_TYPE, duration(_days), type_cotisation
add duration(_days)_connection, duration(_days)_membership

Vente:
remove COTISATION_TYPE, duration(_days), type_cotisation
add duration(_days)_connection, duration(_days)_membership
add method `test_membership_or_connection()` to replace
`bool(type_cotisation)`

Cotisation:
remove COTISATION_TYPE, date_start, date_end, type_cotisation
add date_start_con, date_end_con, date_start_memb, date_end_memb

create_cotis(date_start=False) -> create_cotis(date_start_con=False, date_start_memb=False)

+ migration
+ changes to use the new models in the remaining of the code
2021-01-24 16:36:16 +01:00
Hugo Levy-Falk 4c692a42e0 Fix availability of non cotisation articles in facture creation. 2021-01-24 16:36:16 +01:00
Hugo Levy-Falk 652982941a Fix can_view_app 2021-01-24 16:36:16 +01:00
Laouen Fernet 792e424430 Fix some translations in cotisations/ 2021-01-24 16:36:16 +01:00
Leila b2607ab232 Add thumbnail to user model 2021-01-24 16:36:16 +01:00
Hugo Levy-Falk 2a7d334db7 Avoid failing when permissions depending on another model are None. 2021-01-24 16:35:46 +01:00
Jean-Romain Garnier e2660d0bee Add missing translations 2021-01-24 16:34:24 +01:00
Jean-Romain Garnier ec6d73869d Add missing translations 2021-01-24 16:34:24 +01:00
Jean-Romain Garnier ead2609564 Add missing translations for detailed history 2021-01-24 16:33:32 +01:00
Hugo Levy-Falk 7ddbc02835 Rebase dev 2021-01-24 16:33:32 +01:00
Jean-Romain Garnier c891e52118 Add missing translations in logs 2021-01-24 16:33:32 +01:00
Jean-Romain Garnier a1d35a2c9b Add missing translations 2021-01-24 16:33:32 +01:00
chapeau 77b0aff007 Clear api generation 2021-01-24 16:33:31 +01:00
chapeau 0b58365c87 First draft of moving api functions into each apps 2021-01-24 16:33:31 +01:00
Jean-Romain Garnier 69286beabf Fix calls to invoice.save 2021-01-24 16:33:31 +01:00
Jean-Romain Garnier 6900c153d1 Move both send_mail utils to same file 2021-01-24 16:33:31 +01:00
Jean-Romain Garnier cd097cd428 Also catch ConnectionError when sending mails 2021-01-24 16:33:31 +01:00
Jean-Romain Garnier fa95625205 Add translation for email error message 2021-01-24 16:33:31 +01:00
Jean-Romain Garnier cb9ae34418 Make emails throw timeout errors, and gracefully handle them 2021-01-24 16:33:31 +01:00
Jean-Romain Garnier 449e1f8721 Add translations for advanced search email filter 2021-01-24 16:33:31 +01:00
Jean-Romain Garnier ca3b3af1c2 Fix wrong template used for invoices sent by email 2021-01-24 16:33:31 +01:00
Jean-Romain Garnier 51c81886b5 Add translations for statistics 2021-01-24 16:33:31 +01:00
Jean-Romain Garnier 2ed3b2ac31 Fix translations 2021-01-24 16:33:31 +01:00
Jean-Romain Garnier 8f75078152 Fix cheque cotisations being saved twice 2020-02-15 12:30:37 +00:00
Gabriel Detraz 8118c9edf2 Fix float display 2019-12-27 18:01:16 +01:00
Gabriel Detraz f91f284ed1 Fix js calculation of price - NaN bug 2019-12-27 17:00:41 +01:00
Yoann Pétri e7a363866a Add start date tot create cotis 2019-12-20 07:43:35 +00:00
Hugo Levy-Falk 05501c90d9 Fix Overlapping invoices. 2019-12-15 15:24:54 +00:00
Laouen Fernet c8ed48145c Add migrations for improved translations 2019-11-24 23:27:57 +01:00
Laouen Fernet d24dd8225e Edit translations in cotisations 2019-11-24 23:27:56 +01:00
Laouen Fernet 2454de2032 Mark strings for translation in cotisations 2019-11-24 23:27:55 +01:00
Hugo Levy-Falk 09da1b4d43 Fix klafy horrors 2019-11-17 11:58:23 +00:00
Hugo Levy-Falk c4a104b3b6 I like my black.
Just ran black on the whoe repository. Fix #210.
2019-11-04 22:47:24 +01:00
Hugo Levy-Falk 034b50bc58 Fix #189 2019-11-04 00:25:29 +01:00
Hugo Levy-Falk e0a65e4d04 Setup tests for Vente model. 2019-11-03 21:46:18 +01:00
Hugo Levy-Falk c76f32cf26 Fix #222 2019-11-03 19:55:37 +01:00
Hugo Levy-Falk 6171f42b66 Get the right mandate when creating voucher. 2019-10-01 19:30:35 +02:00
Hugo Levy-Falk 6dd4e776c1 Make use of mandates everywhere. 2019-10-01 19:30:34 +02:00
Hugo Levy-Falk a9194b405a Hello Lara :D
Just ran `find /var/www/re2o \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i 's/Goulven/Lara/g'`.
2019-10-01 13:37:56 +02:00