Resetejar la data baixa autoconsum quan es dona d'alta un de nou #605
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Objectiu
Modificar comportament per tal que quan donem d'alta un autoconsum en un contracte que ja n'ha tingut prèviament però s'ha donat de baixa, el camp que ens indica la data de baixa de l'autoconsum anterior es torni a mostrar buit.
Targeta on es demana o Incidència
https://trello.com/c/cA36I4Dt
Comportament antic
La data de baixa de l'autoconsum es mantenia amb el valor de l'autoconsum original.
Comportament nou
La data de baixa es buida quan donem d'alta un autoconsum a una data posterior o igual a la baixa de l'anterior.
Comprovacions