Conditions générales & particulières
- {% for provision in draft.provisions %} + {% for provision in contract.provisions %}Article {{loop.index}} - {{ provision.title|safe }}
{{ provision.body|safe }}
@@ -17,11 +17,11 @@ diff --git a/back/app/contract/print/templates/frontpage.html b/back/app/contract/print/templates/frontpage.html index 4aecf4f4..9f170be4 100644 --- a/back/app/contract/print/templates/frontpage.html +++ b/back/app/contract/print/templates/frontpage.html @@ -12,12 +12,12 @@6834 Innocence Boulevard
LOS SANTOS - SA
consulting@cht.law.com
{{ draft.title|upper }}
+{{ contract.title|upper }}
Introduction
-Le {{ draft.date }} à {{ draft.location}}
+Le {{ contract.date.strftime('%d/%m/%Y') }} à {{ contract.location}}
Entre les soussignés :
- {% for party in draft.parties %} + {% for party in contract.parties %}ET
diff --git a/back/app/contract/print/templates/print.html b/back/app/contract/print/templates/print.html index 697ac923..4e105e48 100644 --- a/back/app/contract/print/templates/print.html +++ b/back/app/contract/print/templates/print.html @@ -11,13 +11,13 @@
6834 Innocence Boulevard
LOS SANTOS - SA
consulting@cht.law.com
{{ draft.title|upper }}
+{{ contract.title|upper }}
Introduction
-Le {{ draft.date }} à {{ draft.location}}
+Le {{ contract.date.strftime('%d/%m/%Y') }} à {{ contract.location}}
Entre les soussignés :
- {% for party in draft.parties %} + {% for party in contract.parties %}ET
@@ -47,7 +47,7 @@Conditions générales & particulières
- {% for provision in draft.provisions %} + {% for provision in contract.provisions %}Article {{loop.index}} - {{ provision.title|safe }}
{{ provision.body|safe }}
@@ -56,11 +56,11 @@ diff --git a/back/app/contract/print/templates/styles.css b/back/app/contract/print/templates/styles.css index 2e838af2..2807d7d4 100644 --- a/back/app/contract/print/templates/styles.css +++ b/back/app/contract/print/templates/styles.css @@ -28,7 +28,7 @@ margin: 2cm 2cm 2cm 2cm; counter-increment: page; @bottom-center { - content: "© Cooper, Hillman & Toshi LLC - {{ draft.name }} - Page " counter(page) "/" counter(pages); + content: "© Cooper, Hillman & Toshi LLC - {{ contract.name }} - Page " counter(page) "/" counter(pages); font-size: 0.8em; } background: url('http://{{ static_host }}/assets/watermark.png') no-repeat;