fix permission to see certificate
This commit is contained in:
parent
7c2a1ebc7a
commit
23f50aacd4
4 changed files with 23 additions and 2 deletions
|
|
@ -3,6 +3,7 @@
|
|||
{% load humanize %}
|
||||
{% load common_tags %}
|
||||
{% load processes_tags %}
|
||||
{% load accounts_tags %}
|
||||
|
||||
{% block sidebar %}
|
||||
{% include 'sidebars/admin.html' %}
|
||||
|
|
@ -37,9 +38,11 @@
|
|||
<i class="bx bx-printer me-2"></i> پرینت فاکتور
|
||||
</a>
|
||||
{% endif %}
|
||||
{% if request.user|is_broker or request.user|is_manager %}
|
||||
<button type="button" class="btn btn-outline-secondary" data-bs-toggle="modal" data-bs-target="#printHologramModal">
|
||||
<i class="bx bx-printer me-2"></i> پرینت گواهی
|
||||
</button>
|
||||
{% endif %}
|
||||
<a href="{% url 'processes:request_list' %}" class="btn btn-outline-secondary">
|
||||
<i class="bx bx-chevron-right bx-sm ms-sm-n2"></i>
|
||||
بازگشت
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue