> For the complete documentation index, see [llms.txt](https://docs.coreway.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.coreway.com/yoov-work/zh-hk/attendance-management/attendance-settings/shift-management.md).

# 班次管理

## 1. 功能描述  <a href="#id-1-feature-description" id="id-1-feature-description"></a>

* 在設立考勤組之前，管理員需要設置公司所有會出現的班次。

## 2. 單個新增班次 <a href="#id-2-single-add-shift" id="id-2-single-add-shift"></a>

* 操作步驟：\
  ①［考勤管理］>［考勤設置］>［班次管理］>［新增班次］\
  ② 填寫班次名稱、班次簡稱，選擇班次顏色。顏色將會顯示於員工排班表上，便於識別不同的班次，所以在建立時請盡量避免選用類近顏色。\
  ③ 設定打卡規則、打卡有效時間、無效打卡判斷、休息時間、班次出勤時長、彈性打卡規則、遲到/早退豁免時間，點擊 「提交」 班次設定說明。

<figure><img src="/files/5VZu6RdW886Nt5PDppWq" alt=""><figcaption><p>1</p></figcaption></figure>

<figure><img src="/files/5Q33zcaWNg4DsNBR7AUw" alt=""><figcaption><p>2</p></figcaption></figure>

<figure><img src="/files/IPpo7fwlbifBpmzpHS2I" alt=""><figcaption><p>3</p></figcaption></figure>

## 3.班次設定說明 <a href="#id-3-shift-setting-instruction" id="id-3-shift-setting-instruction"></a>

### 3.1 打卡規則 <a href="#id-3.1-checkin-rule" id="id-3.1-checkin-rule"></a>

| 打卡規則    | 對應打卡次數 |
| ------- | ------ |
| 1天1次上下班 | 1天打2次卡 |
| 1天2次上下班 | 1天打4次卡 |
| 1天3次上下班 | 1天打6次卡 |

* 例如：公司要求員工午餐時間需要打卡，則可以設定1天2次上下班，那一天將有4次打卡紀錄。即早上上班一次(09:00)、中午午餐時間一次(12:00)、下午上班一次(14:00)、下午下班一次(18:00)
* 如員工在第二節上班時間中的14:15才打卡，則系統會紀錄該員工為遲到。

<figure><img src="/files/aMhuiPnrdWtdGEVHgkXj" alt=""><figcaption></figcaption></figure>

### 3.2 上下班時間 <a href="#id-3.2-work-shift-time" id="id-3.2-work-shift-time"></a>

* 設定公司規定的上下班時間和當日打卡開始時間。

例如：管理員設定了打卡開始時間為 08:00，08:00 以前的打卡將算作昨天的下班時間。

<figure><img src="/files/VrudZP1EaPEQNQUvdreo" alt="" width="439"><figcaption></figcaption></figure>

### 3.3 設置打卡有效時間 <a href="#id-3.3-set-valid-checkin-time" id="id-3.3-set-valid-checkin-time"></a>

* 如需再仔細一點，可開啟 「打卡時段設置」 ，設定員工上下班的打卡有效時間。
* 例如: 設1天1次上下班，上班時間為09:00，上班打卡有效時間為08:00-10:00。表示: \
  當員工在08:00-09:00打卡時，系統將顯示正常上班； \
  當員工在09:00-10:00打卡時，系統則顯示遲到； \
  當員工在10:00以後打卡，系統將判斷為無效打卡。

<figure><img src="/files/UAclGgrPQ2Ejbmcuc1a1" alt=""><figcaption></figcaption></figure>

* **凌晨下班情況**\
  請注意： 若公司允許員工在隔天凌晨下班，則需設定打卡有效時間範圍至隔天，以避免出現今天下班卡記錄出現為隔天的上班卡狀況。如上圖所示。

### 3.4 無效打卡判斷 <a href="#id-3.4-invalid-checkin-judgment" id="id-3.4-invalid-checkin-judgment"></a>

* 員工未在上班或下班有效時間內打卡，且無請假等記錄，系統則會判斷為無效打卡，並依設定記為 「缺卡」 或 「缺勤」。

<figure><img src="/files/4VZpo4JR2esQ3KBBHDgA" alt=""><figcaption></figcaption></figure>

### 3.5 休息時間 <a href="#id-3.5-break-time" id="id-3.5-break-time"></a>

1天1次上下班的班次，可設定固定的休息時間，休息時長不計入出勤時長。

* 「班次出勤時長」  系統將根據上下班時間和休息設置，自動核算該班次的出勤時長，考勤統計工作時長及請假出差外出統計，會以此時間為準。
* 例如，以下的設定意思就是該班次的1天的標準出勤時長為8小時。

<figure><img src="/files/ivuA9wuZXx6ASAxeCdCo" alt=""><figcaption></figcaption></figure>

### 3.6 彈性打卡  <a href="#id-3.6-flexible-checkin" id="id-3.6-flexible-checkin"></a>

* 彈性考勤時間內，不計員工遲到，遲到多少分鐘，下班時間則依標準工作時間順延多少分鐘。

（1）允許早到早走、晚到晚走 \
例如，1天2次上下班，第一次下班時間為12:00，設定 「下班最多可早走10分鐘」，那麼員工在11:50就可以打卡午休，第二次上班時間則需要比原定的13:00提早10分鐘，也就是12:50就需要第二次上班打卡。下班晚走同樣邏輯。

（2）下班晚走，隔天可晚到 \
例如，正常下班時間為18:00，第一天下班後晚走3小時，隔天上班可以晚到1小時，則第一天21:00下班，隔天10:00上班不算遲到。

<figure><img src="/files/8U1Egj7Dc0TgRNjCySeM" alt=""><figcaption></figcaption></figure>

### 3.7 遲到/早退豁免時間  <a href="#id-3.7-late-early-leave-exemption-time" id="id-3.7-late-early-leave-exemption-time"></a>

* 人性化考勤設置，在豁免時間內，不計員工遲到及早退。&#x20;
* 例如，設09:00上班，18:00下班，遲到豁免時間為5分鐘內，那麼員工在09:05 打卡不計遲到。
* 所有設定好後請按 「保存」。

<figure><img src="/files/uTZ9YI1rfFqf3iTdPLVp" alt=""><figcaption></figcaption></figure>


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.coreway.com/yoov-work/zh-hk/attendance-management/attendance-settings/shift-management.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
