Hack pour le code
darcs-hash:20060129153638-d1718-9d48b4c438c5f600907311bd5b7397a93cb83453.gz
This commit is contained in:
parent
ad130e37a1
commit
6b4be0e285
1 changed files with 3 additions and 0 deletions
|
@ -279,9 +279,12 @@ class fichier_impression :
|
||||||
corps = "<TABLE BORDER=0 CELLPADDDING=2>\n<TR><th ALIGN=CENTER COLSPAN=2><U>%s</U></th><td ALIGN=RIGHT>%s</TR>\n" % (self.nom_job, time.ctime(0.0))
|
corps = "<TABLE BORDER=0 CELLPADDDING=2>\n<TR><th ALIGN=CENTER COLSPAN=2><U>%s</U></th><td ALIGN=RIGHT>%s</TR>\n" % (self.nom_job, time.ctime(0.0))
|
||||||
corps += "<TR><td>\n<TABLE BORDER=2 RULES=ROWS CELLPADDDING=0>\n"
|
corps += "<TR><td>\n<TABLE BORDER=2 RULES=ROWS CELLPADDDING=0>\n"
|
||||||
|
|
||||||
|
self.code = "%s#" % self.code
|
||||||
for key in ("nbr_pages", "nb_copie", "taille", "code"):
|
for key in ("nbr_pages", "nb_copie", "taille", "code"):
|
||||||
corps+='<TR><td>%s</td><td>%s</td></TR>\n' % (key,
|
corps+='<TR><td>%s</td><td>%s</td></TR>\n' % (key,
|
||||||
str(getattr(self,key)))
|
str(getattr(self,key)))
|
||||||
|
self.code = int(self.code[:-1])
|
||||||
|
|
||||||
corps+="</TABLE>\n</td>\n<td>\n<TABLE BORDER=2 RULES=ROWS CELLPADDDING=0>\n"
|
corps+="</TABLE>\n</td>\n<td>\n<TABLE BORDER=2 RULES=ROWS CELLPADDDING=0>\n"
|
||||||
for key in ("couleur", "transparent",
|
for key in ("couleur", "transparent",
|
||||||
"portrait", "recto_verso"):
|
"portrait", "recto_verso"):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue