Go to file
Frank Cools 49174f610f Implement multi-select PCG account mapping using Dolibarr native style
Multi-Select Account Mapping:
- Replaced single account dropdown with multi-select field
- Users can now select multiple PCG accounts for each CA-3 line
- Uses Dolibarr native multi-select style with proper styling
- Supports Ctrl/Cmd key for multiple selection

Enhanced Configuration Interface:
- Multi-select dropdown for each CA-3 line
- Account selection from Dolibarr's chart of accounts
- Real-time account validation against existing accounts
- Better visual layout with proper sizing

Technical Updates:
- Updated config class to handle multiple account selections
- Added method to get account mappings grouped by CA-3 line
- Enhanced form submission to process array of account codes
- Improved current configuration display

Database Handling:
- Deactivate existing mappings before adding new ones
- Support for multiple accounts per CA-3 line
- Proper account code validation
- Clean data structure for multi-select support

User Experience:
- Native Dolibarr multi-select styling
- Helper text for multi-selection instructions
- Better account display with codes and labels
- Improved current configuration summary

Language Support:
- Added English translations for multi-select interface
- Added French translations for multi-select interface
- Complete bilingual support for new features

The configuration interface now supports multiple PCG account selection using Dolibarr's native multi-select style!
2025-10-02 17:13:44 +02:00
.tx Initial commit: DeclarationTVA Dolibarr module 2025-10-02 15:31:50 +02:00
admin Implement multi-select PCG account mapping using Dolibarr native style 2025-10-02 17:13:44 +02:00
build Initial commit: DeclarationTVA Dolibarr module 2025-10-02 15:31:50 +02:00
core Implement multi-select PCG account mapping using Dolibarr native style 2025-10-02 17:13:44 +02:00
img Initial commit: DeclarationTVA Dolibarr module 2025-10-02 15:31:50 +02:00
langs Implement multi-select PCG account mapping using Dolibarr native style 2025-10-02 17:13:44 +02:00
lib Initial commit: DeclarationTVA Dolibarr module 2025-10-02 15:31:50 +02:00
sql Phase 1 MVP - Core foundation complete 2025-10-02 16:16:15 +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
declarationtvaindex.php Fix module permissions for MVP access 2025-10-02 16:28:27 +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 Add comprehensive multiple PCG account selection functionality 2025-10-02 16:06: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.