|
@ -21,10 +21,15 @@ |
|
|
def amount(text): |
|
|
def amount(text): |
|
|
# replace by a non-breaking hyphen (it will not word-wrap between hyphen and numbers) |
|
|
# replace by a non-breaking hyphen (it will not word-wrap between hyphen and numbers) |
|
|
return text.replace('-', '‑') |
|
|
return text.replace('-', '‑') |
|
|
|
|
|
|
|
|
|
|
|
first = True |
|
|
%> |
|
|
%> |
|
|
<body> |
|
|
<body> |
|
|
%for partner in objects: |
|
|
%for partner in objects: |
|
|
<%setLang(partner.lang)%> |
|
|
<%setLang(partner.lang)%> |
|
|
|
|
|
%if not first: |
|
|
|
|
|
<div class="break"></div> |
|
|
|
|
|
%endif |
|
|
<br/> |
|
|
<br/> |
|
|
<br/> |
|
|
<br/> |
|
|
<%from datetime import date %> |
|
|
<%from datetime import date %> |
|
@ -161,7 +166,8 @@ |
|
|
</table> |
|
|
</table> |
|
|
%endif ## if getLines60(partner) |
|
|
%endif ## if getLines60(partner) |
|
|
%endif ## if (partner.credit + partner.debit == 0 |
|
|
%endif ## if (partner.credit + partner.debit == 0 |
|
|
<div class="break"></div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<%! first = False %> |
|
|
%endfor ## for partner in objects |
|
|
%endfor ## for partner in objects |
|
|
</body> |
|
|
</body> |
|
|
</html> |
|
|
</html> |