simtrami/clochette

Do not display Pumpkin payment if connected as ROLE_INTRO

Closed this issue · 0 comments

Pumpkin payments are handled by users having at least ROLE_BUREAU, therefore, in order to prevent doubling the registration of the same purchase by the person taking care of the Pumpkin and the one asking that person to take care of it (and only having access to the PC, meaning ROLE_INTRO). It should not be displayed for that second person.