Elouan Le Bars
1cfd58251c
[ADD] emc : company and contact emails must be different
On share subscription for company.
5 years ago
Rémy Taymans
e053dff6d2
[FIX] emc: One route to rule them all
It's a problem to use one route for the form and one route for the
submission of the form. When user is not logged and he tries to submit
with an existing email, a error tell him to sign in before submitting.
To login in there is a button that let him sign in. But after loggin in,
he comes back to the post url of the form and this url doesn't perform
checks that are performed when arriving on the form for the first time.
5 years ago
Rémy Taymans
f056eb1b2a
[PEP] easy_my_coop main controller
5 years ago
Elouan Le Bars
ac153d748a
[IMP] Change approval order for internal rules, data policy and financial risk
5 years ago
Houssine BAKKALI
e6d669c154
[PEP8] remove unused import
5 years ago
houssine
6481ef3952
[IMP] make some fields non required when logged
As the user can't add them in his profile it make subscription non
possible when those fields are missing
5 years ago
Elouan Le Bars
7cf099fec4
[ADD] Financial risk approval on subscription
5 years ago
houssine
2a2744dd6b
[FIX] fix mix share if statement
the compare was made between cooperator type and the short name of the
share type. but the cooperator type is the default code and not the
short name which is the displayed label
5 years ago
houssine
90f1e9221a
[IMP] add confirmation email on subscription form
5 years ago
houssine
aa405ce451
[FIX] fix redirection when cooperator is a company
5 years ago
houssine
6ab21082e1
[IMP] retrieve value from partner
5 years ago
houssine
226a804a3b
[IMP] retrieve the function on the representative
5 years ago
houssine
0e8f86195c
[PEP] fix pep8
5 years ago
houssine
f04528b53c
[IMP] remove unused variable
5 years ago
houssine
c4d854a6d1
[IMP] should be false not is_company
5 years ago
houssine
da0653d76b
[REFACT] replace national register number by email
Due to a legal issue we won't use the national register number anymore.
So the unique identification will now be made through the email of the
partner from now.
5 years ago
houssine
50e7a5f756
[FIX] fix reserved variable name
6 years ago
Rémy Taymans
0ef913acae
[FIX] emc: Error casting str to int
I get this error when taking shares from the website form by a logged
user.
6 years ago
Rémy Taymans
a5f633b384
[FIX] emc: Data policy and internal rules configuration
Configuration for data policy and internal rules was not loaded every
time on the form to become new cooperator.
6 years ago
Rémy Taymans
a749c558f9
[IMP] emc: Data policy and internal rules approval
This lets the user configure if an approval for data policy and internal
rules are needed and/or required.
6 years ago
Rémy Taymans
54dcbd82ff
[ADD] emc: Internal Rules Approved
The new cooperator needs to approve internal rules.
6 years ago
robinkeunen
96f0b7f0d6
[ADD] require data policy approval
7 years ago
houssine
e7cbc31932
[FIX] check no_registre only if it's required for the localisation
6 years ago
houssine
bb15ea91f2
[FIX] fix when company it creates duplicated
6 years ago
houssine
2619165456
[IMP] remove not necessary line
6 years ago
houssine
c3161526ea
[IMP] adding some validation and fix
Check that the cooperator doesn't mix share when it's not allowed and
that he doesn't subscribe for more than he can if he own already shares
6 years ago
houssine
ffeee69c71
[IMP] remove call_back in render
6 years ago
houssine
8640e92555
[REFACT] put validation of the subscription data in a dedicated function
6 years ago
houssine
4af9809615
[REFACT] a bit of refactoring
6 years ago
houssine
c8bf966b13
[IMP] add control on iban and niss number in the subscription form
6 years ago
houssine
c28bddb6b8
[PEP8] fix pep8
6 years ago
houssine
8c99920ce8
[FIX] set default value to the first share if no default one is defined
6 years ago
houssine
4b48f45db1
[FIX] return to the form with error message if no attachment provided
6 years ago
houssine
7cdbb30df6
[IMP] make the upload file required when it's displayed
6 years ago
houssine
781de91209
[PEP8] fixing more PEP8 error
6 years ago
houssine
3a8f60cc79
[PEP8] make code comply with PEP8
6 years ago
houssine
971826eace
[FIX] fix special case for is_company value
7 years ago
houssine
3db48d8c10
[IMP] make error messages translatable
7 years ago
houssine
860d12551a
[FIX] in the case of a company we should search the user based on the
company email instead of the representative email
7 years ago
houssine
54cf8d241b
[IMP] replace hardcoded currency symbol by the company currency.
7 years ago
houssine
efaaa4b547
[IMP] if the cooperator candidate is connected we tie the related
partner to the cooperator subscription.
7 years ago
houssine
226b5582e2
[TYPO] fix typo in error message
7 years ago
houssine
533862d03d
[IMP] move outside if and else common initialisation field
7 years ago
houssine
c849e01280
[IMP] if the partner tied to the connected user is a company the request
is forwarded to the company subscription form
7 years ago
houssine
74281c0599
[IMP] fill in subscription form with value from the user when he's
logged in
7 years ago
houssine
dde82cfbf1
[IMP] add logged checkbox on the two subscription forms
7 years ago
houssine
c64efd2320
[FIX] fix birthdate convertion
7 years ago
houssine
14b23b53d2
[IMP] allow to fill the cooperator subscription form from the connected
user data if logged.
7 years ago
houssine
7f215f591d
[REFACT] remove commented code
7 years ago
houssine
dac73d0a31
[IMP] add a field source for the subscription request to track the
source of the creation
7 years ago