fixed error in prof state for renew card
This commit is contained in:
@@ -125,6 +125,7 @@ function prof_profil_check_CIPF() {
|
||||
|
||||
/*
|
||||
* in case event didn't fire, change account to expire here
|
||||
* also check for waiting transfert : valid -> invalid
|
||||
*
|
||||
*/
|
||||
if (card_date_exists_CIPF()) {
|
||||
@@ -132,6 +133,9 @@ function prof_profil_check_CIPF() {
|
||||
if (!is_account_expired_CIPF()) {
|
||||
set_account_expired_CIPF();
|
||||
}
|
||||
if (is_account_waiting_valid_CIPF()) {
|
||||
set_account_waiting_invalid_CIPF();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user