Overview
Comment:Ne pas effacer des comptes ceux qui ne sont pas issus du plan comptable
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 83f667555371bb06d66988c73af03b48e7c1477d
User & Date: bohwaz on 2012-12-19 02:52:55
Other Links: manifest | tags
Context
2012-12-19
04:43
Utilisation des namespaces check-in: 9a0053fe6f user: bohwaz tags: trunk
02:52
Ne pas effacer des comptes ceux qui ne sont pas issus du plan comptable check-in: 83f6675553 user: bohwaz tags: trunk
02:51
Correction position du report à nouveau cf. [259ee2aeb9] check-in: 774f723a86 user: bohwaz tags: trunk
Changes

Modified include/class.compta_comptes.php from [d6d2e46c89] to [4e24838d5c].

38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
                    'libelle'   =>  $compte['nom'],
                    'position'  =>  $compte['position'],
                    'plan_comptable' => 1,
                ));
            }
        }

        $db->exec('DELETE FROM compta_comptes WHERE id NOT IN(\''.implode('\', \'', $ids).'\');');

        $db->exec('END;');

        return true;
    }

    public function add($data)







|







38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
                    'libelle'   =>  $compte['nom'],
                    'position'  =>  $compte['position'],
                    'plan_comptable' => 1,
                ));
            }
        }

        $db->exec('DELETE FROM compta_comptes WHERE id NOT IN(\''.implode('\', \'', $ids).'\') AND plan_comptable = 1;');

        $db->exec('END;');

        return true;
    }

    public function add($data)