Overview
SHA1: | 7a0b1fb57b54b1d3fa097094c6db4ca995fecd6a |
---|---|
Date: | 2014-04-19 02:38:43 |
User: | bohwaz |
Comment: | Correction bug clôture exercice avec résultat en déficit |
Timelines: | family | ancestors | descendants | both | trunk |
Downloads: | Tarball | ZIP archive |
Other Links: | files | file ages | folders | manifest |
Tags And Properties
- branch=trunk inherited from [e5099a03d9]
- sym-trunk inherited from [e5099a03d9]
Context
2014-04-19
| ||
03:55 | [15fe42805b] Design handheld plus agréable (user: bohwaz, tags: trunk) | |
02:38 | [7a0b1fb57b] Correction bug clôture exercice avec résultat en déficit (user: bohwaz, tags: trunk) | |
2014-04-18
| ||
15:40 | [957c81ad65] bug dans le nom de fichier quand il contient des points (bug de Phar) (user: bohwaz, tags: trunk) | |
Changes
Modified src/include/class.compta_exercices.php from [d9eb4897cf] to [e093553e7a].
200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 |
if ($resultat != 0) { $journal = new Compta_Journal; $journal->add([ 'libelle' => 'Résultat de l\'exercice précédent', 'date' => $date, 'montant' => $resultat, 'compte_debit' => $resultat < 0 ? 129 : NULL, 'compte_credit' => $resultat > 0 ? 120 : NULL, ]); } return true; } |
| |
200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 |
if ($resultat != 0) { $journal = new Compta_Journal; $journal->add([ 'libelle' => 'Résultat de l\'exercice précédent', 'date' => $date, 'montant' => abs($resultat), 'compte_debit' => $resultat < 0 ? 129 : NULL, 'compte_credit' => $resultat > 0 ? 120 : NULL, ]); } return true; } |
Modified src/include/data/plan_comptable.json from [ebb1665985] to [11c2e3c591].
581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 |
"parent": 411,
"position": 2
},
"419": {
"code": 419,
"nom": "Avances aux usagers",
"parent": 41,
"position": 2
},
"42": {
"code": 42,
"nom": "PERSONNEL ET COMPTES RATTACH\u00c9S",
"parent": 4,
"position": 1
},
|
| |
581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 |
"parent": 411,
"position": 2
},
"419": {
"code": 419,
"nom": "Avances aux usagers",
"parent": 41,
"position": 1
},
"42": {
"code": 42,
"nom": "PERSONNEL ET COMPTES RATTACH\u00c9S",
"parent": 4,
"position": 1
},
|