> For the complete documentation index, see [llms.txt](https://kb.logicerp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.logicerp.com/logic-erp-learning-hub-tutorials-and-best-practices/payroll/payroll-entry/convert-short-leaves.md).

# Convert Short Leaves

**Available on:** Desktop · Web

Navigate to **Payroll Entry** and click on "Convert Short Leaves".

Employees ask for **short leaves** - a few hours off on a working day - on the **Logic Workforce** app. Each grade gets a number of free short leaves in a pay period, set in **Setup Short Leave Rules**. **Convert Short Leaves** turns the short leaves taken over the free ones into **half days**: a half day of leave (CL or SL) when the employee has it, otherwise an unpaid half day. Run it at the end of the pay period, before saving payroll.

## The top bar

* **Branch** - the branches your user may see; **ALL MY BRANCHES** shows them all.
* **Date From** / **To** - start on the current pay period. Each short leave is still numbered within the employee's whole pay period, even when the dates cover only part of it.
* **Show** lists the approved short leaves of those dates.

## The list

| Column           | What it shows                                                                                                      |
| ---------------- | ------------------------------------------------------------------------------------------------------------------ |
| **SELECT**       | Tick the rows to act on. **"-"** means the row cannot be ticked.                                                   |
| **EMPLOYEE**     | Name and employee code.                                                                                            |
| **BRANCH**       | The employee's branch.                                                                                             |
| **DATE**         | The day of the short leave.                                                                                        |
| **TIME**         | From and to, with AM / PM, and how long.                                                                           |
| **NO.**          | Which short leave of the pay period this is (1st, 2nd, 3rd...).                                                    |
| **WHAT HAPPENS** | What this short leave costs - see below.                                                                           |
| **DAY NOW**      | The day's attendance now - shown for rows to convert, rows already converted, and rows skipped because of the day. |
| **NOTE**         | A remark, for example when a converted short leave is now within the free ones.                                    |

The line under the list counts them: how many are to count as a half day, how many are already counted, how many are skipped, and how many are ticked.

## What happens to each short leave

| WHAT HAPPENS                                                                                    | Meaning                                                                                                                                                                                                                                              |
| ----------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **FREE (1 OF 2)**                                                                               | Within the free ones - nothing to do.                                                                                                                                                                                                                |
| **BECOMES HC (HALF DAY CL)** / **BECOMES HS (HALF DAY SL)** / **BECOMES HD (HALF DAY, UNPAID)** | Over the free ones - can be ticked and counted as a half day. The leave is taken in the order set for the grade (for example CL, then SL); when none can be taken that day, it is an unpaid half day. The balance is checked again when you convert. |
| **FREE UNTIL THE NEXT ONE (EVERY TWO EXTRA = A HALF DAY)**                                      | For grades where every two extra short leaves make one half day: this one waits for its pair, which is the one counted.                                                                                                                              |
| **LAPSES (ODD ONE - EVERY TWO EXTRA = A HALF DAY)**                                             | The last extra one so far has no pair - it is not charged. If another short leave is approved later in the period, it waits for that one instead.                                                                                                    |
| **COUNTED AS A HALF DAY (HC)**                                                                  | Already converted - can be ticked to undo.                                                                                                                                                                                                           |
| **SKIPPED - ...**                                                                               | Cannot be converted now; the reason follows (see below).                                                                                                                                                                                             |

## Count the ticked ones as a half day

* Tick the rows showing **BECOMES ...**, or press **Tick / Untick All**. It ticks only rows that can be acted on (press it again to untick all); **Count Ticked as Half Day** uses only the **BECOMES** rows.
* Press **Count Ticked as Half Day** and answer **Yes** (**No** is the default).
* Each day is saved again as **HC**, **HS** or **HD** with its own punches. A half day CL or SL takes half a day from the leave balance.
* The list is shown again. Any row that did not go through is listed with the reason (the first 15, then how many more). If one of an employee's days cannot be saved, none of that employee's days are changed.

## Undo

* Tick the rows showing **COUNTED AS A HALF DAY** and press **Undo Ticked**, then **Yes**. The days go back to what they were, and the leave balance is given back.
* Undo is refused once payroll is processed for that day, or when the day was changed after the conversion - put that day right in the **Attendance Register**.
* An employee cannot cancel a short leave that has been counted as a half day. Undo it here first if it should be cancelled.

## Why a row is skipped

| SKIPPED - ...                                                              | What to do                                                                                                                                                                     |
| -------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| A short leave of this month (or its cancellation) still waits for approval | Get it approved or rejected, then **Show** again. The employee's short leaves of that pay period wait, because the count may change. Ones already counted can still be undone. |
| The grade has no short leave rules.                                        | Set the grade in **Setup Short Leave Rules**.                                                                                                                                  |
| Payroll is already processed for this day.                                 | Nothing can be changed here.                                                                                                                                                   |
| The day has no attendance yet.                                             | Enter or import the day's attendance first.                                                                                                                                    |
| The day is ..., not a full working day.                                    | Only a normal full working day (with or without overtime) can be converted. A leave, half day, absence, holiday or blank day is left alone.                                    |
| The day has a punch with no IN or no OUT - complete it first.              | Complete the punches in the **Attendance Register**.                                                                                                                           |
| A compulsory attendance date - no leave can be charged on it.              | Leave it.                                                                                                                                                                      |
| A rostered half-day off - already a half day.                              | Leave it.                                                                                                                                                                      |

> **Example - two free short leaves, each extra one = a half day**
>
> Asha's grade allows 2 free short leaves a pay period, each extra one = a half day, charged to CL, then SL. In October she takes short leaves on the 6th, 14th and 27th. **Show** lists the first two as **FREE (1 OF 2)** and **FREE (2 OF 2)**, and the 27th as **BECOMES HC (HALF DAY CL)**. HR ticks the 27th and presses **Count Ticked as Half Day**. The 27th is now a half day CL, and Asha's CL balance goes down by half a day.

> **Example - every two extra = a half day**
>
> Vikram's grade allows 2 free short leaves, every two extra = a half day. He takes 5 in the pay period. The 3rd shows **FREE UNTIL THE NEXT ONE**, the 4th shows **BECOMES ...** (the pair counts as one half day), and the 5th shows **LAPSES** - it is not charged.

## Before saving payroll

When saving, **Payroll Generation** lists any short leaves over the free ones that are not yet counted as a half day (along with other open attendance items), and asks whether to save payroll anyway. **No** is the default and does not save: run **Convert Short Leaves**, then save payroll.

Every conversion and undo is recorded in the Change Log Viewer (User Access), under **Employee Request**, with the user who did it.

## Messages you may see

| Message                                                                                              | Why                                                  | What to do                                     |
| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------- |
| Press Show first.                                                                                    | No list is shown, or the list is empty               | Press **Show**                                 |
| Tick the short leaves to count as a half day (WHAT HAPPENS = BECOMES ...).                           | **Count Ticked as Half Day** with no such row ticked | Tick the rows showing BECOMES ...              |
| Tick the converted short leaves to undo (WHAT HAPPENS = COUNTED AS A HALF DAY ...).                  | **Undo Ticked** with no converted row ticked         | Tick the rows showing COUNTED AS A HALF DAY    |
| Count ... short leave(s) as a half day of leave? The attendance of those days is saved again.        | Asked before converting                              | **Yes** to go ahead                            |
| Undo the half day of ... short leave(s)? Those days are saved back as they were.                     | Asked before undoing                                 | **Yes** to go ahead                            |
| ...: the day was changed after the conversion (it is ...) - put it right in the attendance register. | Someone changed the day after it was converted       | Correct the day in the **Attendance Register** |
| Enter Date From as dd/mm/yyyy. / Enter Date To as dd/mm/yyyy. / Date To cannot be before Date From.  | The dates are wrong                                  | Correct them                                   |
| Modification rights are not available...                                                             | Your user may only view this menu                    | Ask for modify rights in User Access           |

## On the web

The same screen is on the web, with the same buttons. On a phone, Branch and the dates fold behind **Branch and dates** to give the list more room; they close by themselves when you press **Show**.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://kb.logicerp.com/logic-erp-learning-hub-tutorials-and-best-practices/payroll/payroll-entry/convert-short-leaves.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
