[intranet/gestionFactures] On affiche aussi les factures des clubs
darcs-hash:20100110145205-bd074-cd8b798315bf3d251ed7ccfcda08c4b502939bf7.gz
This commit is contained in:
parent
c6cf0e2b77
commit
f71288eb94
1 changed files with 4 additions and 1 deletions
|
@ -95,7 +95,10 @@ class main(ModuleBase):
|
|||
try:
|
||||
facture = {}
|
||||
facture['no'] = f.numero()
|
||||
facture['adherent'] = f.proprietaire().mail()
|
||||
proprio = f.proprietaire()
|
||||
if proprio.objectClass == 'club':
|
||||
proprio = proprio.responsable()
|
||||
facture['adherent'] = proprio.mail()
|
||||
facture['montant'] = f.total()
|
||||
facture['payee'] = f.recuPaiement()
|
||||
facture['date'] = f.historique()[0].split(',')[0]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue