I have a paper that needs to be resubmitted by the end of the week. It should be the last round, and I strongly expect the paper to be accepted for publication after that.
I am still employed as a Ph.D. student in institution A, but will move to institution B as an assistant professor at the beginning of May.
Thus, the paper will be published while I am working for institution B. Institution B provide financial incentives for such publication, and it would, therefore, be beneficial for me to put the affiliation "B" on the paper.
What is the proper affiliation to put? I would tend to list both A and B as my affiliations, with a short footnote explanation.