send msg
This commit is contained in:
SDE
2023-08-02 16:29:24 +03:00
parent 09f277a033
commit 406d7f7bc6
5 changed files with 52 additions and 45 deletions

View File

@@ -41,11 +41,8 @@ def support_tickets_ajax(request):
raise Http404
if request.user.is_staff:
from ChatServiceApp.funcs import get_tickets_for_manager, get_tickets_wo_manager
Dict = {
'tickets_wo_manager': get_tickets_wo_manager(),
'tickets_for_manager': get_tickets_for_manager(request.user),
}
from ChatServiceApp.funcs import get_ticketsDict_for_staff
Dict = get_ticketsDict_for_staff(request.user)
tpl_name = 'blocks/profile/b_support_chat.html'
else:
from ChatServiceApp.models import MsgGroup