Passage aux adhésions glissantes (partie I, sans lc_ldap)
This commit is contained in:
parent
169b7000b8
commit
49cef4c095
12 changed files with 485 additions and 231 deletions
|
@ -28,7 +28,7 @@ Options :
|
|||
-h : Afficher cette aide
|
||||
-v : Afficher les totaux par personne
|
||||
-vv : Afficher tous les mouvements par personne
|
||||
|
||||
|
||||
Les dates doivent etre de la forme jj/mm/aaaa."""
|
||||
|
||||
import sys
|
||||
|
@ -40,7 +40,6 @@ import time
|
|||
|
||||
db = crans_ldap()
|
||||
date_debut_ann_scol = time.mktime((ann_scol, 8, 1, 0, 0, 0, 0, 0, 0))
|
||||
paiement_ann_scol = "paiement+%d" % ann_scol
|
||||
|
||||
def datestrtoint(strdate):
|
||||
u""" Convertit une date en entier. """
|
||||
|
@ -139,6 +138,6 @@ def calcul_soldes():
|
|||
cprint('Credit total : ' + str(totalcredit) + ' euros', 'vert')
|
||||
if verbose >= 1:
|
||||
cprint('=' * 80, 'bleu')
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
calcul_soldes()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue