| Server IP : 65.108.144.40 / Your IP : 216.73.217.165 Web Server : Apache/2.4.52 (Ubuntu) System : Linux ubuntu-8gb-hel1-1 5.15.0-173-generic #183-Ubuntu SMP Fri Mar 6 13:29:34 UTC 2026 x86_64 User : dev ( 1000) PHP Version : 8.2.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/erp/pms/templates/bonus/ |
Upload File : |
{% extends 'settings.html' %} {% load i18n %} {% block settings %} {% load static %}
<div class="oh-inner-sidebar-content">
{% if perms.base.view_department %}
<div
class="oh-inner-sidebar-content__header d-flex justify-content-between align-items-center"
>
<h2 class="oh-inner-sidebar-content__title">{% trans "Bonus Point Setting" %}</h2>
{% if perms.base.add_department %}
<button
class="oh-btn oh-btn--secondary oh-btn--shadow"
data-toggle="oh-modal-toggle"
data-target="#departmentModal"
hx-get="{% url 'create-bonus-setting' %}"
hx-target="#departmentForm"
>
<ion-icon name="add-outline" class="me-1"></ion-icon>
{% trans "Create" %}
</button>
{% endif %}
</div>
{% if bonous_settings %}
<!-- {% include 'base/department/department_view.html' %} -->
{% else %}
<div style="display: flex; flex-direction: column; justify-content: center; align-items: center; height: 100%;">
<img style="display: block; width: 15%; margin: 20px auto; filter: opacity(0.5);" src="{% static 'images/ui/coins.png' %}" class="" alt="Page not found. 404." />
<h5 class="oh-404__subtitle">{% trans "There is no Bonus setting at this moment." %}</h5>
</div>
{% endif %}
{% endif %}
</div>
<div
class="oh-modal"
id="departmentModal"
role="dialog"
aria-labelledby="departmentModalLabel"
aria-hidden="true"
>
<div class="oh-modal__dialog" id="departmentForm"></div>
</div>
<div
class="oh-modal"
id="departmentEditModal"
role="dialog"
aria-labelledby="departmentEditModal"
aria-hidden="true"
>
<div class="oh-modal__dialog" id="departmentEditForm"></div>
</div>
{% endblock settings %}