One way of displaying leave requests is in combination with workflows and lists.
First the fields of the list must be defined, then the finished list can be linked to the workflow.
Configuration in the list
You create the list as a workflow list.
For example, for a leave request, it is useful to indicate the status of the completed workflow.
A field of type Dropdown can be inserted here.
This field is assigned the status Approved and the status Rejected.
For a good overview it is recommended to give the field the attribute Show in filter yes.
The workflow with the payload lists is then assigned the selection from the dropdown fields of the list on the actions.
Select Update the status of a list item, then select the dropdown field and the value below it.