Prettyprint du recuPaiement

This commit is contained in:
Pierre-Elliott Bécue 2015-09-27 13:59:38 +02:00
parent a363b6927d
commit ed91745fec

View file

@ -41,6 +41,7 @@ import pythondialog
import lc_ldap.shortcuts as shortcuts import lc_ldap.shortcuts as shortcuts
import lc_ldap.attributs as attributs import lc_ldap.attributs as attributs
import lc_ldap.crans_utils as crans_utils
import gestion.affichage as affichage import gestion.affichage as affichage
TIMEOUT = 600 TIMEOUT = 600
@ -154,7 +155,7 @@ def format_facture(facture):
dialog=True dialog=True
), ),
affichage.style( affichage.style(
facture['recuPaiement'][0], crans_utils.datetime_from_generalized_time_format(unicode(facture['recuPaiement'][0])).strftime("%d/%m/%Y %H:%M:%S"),
STYLES['recuPaiement'], STYLES['recuPaiement'],
dialog=True dialog=True
), ),