After thus finding out the average daily wage,the liability of the employer in respect of the maternity benefit has to be calculated in terms of s.5 of the Act for both ore-natal and post-natal period indicated above