Browse Source

Remove magic values by scraping them from page

Fix bug that avoid quarterly declarations to be retrieved
tags/1.2.0
Schoumi 4 months ago
parent
commit
b35b41e45a
2 changed files with 3 additions and 3 deletions
  1. 1
    1
      README.md
  2. 2
    2
      src/index.js

+ 1
- 1
README.md View File

@@ -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

+ 2
- 2
src/index.js View File

@@ -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'

Loading…
Cancel
Save