Overview
Comment:Correction: certains sous-comptes avec un solde nul étaient affichés dans le bilan
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: dc4ae45d81e928271360ea8a165b37c84e8fb01c
User & Date: bohwaz on 2018-11-12 23:01:57
Other Links: manifest | tags
Context
2018-11-13
15:58
Style des logs d'erreur check-in: 00d6a26caa user: bohwaz tags: trunk
2018-11-12
23:01
Correction: certains sous-comptes avec un solde nul étaient affichés dans le bilan check-in: dc4ae45d81 user: bohwaz tags: trunk
2018-11-09
17:00
Ajout d'un test basique sur la validité du code PHP avant de créer une release check-in: 658c587767 user: bohwaz tags: trunk
Changes

Modified src/include/lib/Garradin/Compta/Rapports.php from [193a79d665] to [4e82cf4b4a].

333
334
335
336
337
338
339
340
341
342
343
344
345
                continue;
            }

            foreach ($p['comptes'] as $id=>$solde)
            {
                if ($solde == 0)
                {
                    unset($source[$parent]['comptes'][$id]);
                }
            }
        }
    }
}







|





333
334
335
336
337
338
339
340
341
342
343
344
345
                continue;
            }

            foreach ($p['comptes'] as $id=>$solde)
            {
                if ($solde == 0)
                {
                    unset($source['comptes'][$parent]['comptes'][$id]);
                }
            }
        }
    }
}