Overview
Comment:Stocker la différence sans absolu
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 166dfb5539c405bba1b7427bb16b8a535a08a035
User & Date: bohwaz on 2015-02-04 02:31:40
Other Links: manifest | tags
Context
2015-02-04
02:47
Corrections pour SkrivML + ouverture pop-up images et fichiers (wiki) check-in: f5a5566aa7 user: bohwaz tags: trunk
02:31
Stocker la différence sans absolu check-in: 166dfb5539 user: bohwaz tags: trunk
02:27
Fix [16af9ccf92] : comptes de crédit et débit lors du report à nouveau automatique check-in: e5a990bf5a user: bohwaz tags: trunk
Changes

Modified src/include/lib/Garradin/Compta/Exercices.php from [ca671d9e89] to [bb49485d46].

175
176
177
178
179
180
181
182
183
184

185
186
187
188
189
190
191
            }
            else
            {
                $compte_debit = $solde > 0 ? NULL : $row['compte'];
                $compte_credit = $solde < 0 ? NULL : $row['compte'];
            }

            $solde = round(abs($solde), 2);

            $diff += $solde;


            // Chaque solde de compte est reporté dans le nouvel exercice
            $journal->add([
                'libelle'       =>  'Report à nouveau',
                'date'          =>  $date,
                'montant'       =>  $solde,
                'compte_debit'  =>  $compte_debit,







<
<

>







175
176
177
178
179
180
181


182
183
184
185
186
187
188
189
190
            }
            else
            {
                $compte_debit = $solde > 0 ? NULL : $row['compte'];
                $compte_credit = $solde < 0 ? NULL : $row['compte'];
            }



            $diff += $solde;
            $solde = round(abs($solde), 2);

            // Chaque solde de compte est reporté dans le nouvel exercice
            $journal->add([
                'libelle'       =>  'Report à nouveau',
                'date'          =>  $date,
                'montant'       =>  $solde,
                'compte_debit'  =>  $compte_debit,