[FIX] ATTENDANCE: Fixed work record export issue

This commit is contained in:
Horilla
2025-06-30 10:54:15 +05:30
parent e4580d2a10
commit 8a74adc6e8

View File

@@ -5,12 +5,8 @@
<div class="d-flex justify-content-between">
<button
class="oh-btn oh-btn--secondary"
data-toggle="oh-modal-toggle"
data-target="#exportRecords"
onclick="
window.location.href = `{% url 'work-record-export' %}?month={{leave_dates.0.month}}&
year={{leave_dates.0.year}}&
{{request.POST.urlencode}}`
window.location.href = `{% url 'work-record-export' %}?month={{leave_dates.0.month}}&year={{leave_dates.0.year}}&{{request.POST.urlencode}}`
"
>
<ion-icon