fixed error in prof state for renew card

This commit is contained in:
asus
2024-03-19 22:47:00 +01:00
parent d264e6c321
commit 1248c2339d
5 changed files with 13 additions and 39 deletions

View File

@@ -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();
}
}
}
}