Commit b35b41e4 authored by Schoumi's avatar Schoumi

Remove magic values by scraping them from page

Fix bug that avoid quarterly declarations to be retrieved
parent 8ed28a9e
......@@ -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
......
......@@ -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'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment