Once you resign, you will only receive the payment for the remaining hours that you have worked with the client.