Subject to section 40, all wages due to an employee under his or her contract of employment shall be paid to him or her in legal tender.