diff --git a/core/class/declarationtva.class.php b/core/class/declarationtva.class.php index 9d2d132..1526b1a 100644 --- a/core/class/declarationtva.class.php +++ b/core/class/declarationtva.class.php @@ -510,33 +510,6 @@ class DeclarationTVA return false; } - /** - * Get account mappings for CA-3 lines - * - * @return array Account mappings - */ - public function getAccountMappings() - { - $sql = "SELECT ca3_line, account_code, account_label - FROM " . MAIN_DB_PREFIX . "declarationtva_account_mappings - WHERE entity = " . $this->entity . " AND is_active = 1 - ORDER BY ca3_line, account_code"; - - $result = $this->db->query($sql); - $mappings = array(); - - if ($result) { - while ($obj = $this->db->fetch_object($result)) { - $mappings[] = array( - 'ca3_line' => $obj->ca3_line, - 'account_code' => $obj->account_code, - 'account_label' => $obj->account_label - ); - } - } - - return $mappings; - } /** * Create CA-3 line record