Skip to content

Instantly share code, notes, and snippets.

View akakeronos's full-sized avatar

Pascal Romain akakeronos

View GitHub Profile
@akakeronos
akakeronos / formule.js
Created March 27, 2018 10:22
formule pour DI-1-2
'DI-1-2': {
label: "Routes",
filter(m52Row){
const article = m52Row['Nature'];
const fonction = m52Row['Fonction'];
const f3 = fonction.slice(0, 3);
return isDI(m52Row) &&
(
(
@akakeronos
akakeronos / formule.js
Created March 27, 2018 10:18
formule pour DI-1-3
'DI-1-3': {
label: "Bâtiments",
filter(m52Row){
const article = m52Row['Nature'];
const fonction = m52Row['Fonction'];
const f3 = fonction.slice(0, 3);
return isDI(m52Row) &&
(
(
@akakeronos
akakeronos / formule.js
Created March 27, 2018 10:16
formule pour DI-1-5
La formule ci-dessous ne fonctionne pas
'DI-1-5': {
label: "Autres",
filter(m52Row){
const article = m52Row['Nature'];
//const otherEquipementPropreRuleIds = Object.keys(rules).filter(id => id.startsWith('DI-1') && id !== 'DI-1-4');
return isDI(m52Row) &&
article === '1675' &&
(
'DI-1-1': {
label: "Collèges",
filter(m52Row){
const article = m52Row['Nature'];
const fonction = m52Row['Fonction'];
const f3 = fonction.slice(0, 3);
return isDI(m52Row) &&
(
article.startsWith('20') ||
@akakeronos
akakeronos / formule DF-1-8
Created March 27, 2018 07:53
formule DF-1-8
'DF-1-8': {
label: "Conférence des financeurs",
filter(m52Row){
const article = m52Row['Nature'];
const fonction = m52Row['Fonction'];
return isDF(m52Row) &&
(
article === '65113' && fonction === 53
2017
Lignes M52 utilisées dans aucune formule d'aggrégation (2)
D 0202 65542 4 879 298,00 €
D 28 6512 311 750,75 €
Lignes M52 utilisées dans au moins 2 formules d'aggrégation (2)
D 621 1321 (216 352,12 €) utilisé dans DI-1-2, DI-2-4
D 51 6336 (186 365,45 €) utilisé dans DF-1-1-3, DF-2-4, DF-4
Lignes M52 utilisées dans DF-2, mais pas dans DF-1 (1)
D 51 65111 (16 625 479,71 €)

Keybase proof

I hereby claim:

  • I am akakeronos on github.
  • I am keronos (https://keybase.io/keronos) on keybase.
  • I have a public key whose fingerprint is 25A2 9A25 25D5 33B3 540E D856 7D31 8530 1EBF 3B78

To claim this, I am signing this object: