In this situation, you are comparing the productivity of the same group of employees under two different conditions: working from home and then working in the office. Since you are measuring the same subjects (employees) under both conditions, the data is paired or dependent.
Therefore, the appropriate hypothesis test for this situation is:
Hypothesis Test for two paired (dependent) means.