updating contract preview

This commit is contained in:
2023-03-06 20:22:41 +01:00
parent 9035824248
commit 8bb3d0f44e
5 changed files with 26 additions and 20 deletions

View File

@@ -11,13 +11,13 @@
<td><img id="top-logo" src="http://{{ static_host }}/assets/logotransparent.png" alt="Cooper, Hillman & Toshi logo"></td>
<td id="office-info">Cooper, Hillman & Toshi LLP<br />6834 Innocence Boulevard<br />LOS SANTOS - SA<br /><a href="#">consulting@cht.law.com</a></td>
</tr></table>
<h1>{{ draft.title|upper }}</h1>
<h1>{{ contract.title|upper }}</h1>
</div>
<div class="intro">
<h2>Introduction</h2>
<p>Le {{ draft.date }} &agrave; {{ draft.location}}</p>
<p>Le {{ contract.date.strftime('%d/%m/%Y') }} &agrave; {{ contract.location}}</p>
<p>Entre les soussign&eacute;s :</p>
{% for party in draft.parties %}
{% for party in contract.parties %}
<div class="party">
{% if not loop.first %}
<p>ET</p>
@@ -47,7 +47,7 @@
<div class="content">
<h2>Conditions g&eacute;n&eacute;rales & particuli&egrave;res</h2>
{% for provision in draft.provisions %}
{% for provision in contract.provisions %}
<div class="provision">
<h3>Article {{loop.index}} - {{ provision.title|safe }}</h3>
<p>{{ provision.body|safe }}</p>
@@ -56,11 +56,11 @@
<div class="footer">
<hr/>
<p>À {{ draft.location }} le {{ draft.date }}</p>
<p>À {{ contract.location }} le {{ contract.date.strftime('%d/%m/%Y') }}</p>
<p class="mention">(Signatures précédée de la mention « Lu et approuvé »)</p>
<table class="signatures">
<tr>
{% for party in draft.parties %}<td>{{ party.part|safe }}:</td>{% endfor %}
{% for party in contract.parties %}<td>{{ party.part|safe }}:</td>{% endfor %}
</tr>
</table>
</div>