ken0043
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # タイムシート時間算出 タイムシートにての開始、終了、休憩の3つの要素が入力された際の自動算出要素をまとめます。 [開始]と[終了]の入力単位は契約登録49~57行目の端数に基づいて、その単位でしか入力できないようにする --- # 休憩時間 就業データの休憩時間帯に応じて休憩時間を仕分ける ``` 休憩 = タイムシートの入力値 条件 就業時間帯ー終了 > 休憩時間帯ー終了 休憩時間(基本) = 休憩時間帯1~4の該当時間帯の合算 条件 就業時間帯ー終了 < 休憩時間帯ー開始 休憩時間(残業) = 休憩時間帯1~4の該当時間帯の合算 条件 就業時間帯ー終了 < 休憩時間帯ー開始 and 深夜時間帯-開始 < 休憩時間帯ー開始 休憩時間(深夜) = 休憩時間帯1~4の該当時間帯の合算 ``` 例: 9:00~23:00まで勤務した → 休憩は1:15で入力されている ・就業データで休憩時間帯1「12:00~13:00」しかない場合  →深夜勤務は1:00 ・就業データで休憩時間帯1「12:00~13:00」と休憩時間帯2「22:00~22:15」がある場合  →深夜勤務は0:45 ※深夜休憩を取ったと判断 9:00~23:00まで勤務した → 休憩は1:00で入力されている ・就業データで休憩時間帯1「12:00~13:00」しかない場合  →深夜勤務は1:00 ・就業データで休憩時間帯1「12:00~13:00」と休憩時間帯2「22:00~22:15」がある場合  →深夜勤務は1:00 ※深夜休憩は取っていないものと判断。 --- # 総労働時間 ``` 総労働時間 = 終了 - 開始 - 休憩 ``` --- # 基本時間 ``` 基本時間 = 総労働時間 − 残業 ``` --- # 残業 ``` 1. 残業時間1= 基本時間ー1日の所定労働時間(8h) 2. 残業時間1 = 指定時間以降(契約登録68行目:就業時間帯ー終了) 3. 残業時間1 = 終了 - 就業時間帯ー終了 残業 = 残業時間 ー 休憩時間(残業) ``` ・月給は請求&給与に対して不使用だが、36協定の絡みで管理は必要。 ・時給制クライアントの内、以下のパターンあり。 この残業は深夜分も含むものである 1日の所定労働時間(8h)を超えた時に割増発生 --- # 深夜時間 ``` 1. 条件[深夜時間帯-終了] < [終了] 深夜時間1 =[深夜時間帯-終了]ー[深夜時間帯-開始]ー休憩[深夜時間帯] 2. 条件[深夜時間帯-終了] > [終了] 深夜時間1 =[終了]ー[深夜時間帯-開始]ー休憩[深夜時間帯] 深夜時間 = 深夜時間1 - 休憩時間(深夜)   ``` --- # 法定外 契約登録62行目→[法定外休日]の設定曜日を参照 ``` 条件 [記入日が契約登録62行目の法定外休日の場合] 法定外時間 = 総労働時間 = 「終了]−[開始]−休憩時間 ``` ・月給は不使用 ・法定外=土曜日&日曜日以外に就業先で定めた休日 原則として、法定外休出に対して割増は発生しない。但し、法定外休出をした結果、1日8h超or1週40h超となった場合はその超過分に対して割増の支払いが必要である。 (FTは月単位のみで考えるので対象外) 法定外休出は内部的に2種類の法定外休出時間が存在する。 **法定外休出(割増し)判定の式** ``` 条件 if[1日の総労働時間 > 1日の所定労働時間(8h)] 法定外休出(割増対象) = 法定外休出 - 1日の所定労働時間(8h) 法定外休出(割増対象外) = 法定外休出 - 法定外休出(割増対象) 条件 else if [日々の勤怠(総労働時間の1週間分) > 40h] 2. 法定外休出(割増対象外) ``` 1.割増対象になる(時間外労働)時間 2.割増対象にならない法定外休出(時間外労働)時間 例) 時給単価¥3,000の人で基本160h働き、別途法定外休出20hがありこのうち8hが割増対象になった。 2.法定外休出(単価の100%)の上に1.法定外休出(単価の25%)が上乗せされるという形です。   ・勤怠上の法定外休出カウントは20h   ・(160+20)×3,000=540,000   ・540,000+(3,000×0.25×8)=546,000 --- # 法定内 契約登録63行目→[法定外休日]の設定曜日を参照 ``` 条件 [記入日が契約登録63行目の法定内休日の場合] 法定内時間 = 総労働時間 = 「終了]−[開始]−休憩時間 ``` ・法内休出は35%割増 --- # 質問要項 * 法定内、法定外休日は開始から終了までのすべての時間(総労働時間)を法定内、法定外として扱ってよろしいでしょうか? 下記の図のように法定内、法定外休日の場合はタイムシートにて総労働時間 と 法内休出、法外休出がそれぞれ同じ時間として表示される状態で問題ないでしょうか。 ![](https://i.imgur.com/asixkIJ.png) また、上記の内容で問題ない場合には深夜(22時~)まで就業した場合の表示内容はこのような形で問題ないでしょうか。 ![](https://i.imgur.com/O7oNxSQ.png) * 契約登録83~95行目の時間帯設定が給与と請求に分かれてて設定できるものになっていますが、給与と請求で時間帯設定が異なる場合があるのでしょうか。

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully