Overview
Comment: | ne pas sortir les comptes au solde nul |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
a1c57faa72cd00a79c564400aa14b63c |
User & Date: | bohwaz on 2014-02-13 18:47:29 |
Other Links: | manifest | tags |
Context
2014-02-13
| ||
19:39 | Modification de la date de fin d'exercice par défaut : +1 an -1 jour check-in: c4ac876d13 user: bohwaz tags: trunk | |
18:47 | ne pas sortir les comptes au solde nul check-in: a1c57faa72 user: bohwaz tags: trunk | |
18:25 | Suppression de cotisation check-in: 1fa74feed8 user: bohwaz tags: trunk | |
Changes
Modified src/include/class.compta_exercices.php from [45811f4d52] to [e1a68dd98e].
︙ | ︙ | |||
390 391 392 393 394 395 396 | if ($classe == 6) { if (!isset($charges['comptes'][$parent])) { $charges['comptes'][$parent] = array('comptes' => array(), 'solde' => 0.0); } | | > > > | > > > | 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 | if ($classe == 6) { if (!isset($charges['comptes'][$parent])) { $charges['comptes'][$parent] = array('comptes' => array(), 'solde' => 0.0); } $solde = round($debit - $credit, 2); if (empty($solde)) continue; $charges['comptes'][$parent]['comptes'][$compte] = $solde; $charges['total'] += $solde; $charges['comptes'][$parent]['solde'] += $solde; } elseif ($classe == 7) { if (!isset($produits['comptes'][$parent])) { $produits['comptes'][$parent] = array('comptes' => array(), 'solde' => 0.0); } $solde = round($credit - $debit, 2); if (empty($solde)) continue; $produits['comptes'][$parent]['comptes'][$compte] = $solde; $produits['total'] += $solde; $produits['comptes'][$parent]['solde'] += $solde; } } |
︙ | ︙ |