Update comment on subscription creation

subscription is not allowed if the membre status is "excluded"
This commit is contained in:
daraelmin 2021-03-13 15:34:29 +01:00 committed by GitHub
parent fa25ba797f
commit e038408195
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -642,7 +642,7 @@ if ($rowid > 0) {
* Action buttons
*/
// Button to create a new subscription if member no draft neither resiliated
// Button to create a new subscription if member no draft (-1) neither resiliated (0) neither excluded (-2)
if ($user->rights->adherent->cotisation->creer) {
if ($action != 'addsubscription' && $action != 'create_thirdparty') {
print '<div class="tabsAction">';