Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

實作 paid-leaves.feature 內尚未實作的四個場景 #26

Open
yurenju opened this issue Aug 2, 2017 · 0 comments
Open

實作 paid-leaves.feature 內尚未實作的四個場景 #26

yurenju opened this issue Aug 2, 2017 · 0 comments

Comments

@yurenju
Copy link
Collaborator

yurenju commented Aug 2, 2017

目前 paid-leaves.feature 裡面有四個尚未實作的場景需要實作如下。

若要協助實作,請先在這個 issue 下面討論你想如何實作,或是可以先推一個 work in progress 的 pull request,然後我們可以基於 pull request 討論,討論後再開始實作比較不會浪費時間。

如果認為有場景是不需要實作的也可以討論,比如說 用到職天數計算特休,我也一直在想是不是不需要。

  @ignore
  場景大綱: 用到職天數來計算特休
    假設 一勞工在公司工作了 <days> 計算特休假時
    那麼 根據勞基法 38 條,特休假為 <leaves>例子:
    | days | leaves |
    | 30   | 0      |
    | 210  | 3      |
    | 380  | 7      |
    | 730  | 10     |

  @ignore
  場景: 特休天數不符合勞基法
    假設 一勞工在公司工作了 1 年
     公司給該勞工 4 天特休
    那麼 違反 "勞動基準法" 38 條
    而且 根據勞基法 79 條,罰款為 20000 元至 1500000 元

  @ignore
  場景: 特休時又回來工作
    假設 一勞工的平均時薪為 150 元
     請特休假時
    而且 雇主因故要求勞工該天上班 8 小時
    那麼 根據勞基法 39 條,加給工資為 1500 元

  @ignore
  場景: 公用事業之勞工請了特休假,雇主可以停止你的特休
    假設 一勞工的平均時薪為 150 元
    而且 為公用事業之勞工
     請特休假時
    而且 當地主管機關認有必要時,停止其特休
    而且 上班 8 小時
    那麼 根據勞基法 41 條,合法
    而且 根據勞基法 39 條,加給工資為 1500
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant