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

No Leave has been allocated.

{% endif %}