Fix view close activity button condition
Somehow, some activities in productions have an end date but are not done, or archived.
Therefore, since the close button view condition was regarding the presence of an end date instead of the done
condition, these activities cannot be closed, nor reopened, and its end date is fixed.
With this change they will be able to close them.
Edited by Pelayo García