Handle staff cannot Delete/Cancel Leave Application in ESS

21-Oct-2022 · Felix Fung

Why staff cannot Delete/Cancel Leave Application in ESS?

As an Admin user, you may receive requests from staff that they cannot delete or cancel Leave Application in ESS as

  • Pending Leave Application cannot be deleted on or after the leave date
  • Approved Leave Application cannot be cancelled after 1 month of the leave start date

Backstage prevents you from simply deleting a Leave Entry coming from the approved Leave Application, because we think it is better to keep the complete history for records that involved multiple parties (the staff, the approvers, etc). 

How to handle staff who cannot Delete/Cancel Leave Application in ESS?

1. Pending Leave Application

  • Go to Attendance -> Leave Application -> Locate the record
  • Delete the Leave Application Directly

2. Approved Leave Application    

  • Go to Attendance -> Leave Application -> Click into the record
    • Alternatively, you can first locate the Leave Entry record, then from within, there is a link to the corresponding Leave Application
  • Go to More -> "Cancel this application"
  • Give a reason if needed -> Confirm!
  • A notification email will be sent to the staff as well as the approvers
  • Unlike the Leave Application is cancelled by staff through ESS, the Leave Application Status will be turned from "Approved" to "Cancelled" directly and NO new records "XX To Cancel" would be created, which can be checked from Admin and ESS Portal

What's Next?

  • Check Leave Entry and see if it is deleted
  • Check the staff Leave Balance
  • Ask staff check the leave status
{"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"}