Ajout de références à l'aid/cid dans l'affichage
This commit is contained in:
parent
ade4a9d82e
commit
a732024852
1 changed files with 4 additions and 2 deletions
|
@ -165,9 +165,11 @@ def format_facture(facture):
|
||||||
dialog=True
|
dialog=True
|
||||||
),
|
),
|
||||||
affichage.style(
|
affichage.style(
|
||||||
u"%s %s" % (
|
u"%s %s [%sid=%s]" % (
|
||||||
proprietaire.get('prenom', [u"Club"])[0],
|
proprietaire.get('prenom', [u"Club"])[0],
|
||||||
proprietaire['nom'][0]
|
proprietaire['nom'][0],
|
||||||
|
u'a' if proprietaire.has_key("aid") else u"c",
|
||||||
|
proprietaire.get('aid', proprietaire.get('cid', [u'n/a']))[0],
|
||||||
),
|
),
|
||||||
STYLES['proprio'],
|
STYLES['proprio'],
|
||||||
dialog=True),
|
dialog=True),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue