Go to file
Frank Cools 5cbffd799a Add getAccountMappings() method to retrieve account labels
Fixed:
- Added missing getAccountMappings() method to DeclarationTVA class
- Joins with Dolibarr's accounting_account table to get labels
- Retrieves account labels from chart of accounts (llx_accounting_account)
- Falls back to stored label if chart of accounts label not available
- Returns array with rowid, ca3_line, account_code, account_label, vat_rate, is_active

This fixes the issue where account labels were not showing in dropdown panels.
2025-10-02 23:33:21 +02:00
.tx Initial commit: DeclarationTVA Dolibarr module 2025-10-02 15:31:50 +02:00
admin Add automatic calculation for D-section result lines (25, 26, 28, 29) 2025-10-02 22:18:20 +02:00
build Initial commit: DeclarationTVA Dolibarr module 2025-10-02 15:31:50 +02:00
core Add getAccountMappings() method to retrieve account labels 2025-10-02 23:33:21 +02:00
img Initial commit: DeclarationTVA Dolibarr module 2025-10-02 15:31:50 +02:00
langs Split totals for BASE and VAT accounts in CA-3 line details 2025-10-02 23:29:57 +02:00
lib Initial commit: DeclarationTVA Dolibarr module 2025-10-02 15:31:50 +02:00
sql Fix SQL file path and update main schema 2025-10-02 17:34:38 +02:00
.gitattributes Initial commit: DeclarationTVA Dolibarr module 2025-10-02 15:31:50 +02:00
.gitignore Initial commit: DeclarationTVA Dolibarr module 2025-10-02 15:31:50 +02:00
ChangeLog.md Initial commit: DeclarationTVA Dolibarr module 2025-10-02 15:31:50 +02:00
COPYING Initial commit: DeclarationTVA Dolibarr module 2025-10-02 15:31:50 +02:00
declarationtva_create.php Add automatic table creation to declaration create page 2025-10-02 18:19:09 +02:00
declarationtva_line_details_ajax.php Split totals for BASE and VAT accounts in CA-3 line details 2025-10-02 23:29:57 +02:00
declarationtva_view.php Implement inline dropdown panels for CA-3 line details 2025-10-02 23:21:09 +02:00
declarationtvaindex.php Remove 'événements' title from Actions column 2025-10-02 20:37:14 +02:00
modulebuilder.txt Initial commit: DeclarationTVA Dolibarr module 2025-10-02 15:31:50 +02:00
PLANNING.md Add missing Sections C and D - Complete CA-3 Structure (Notice 4722) 2025-10-02 17:05:39 +02:00
README.md Initial commit: DeclarationTVA Dolibarr module 2025-10-02 15:31:50 +02:00
TASK.md Update TASK.md with completed MVP work 2025-10-02 23:01:41 +02:00

DECLARATIONTVA FOR DOLIBARR ERP & CRM

Features

Description of the module...

Other external modules are available on Dolistore.com.

Translations

Translations can be completed manually by editing files in the module directories under langs.

Installation

Prerequisites: You must have Dolibarr ERP & CRM software installed. You can download it from Dolistore.org. You can also get a ready-to-use instance in the cloud from https://saas.dolibarr.org

From the ZIP file and GUI interface

If the module is a ready-to-deploy zip file, so with a name module_xxx-version.zip (e.g., when downloading it from a marketplace like Dolistore), go to menu Home> Setup> Modules> Deploy external module and upload the zip file.

Final steps

Using your browser:

  • Log into Dolibarr as a super-administrator
  • Go to "Setup"> "Modules"
  • You should now be able to find and enable the module

Licenses

Main code

GPLv3 or (at your option) any later version. See file COPYING for more information.

Documentation

All texts and readme's are licensed under GFDL.