No minor having a permit to work and no minor under 18 years of age, who is otherwise required by law to attend school, shall be out of school and unemployed for a period longer than 10 consecutive days while the public schools are in session, but shall enroll and attend school.
Ca. Educ. Code § 49100