diff --git a/uniticket/uni_ticket/views/manager.py b/uniticket/uni_ticket/views/manager.py index 9ed740df..4f0ca57f 100644 --- a/uniticket/uni_ticket/views/manager.py +++ b/uniticket/uni_ticket/views/manager.py @@ -19,6 +19,7 @@ from uni_ticket.forms import * from uni_ticket.models import * from uni_ticket.protocol_utils import ticket_protocol +from uni_ticket.settings import EMPLOYEE_ATTRIBUTE_NAME from uni_ticket.utils import ( base_context, custom_message, @@ -489,7 +490,7 @@ def office_add_operator(request, structure_slug, office_slug, structure): all_users = get_user_model().objects.filter(q_filter, is_active=True)\ .values("pk", "taxpayer_id", "last_name", "first_name", - "email") + "email", "identificativo_dipendente") paginator = Paginator(all_users, 20) page = request.GET.get("page") users = paginator.get_page(page) diff --git a/uniticket/uni_ticket_bootstrap_italia_template/templates/manager/category_add_ticket_user.html b/uniticket/uni_ticket_bootstrap_italia_template/templates/manager/category_add_ticket_user.html index b5349b6b..4002df4d 100644 --- a/uniticket/uni_ticket_bootstrap_italia_template/templates/manager/category_add_ticket_user.html +++ b/uniticket/uni_ticket_bootstrap_italia_template/templates/manager/category_add_ticket_user.html @@ -2,6 +2,7 @@ {% load i18n %} {% load static %} +{% load uni_ticket_tags %} {% block menu_links %} {% include 'manager/main_menu.html' %} @@ -41,6 +42,7 @@