mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Small tweaks to new customer fields
This commit is contained in:
@@ -1310,6 +1310,8 @@ class CustomerFilterForm(FilterForm):
|
||||
Q(email__icontains=query)
|
||||
| Q(name_cached__icontains=query)
|
||||
| Q(identifier__istartswith=query)
|
||||
| Q(external_identifier__icontains=query)
|
||||
| Q(notes__icontains=query)
|
||||
)
|
||||
|
||||
if fdata.get('status') == 'active':
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
–{% endif %}</dd>
|
||||
{% if customer.notes %}
|
||||
<dt>{% trans "Notes" %}</dt>
|
||||
<dd>{{ customer.notes }}</dd>
|
||||
<dd>{{ customer.notes|linebreaks }}</dd>
|
||||
{% endif %}
|
||||
</dl>
|
||||
</form>
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
<th>{% trans "Name" %}
|
||||
<a href="?{% url_replace request 'ordering' '-name' %}"><i class="fa fa-caret-down"></i></a>
|
||||
<a href="?{% url_replace request 'ordering' 'name' %}"><i class="fa fa-caret-up"></i></a></th>
|
||||
<th>{% trans "External ID" %}
|
||||
<th>{% trans "External identifier" %}
|
||||
<a href="?{% url_replace request 'ordering' '-external_identifier' %}"><i class="fa fa-caret-down"></i></a>
|
||||
<a href="?{% url_replace request 'ordering' 'external_identifier' %}"><i class="fa fa-caret-up"></i></a></th>
|
||||
<th></th>
|
||||
|
||||
Reference in New Issue
Block a user