1
1
Derivar 0

Remove magic values by scraping them from page

Fix bug that avoid quarterly declarations to be retrieved
Este cometimento está contido em:
Schoumi 2019-07-21 13:31:08 +02:00
ascendente 8ed28a9e65
cometimento b35b41e45a
2 ficheiros modificados com 3 adições e 3 eliminações

Ver ficheiro

@ -67,7 +67,7 @@ You can reach the Cozy Community by:
License
-------
Net-Entreprises-AE is developed by Schoumi and distributed under the [AGPL v3 license][agpl-3.0].
net-entreprises-micro is developed by Schoumi and distributed under the [AGPL v3 license][agpl-3.0].
[cozy]: https://cozy.io "Cozy Cloud"
[agpl-3.0]: https://www.gnu.org/licenses/agpl-3.0.html

Ver ficheiro

@ -126,8 +126,8 @@ async function getDeclarationsParameters(url) {
/* Get all available declarations IDs */
async function buildDeclarationList(params) {
params.codepaye = 10
params.echeance = 44
params.codepaye = params.codep
params.echeance = params.ech
params.listexi = ''
params.habpai = 'N'
params.habdev = 'N'