[FIX]deduction delete confirmation not showing issue
This commit is contained in:
@@ -83,7 +83,7 @@
|
||||
aria-label="create outline"
|
||||
></ion-icon>{% trans "Edit" %}
|
||||
</a>
|
||||
<a href="{% url 'delete-allowance' allowance.id %}" class="oh-btn oh-btn--danger"style="width: 50%;">
|
||||
<a href="{% url 'delete-allowance' allowance.id %}" onclick="event.preventDefault();event.stopPropagation(); confirm(`Do you want to delete this allowance?`)" class="oh-btn oh-btn--danger"style="width: 50%;">
|
||||
<ion-icon
|
||||
name="trash-outline"
|
||||
role="img"
|
||||
|
||||
@@ -86,7 +86,7 @@
|
||||
aria-label="create outline"
|
||||
></ion-icon>{% trans "Edit" %}
|
||||
</a>
|
||||
<a href="{% url 'delete-deduction' deduction.id %}" class="oh-btn oh-btn--danger"style="width: 50%;">
|
||||
<a href="{% url 'delete-deduction' deduction.id %}" onclick="event.preventDefault();event.stopPropagation(); confirm(`Do you want to delete this deduction?`)" class="oh-btn oh-btn--danger"style="width: 50%;">
|
||||
<ion-icon
|
||||
name="trash-outline"
|
||||
role="img"
|
||||
|
||||
Reference in New Issue
Block a user