Adding Different Colors to Leave Policy Types#
Style based on form item value.Color can be added to the leave types in the calendar box in the Mobile Application.
Defining the Styles#
There are two new Fixed lexicons:- X_CSS_COLOR - This lexicon holds the colors available for leave types
- X_CSS_ICON - This lexicon holds the styles available for icons
There are two new Partially Fixed lexicons:
- X_CSS_LV_TYPE_CODE
- X_CSS_LV_APPROVAL
These lexicons are maintained by the customer and are the link between the HL colors and HL style in the fixed lexicons to the leave types and icons.
For example - The X_CSS_COLOR lexicons defines HL colors that can be associated with leave types.
These colors are then associated with leave types in X_CSS_LV_TYPE_CODE
A similar process is available for icons.
Two new Forms have been created to provide a user friendly approach to linking the leave types to colors and the icons to new labels:
- IMLSLA - Maintain CSS Icons for Leave Approval
- IMLSLT - Maintain CSS Leave Colors for Leave Type