{{> header }}

{{logged_user.name}} {{logged_user.lastname}} messages

{{> show_flash_messages }}

Leave request to approve

{{# unless to_be_approved_leaves}}
There are no leave requests to decide on.
{{else}}

Scroll table horizontally

{{#each to_be_approved_leaves }} {{/each}}
Employee Department Date of request Leave dates Type Days Comment
{{#with this.user}}{{this.full_name}} {{/with}} {{this.user.department.name}} {{as_date_from_timestamp this.createdAt}} {{> leave_dates leave=this}} {{#if this.is_pended_revoke_leave}}REVOKE {{/if}}{{this.leave_type.name}} {{ this.get_deducted_days_number }} {{this.comment.comment}}
{{/unless}}
 

All my absences

{{> user_requests_grouped grouped_leaves=my_leaves_grouped logged_user=logged_user }} {{>footer}}