{% if not jQuery.isEmptyObject(data) %} {% for(const [key, value] of Object.entries(data)) { %} {% } %}
{{ __("Leave Type") }} {{ __("Total Allocated Leaves") }} {{ __("Expired Leaves") }} {{ __("Used Leaves") }} {{ __("Pending Leaves") }} {{ __("Available Leaves") }}
{%= key %} {%= value["total_leaves"] %} {%= value["expired_leaves"] %} {%= value["leaves_taken"] %} {%= value["pending_leaves"] %} {%= value["remaining_leaves"] %}
{% else %}

No Leaves have been allocated.

{% endif %}