Nettoyage des restes de paiement par année scolaire
Ça fait plus d'un an qu'on est passés aux factures avec generalizedTimeFormat
This commit is contained in:
parent
af0e971764
commit
baf79bdda7
13 changed files with 498 additions and 220 deletions
|
@ -36,7 +36,6 @@ sys.path.append('/usr/scripts/gestion')
|
|||
from affich_tools import tableau, cprint
|
||||
from email_tools import send_email, parse_mail_template
|
||||
from ldap_crans import crans_ldap
|
||||
from config import ann_scol
|
||||
db = crans_ldap()
|
||||
|
||||
import syslog
|
||||
|
@ -212,7 +211,7 @@ comptes_inactifs.py
|
|||
mail = nb_mails_non_lus(login)
|
||||
mail = mail == None and u'?' or mail > 0 and u'X' or u' '
|
||||
ligne = (a.id(), login, a.Nom(), date, forward, mail)
|
||||
if ann_scol in a.paiement() or a.adhesion() > time():
|
||||
if a.adhesion() > time():
|
||||
inscrits.append(ligne)
|
||||
else:
|
||||
anciens.append(ligne)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue