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

No Leave has been allocated.

{% endif %}