I think, the teacher first joined after 1.5 months age of her baby. As the child had born before her joining, she will not avail maternity leave as rule.
If it is possible to her and her school gives her permission to join the post, then she may apply for EOL showing her medical certificates. In future, the period of leave will count ( include) with her service period