You got entitled to get the wages for hours you worked up to the date you quit your job. An employer can't withhold pay even if employees do not work their full notice unless written in the contract.