I think if you worked the hours, you should get the pay. Giving notice should have nothing at all to do with it.