You cannot say one week before that you are going to leave. Anyway, even if it was a contract that you could have cancelled, you have to tell 2 months in advance.
You cannot say one week before that you are going to leave. Anyway, even if it was a contract that you could have cancelled, you have to tell 2 months in advance.