Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pulup FIX : Problème de sélection sur la liste des demandes de congés (car elle contient des valeurs dans des inputs) - DA024994 #46

Merged
merged 2 commits into from
May 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@


## release 1.8
- FIX : DA024994 - Problème de sélection sur la liste des demandes de congés (car elle contient des valeurs dans des inputs) - *21/05/2024* - 1.8.4
- FIX : object test - *25/03/2024* - 1.8.3
- FIX : Compat agefodd session onglet participant sur tableau stagiaire *20/03/2024* - 1.8.2
- FIX : Module logo Image *18/12/2023* - 1.8.1
Expand Down
2 changes: 1 addition & 1 deletion core/modules/modListInCSV.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function __construct($db)
// Module description, used if translation string 'ModuleXXXDesc' not found (where XXX is value of numeric property 'numero' of module)
$this->description = "ListInCSV permet d'exporter en CSV une liste Dolibarr telle qu'elle apparaît à l'écran.";
// Possible values for version are: 'development', 'experimental', 'dolibarr' or version
$this->version = '1.8.3';
$this->version = '1.8.4';

// Url to the file with your last numberversion of this module
require_once __DIR__ . '/../../class/techatm.class.php';
Expand Down
4 changes: 4 additions & 0 deletions js/listincsv.js.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ function exportTableToCSV($table, filename) {
// Fix mails tronqués dans les listes par dol_trunc dans la fonction dol_print_email
link=$col.find('a')[0].href;
text = link.substr(7);
} else if ($col.find('input').length > 0 && $col.find('input').prop('type') === 'text') {
// Fix DA024994 liste avec des inputs
text=$col.find('input').val();
} else text = $col.text().trim();

// Spécifique pour "nettoyer" les données
Expand All @@ -115,6 +118,7 @@ function exportTableToCSV($table, filename) {
.split(tmpRowDelim).join(rowDelim)
.split(tmpColDelim).join(colDelim) + '"';


// Deliberate 'false', see comment below
if (false && window.navigator.msSaveBlob) {

Expand Down