Update leave_application.py

This changes were previously accepted but it seems that some how these changes were lost. Could you please make sure that these changes are not lost. Thanks.

Kind regards,
Mayur Patel