Skip to content

How to retrieve LEAVES for employee? #896

@pdolinaj

Description

@pdolinaj

I am retrieving list of all employees:

$data = $xero->load(\XeroPHP\Models\Accounting\Employee::class)->execute();

How can I retrieve all leaves for this employee?

vendor/calcinai/xero-php/src/XeroPHP/Models/PayrollUK/Employee/Leave.php

Is there a way to retrieve more data about employee, e.g. email address? I can only access the user ID + First Name + Last Name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions