Added the condition to daily task report

This commit is contained in:
ashutosh.nehete 2025-10-06 15:24:25 +05:30
parent f742044350
commit d989076680

View File

@ -411,7 +411,7 @@
<div style="width:50%; box-sizing:border-box;display:flex; justify-content:center; align-items:center;">
<!-- Medium -->
<div class="donut thin donut-primary" style="--percentage: {{taskPercentage}};">
<span class="values">
<span {% if totalPlannedTask <= 100 %} class="values" {% endif %}>
<p style="color:#007bff;">{{totalCompletedTask}}</p> / <p style="color:#ccc;">{{totalPlannedTask}}</p>
</span>
</div>
@ -457,7 +457,7 @@
<div style="width:50%; box-sizing:border-box;display:flex; justify-content:center; align-items:center;">
<!-- Medium -->
<div class="donut thin donut-primary" style="--percentage: {{completionStatus}};">
<span {% if totalCompletedWork <= 100 %} class="values" {% endif %}>
<span {% if totalPlannedWork <= 100 %} class="values" {% endif %}>
<p style="color:#007bff;">{{totalCompletedWork}}</p> / <p style="color:#ccc;">{{totalPlannedWork}}</p>
</span>
</div>