Leave balance
leave_balanceCalculate an employee's remaining leave from allowance and carry-over minus approved and pending requests, showing whole days plus any half day and rounding down on the report.
Instructions
Show one employee's leave balance: allowance + carried-over, minus approved and pending, as whole days plus a possible half day. Remaining is rounded down to whole days on the report.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| employee | Yes | Employee id or name |