[FORFEITED_DAY] - Forfeited Day

18-Aug-2022 · Felix Fung

What is this?

This payroll variable returns the number of days forfeited in the LAST leave period.

What will the Value be Returned?

Returns number of days forfeited in last leave period. Leave Type code is required as first parameter.

Since it is not always the case to work with this variable every month, please put [FORFEITED_DAY] in Payroll Batch's Remark to activate this variable.

Usage

You may want to pay staff for forfeited leave days to staff.

Payroll Variable Description Usage
[FORFEITED_DAY(Leave Type Code)] Get the number of days of specified leave type that has forfeited in the LAST leave period Pay staff forfeited Annual Leave
[FORFEITED_DAY(AL)]
{"status":"error","code":2,"details":null,"message":"An unexpected error occurred! Enable debug mode for more info: https:\/\/getkirby.com\/docs\/reference\/system\/options\/debug"}{"status":"error","code":32,"details":null,"message":"An unexpected error occurred! Enable debug mode for more info: https:\/\/getkirby.com\/docs\/reference\/system\/options\/debug"}