Leave request

Paid leave, sick leave or special leave, approved by the requester's manager, and by the head of the department too for more than five business days (fictional rules). Paid leave takes the days from the balance the leave book keeps

File: leave.ringi (the request leave, version 1, sha256:a82bdbcf4b1d4612).

Kept by the team Human Resources (hr).

The organization is read in each of its versions: from 2026-04-01 and 2027-04-01.

When it can be used

Who may submit it

It may be submitted by everyone, except the members of the team Board (board).

In numbers: 19 of 24 people in the organization from 2026-04-01, and 18 of 23 from 2027-04-01.

A person may also submit it in the name of someone they stand in for (a proxy for submitting): the request is then that person's.

Form

FieldTypeAcceptsRequiredShown
Kind of leaveone of Paid leave, Sick leave or Special leave—yesalways
First daydate, a business day of the calendar officefrom 2026-01-01 to 2027-12-31yesalways
Business daysnumberfrom 1 to 20yesalways
Back at work ondate, worked out: “Business days” business days of the calendar office after “First day”—worked outalways
Reasontextup to 200 characterswhen “Kind of leave” is “Special leave”always
Who covers for youa person of the organization—noalways

A field left empty has no value: one that is optional, one asked for or shown on a condition, and one an approver fills in, until they do. A condition that a field “is not” a value holds when it has no value; one that it “is” a value, or that compares it, does not. A computation that reads a field with no value has none either, but a total, which adds the rows whose cell is filled in.

Route

The request takes the shared route manager_approval (shared/manager_approval.ringi). For the route, long holds when “Business days” is more than 5.

The shared route manager_approval: Approval by the manager

StageWho answersWhen it comes
managermanageralways
headdept_headwhen “Business days” is more than 5

How the approvers are chosen

ApproverWho it is
managerthe requester's manager: the head of the team the requester is mainly in, or of the team above where that head is the requester or there is none
dept_headthe head of the first team of the kind Department (department) above the requester

Each approver is chosen when the stage starts, in the version of the organization in effect then. A proxy in effect that day answers beside them (see “Proxies”).

Deadlines and reminders

Every stage of the shared route manager_approval:

For a stage that starts on 2026-04-03 (Fri), the days the request's calendar closes skipped (times in UTC+09:00):

StageReminderDueDue after going up
manager2026-04-06 (Mon) 09:002026-04-07 (Tue), at the end of the day2026-04-10 (Fri), at the end of the day
head2026-04-06 (Mon) 09:002026-04-07 (Tue), at the end of the day2026-04-10 (Fri), at the end of the day

A ticket ends within 40 business days at the most (3 × 10 at its stages, 2 × 5 with the requester). ritsu ringi doc --longest shows the dates of the longest.

Rules of a ticket

Comments

Proxies

The proxies the organization's data has for this request:

PersonProxyForDays
e1203 (Sales staff 3)e1201 (Sales staff 1)submitting2026-12-01 to 2026-12-31

Books and flows

Claims

The check holds each of these: a claim that did not hold would stop the request.

Scenarios

The check runs each of these on the ticket machine, and holds that every event comes to the stage and the state written.

a_long_paid_leave

Submitted by e1203 (Sales staff 3).

AtEventByStage afterState
2026-11-16 09:00submite1203 (Sales staff 3)managerin progress
2026-11-16 17:00approvee1101 (Manager of Section 1A)headin progress
2026-11-17 09:00reminder—headin progress
2026-11-19 00:00the deadline passes—headin progress
2026-11-19 10:00approvee0101 (Head of Sales Division)—approved

a_leave_sent_back_with_a_comment

Submitted by e1203 (Sales staff 3).

AtEventByCommentStage afterState
2026-11-16 09:00submite1203 (Sales staff 3)managerin progress
2026-11-16 11:00commente1101 (Manager of Section 1A)“Who covers for you while you are away?”managerin progress
2026-11-16 13:00commente1203 (Sales staff 3)“e1201 does”managerin progress
2026-11-16 17:00send backe1101 (Manager of Section 1A)“Write e1201 as the cover, please”—with the requester
2026-11-16 17:30commente1203 (Sales staff 3)“Where do I write the cover?”—with the requester
2026-11-16 17:45commente1101 (Manager of Section 1A)“In the cover field of the form”—with the requester
2026-11-17 09:00submit again (“Who covers for you”: e1201 (Sales staff 1))e1203 (Sales staff 3)“e1201 is written as the cover”managerin progress
2026-11-17 10:00approvee1101 (Manager of Section 1A)“Have a good trip”—approved

a_leave_rejected_with_a_reason

Submitted by e1203 (Sales staff 3).

AtEventByCommentStage afterState
2026-11-16 09:00submite1203 (Sales staff 3)managerin progress
2026-11-16 17:00approvee1101 (Manager of Section 1A)headin progress
2026-11-16 18:00rejecte3101 (Head of Sales Department 1)“The week before the year end is our busiest”—rejected