Flow chart for leave and salary

Hi
Trying to understand the salary structure and the leave structure.

I was hoping someone can say if , what I have drawn is correct…