Remove Event.purchase_order in favour of a simple EventAuthorisation object.

This commit is contained in:
Tom Price
2017-04-10 23:14:09 +01:00
parent 391d9ef28f
commit 067e03b757
8 changed files with 49 additions and 26 deletions

View File

@@ -148,11 +148,6 @@
{% endif %}
{% if event.is_rig %}
{% if object.purchase_order %}
<dt>PO</dt>
<dd>{{ object.purchase_order }}</dd>
{% endif %}
<dd>&nbsp;</dd>
<dt>Authorised</dt>

View File

@@ -34,14 +34,6 @@
<para style="head_numbers">{{ invoice.invoice_date|date:"d/m/Y" }}</para>
</td>
</tr>
{% if object.purchase_order %}
<tr>
<td><para style="head_titles">PO Number</para></td>
<td>
<para style="head_numbers">{{ object.purchase_order|default_if_none:"" }}</para>
</td>
</tr>
{% endif %}
</blockTable>
{% elif quote %}

View File

@@ -76,11 +76,6 @@
<dd>{{ object.checked_in_by.name }}</dd>
{% endif %}
{% if object.event.purchase_order %}
<dt>PO</dt>
<dd>{{ object.event.purchase_order }}</dd>
{% endif %}
<dd>&nbsp;</dd>
<dt>Authorised</dt>