mirror of
https://github.com/pretix/pretix.git
synced 2026-05-07 15:34: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(email__icontains=query)
|
||||||
| Q(name_cached__icontains=query)
|
| Q(name_cached__icontains=query)
|
||||||
| Q(identifier__istartswith=query)
|
| Q(identifier__istartswith=query)
|
||||||
|
| Q(external_identifier__icontains=query)
|
||||||
|
| Q(notes__icontains=query)
|
||||||
)
|
)
|
||||||
|
|
||||||
if fdata.get('status') == 'active':
|
if fdata.get('status') == 'active':
|
||||||
|
|||||||
@@ -65,7 +65,7 @@
|
|||||||
–{% endif %}</dd>
|
–{% endif %}</dd>
|
||||||
{% if customer.notes %}
|
{% if customer.notes %}
|
||||||
<dt>{% trans "Notes" %}</dt>
|
<dt>{% trans "Notes" %}</dt>
|
||||||
<dd>{{ customer.notes }}</dd>
|
<dd>{{ customer.notes|linebreaks }}</dd>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</dl>
|
</dl>
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
@@ -62,7 +62,7 @@
|
|||||||
<th>{% trans "Name" %}
|
<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-down"></i></a>
|
||||||
<a href="?{% url_replace request 'ordering' 'name' %}"><i class="fa fa-caret-up"></i></a></th>
|
<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-down"></i></a>
|
||||||
<a href="?{% url_replace request 'ordering' 'external_identifier' %}"><i class="fa fa-caret-up"></i></a></th>
|
<a href="?{% url_replace request 'ordering' 'external_identifier' %}"><i class="fa fa-caret-up"></i></a></th>
|
||||||
<th></th>
|
<th></th>
|
||||||
|
|||||||
Reference in New Issue
Block a user