Fix text on quote paperwork for external clients

Actually finish fixing PDF footer formatting.
This commit is contained in:
Tom Price
2017-05-24 16:27:31 +01:00
parent 7fdafd854e
commit 7cb9e97ecb
2 changed files with 24 additions and 10 deletions

View File

@@ -119,7 +119,7 @@
<drawCenteredString x="302.5" y="38">[Page <pageNumber/> of <getName id="lastPage" default="0" />]</drawCenteredString>
<setFont name="OpenSans" size="7" />
<drawCenteredString x="302.5" y="26">
[Paperwork generated {% if current_user %}by{{current_user.name}} |{% endif %} {% now "d/m/Y H:i" %} | {{object.current_version_id}}]
[Paperwork generated{% if current_user %} by {{current_user.name}} |{% endif %} {% now "d/m/Y H:i" %} | {{object.current_version_id}}]
</drawCenteredString>
</pageGraphics>
<frame id="main" x1="50" y1="65" width="495" height="727"/>

View File

@@ -207,16 +207,22 @@
<tr>
<td>
{% if quote %}
<para>
<b>The full hire fee is payable at least 10 days before the event.</b>
</para>
<para>
This quote is valid for 30 days unless otherwise arranged.
</para>
{% endif %}
</td>
<td>VAT @ {{ object.vat_rate.as_percent|floatformat:2 }}%</td>
<td>£ {{ object.vat|floatformat:2 }}</td>
</tr>
<tr>
<td></td>
<td>
{% if quote %}
<para>
<b>The full hire fee is payable at least 10 days before the event.</b>
</para>
{% endif %}
</td>
{% if invoice %}
<td>Total</td>
<td>£ {{ object.total|floatformat:2 }}</td>
@@ -290,14 +296,22 @@
{% endif %}
<keepTogether>
<blockTable style="infoTable">
<blockTable style="infoTable">>
{% if quote %}
<tr><td><spacer length="15" /></td></tr>
<tr>
<td>
<para>Bookings will
<b>not</b>
be confirmed until the event is authorised online.
</para>
{% if object.internal %}
<para>Bookings will
<b>not</b>
be confirmed until the event is authorised online.
</para>
{% else %}
<para>Bookings will
<b>not</b>
be confirmed until we have received written confirmation and a Purchase Order.
</para>
{% endif %}
</td>
</tr>
<tr>