Overview
Comment:Correction numéro de compte
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | dev
Files: files | file ages | folders
SHA1: f57bbdbbddb1ff5cc8e0ff949da7e2731347e251
User & Date: bohwaz on 2019-02-12 10:55:42
Other Links: branch diff | manifest | tags
Context
2019-02-14
17:04
Notes internes check-in: cf29208fda user: bohwaz tags: dev
2019-02-12
10:55
Correction numéro de compte check-in: f57bbdbbdd user: bohwaz tags: dev
2019-01-29
12:41
Préparation pour refonte compta check-in: 4a7b339386 user: bohwaz tags: dev
Changes

Modified src/include/data/plan_comptable.json from [4d7e33a414] to [c496246466].

1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
    },
    "890": {
        "code": 890,
        "nom": "Bilan d'ouverture",
        "parent": 89,
        "position": 3
    },
    "890": {
        "code": 891,
        "nom": "Bilan de clôture",
        "parent": 89,
        "position": 3
    },
    "9": {
        "code": 9,
        "nom": "Classe 9 \u2014 Comptes analytiques",
        "parent": 0,
        "position": 12
    }
}







|












1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
    },
    "890": {
        "code": 890,
        "nom": "Bilan d'ouverture",
        "parent": 89,
        "position": 3
    },
    "891": {
        "code": 891,
        "nom": "Bilan de clôture",
        "parent": 89,
        "position": 3
    },
    "9": {
        "code": 9,
        "nom": "Classe 9 \u2014 Comptes analytiques",
        "parent": 0,
        "position": 12
    }
}

Modified src/www/admin/upgrade.php from [0233e009d2] to [7dd380ea3d].

258
259
260
261
262
263
264







265
266
267
268
269
270
271

        $db->exec('INSERT INTO "compta_categories" VALUES(NULL,-1,\'Licences fédérales\',\'Licences payées pour les adhérents (par exemple fédération sportive etc.)\',\'652\');');

        $db->import(ROOT . '/include/data/0.9.1.sql');

        $db->commit();
    }








    Utils::clearCaches();

    $config->setVersion(garradin_version());

    Static_Cache::remove('upgrade');








>
>
>
>
>
>
>







258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278

        $db->exec('INSERT INTO "compta_categories" VALUES(NULL,-1,\'Licences fédérales\',\'Licences payées pour les adhérents (par exemple fédération sportive etc.)\',\'652\');');

        $db->import(ROOT . '/include/data/0.9.1.sql');

        $db->commit();
    }

    if (version_compare($v, '0.9.1', '>=') && version_compare($v, '0.10.0', '<'))
    {
        // Mise à jour plan comptable: ajout compte 891, renommage compte 890 (typo dans 0.9.1)
        $comptes = new Compta\Comptes;
        $comptes->importPlan();
    }

    Utils::clearCaches();

    $config->setVersion(garradin_version());

    Static_Cache::remove('upgrade');