Overview
Comment: | Correction appel namespace |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | stable |
Files: | files | file ages | folders |
SHA1: |
93147add8cb6ae4b880877be29042452 |
User & Date: | bohwaz on 2015-01-06 15:17:00 |
Other Links: | manifest | tags |
Context
2015-01-07
| ||
17:50 | Débuts version 0.7.0 : possibilité pour les plugins de gérer des nouveaux types de boucles check-in: d4f28a592b user: bohwaz tags: trunk | |
2015-01-06
| ||
15:17 | Correction appel namespace check-in: 93147add8c user: bohwaz tags: trunk, stable | |
2015-01-05
| ||
03:43 | UserException, pas User_Exception check-in: 32aadc8ed0 user: bohwaz tags: trunk | |
Changes
Modified src/include/lib/Garradin/Compta/Categories.php from [a1074d89b7] to [387c950f70].
︙ | ︙ | |||
11 12 13 14 15 16 17 | const DEPENSES = -1; const RECETTES = 1; const AUTRES = 0; public function importCategories() { $db = DB::getInstance(); | | | 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | const DEPENSES = -1; const RECETTES = 1; const AUTRES = 0; public function importCategories() { $db = DB::getInstance(); $db->exec(file_get_contents(\Garradin\ROOT . '/include/data/categories_comptables.sql')); } public function add($data) { $this->_checkFields($data); $db = DB::getInstance(); |
︙ | ︙ |
Modified src/include/lib/Garradin/Compta/Comptes.php from [09fade04d2] to [a07343345f].
︙ | ︙ | |||
13 14 15 16 17 18 19 | const PASSIF = 0x01; const ACTIF = 0x02; const PRODUIT = 0x04; const CHARGE = 0x08; public function importPlan() { | | | 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | const PASSIF = 0x01; const ACTIF = 0x02; const PRODUIT = 0x04; const CHARGE = 0x08; public function importPlan() { $plan = json_decode(file_get_contents(\Garradin\ROOT . '/include/data/plan_comptable.json'), true); $db = DB::getInstance(); $db->exec('BEGIN;'); $ids = []; foreach ($plan as $id=>$compte) { |
︙ | ︙ |