Quelques corrections.

This commit is contained in:
Pierre-Elliott Bécue 2014-08-29 23:12:19 +02:00
parent c0ace05c79
commit c4de365c03
2 changed files with 3 additions and 3 deletions

View file

@ -307,7 +307,7 @@ def factures_brief(factures) :
p,
', '.join(article['code'] for article in facture.articles()),
facture.modePaiement(),
coul("OK", "vert") if facture.recuPaiement() else coul("NON", "rouge"),
coul(facture.recuPaiement(), "vert") if facture.recuPaiement() else coul("NON", "rouge"),
controle,
unicode(facture.total()) + u" €",
])
@ -315,7 +315,7 @@ def factures_brief(factures) :
return u"Le propriétaire en rouge signale un problème administratif.\n" + \
tableau(data,
titre = [u'fid', u'Propriétaire', u'Articles', u'Mode de paiement', u'Payé', u"Contrôle", u"Total"],
largeur = [5, 16, '*', 16, 10, 10, 8],
largeur = [5, 16, '*', 16, 19, 10, 8],
alignement = ['d', 'g', 'g', 'c', 'c', 'g', 'd']
)