ajout cabinet+experts

This commit is contained in:
2020-12-17 12:13:22 +01:00
parent 154264fbad
commit ca04eb551b
16 changed files with 566 additions and 46 deletions

View File

@@ -144,10 +144,9 @@ def devis_web(request):
'page-size': 'A4',
'margin-top': '1cm',
'margin-right': '1cm',
'margin-bottom': '1cm',
'margin-left': '1cm',
'margin-bottom': '2cm',
'margin-left': '1.5cm',
'footer-font-size':'7',
'footer-center': soc.code_ape,
'footer-right': '[page] / [topage]',
}
@@ -336,9 +335,9 @@ def devis_preview(request):
if ligne.ref == 'T1':
dt_html += '<tr><td colspan="3" style="text-align:center;"><h4>%s</h4></td></tr>' % ligne.libelle
elif ligne.ref == 'T2':
dt_html += '<tr><td colspan="3"><p><b>%s</b></p></td></tr>' % ligne.libelle
dt_html += '<tr><td colspan="3" style="text-align:center;"><p><b>%s</b></p></td></tr>' % ligne.libelle
elif ligne.ref == 'TX':
dt_html += '<tr><td colspan="3"><p>%s</p></td></tr>' % ligne.libelle
dt_html += '<tr><td></td><td colspan="3"><p>%s</p></td></tr>' % ligne.libelle
elif ligne.type_ligne == 'AR':
dt_html += '<tr><td style="vertical-align: top">%s</td>' % ligne.ref
dt_html += '<td><p>%s<br />' % ligne.libelle