Skip to content
This repository was archived by the owner on Nov 27, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
3ea0646
NEW : Ajout icône listincsv sur objets référents produit et tiers
atm-gauthier Feb 7, 2023
319b67a
Merge pull request #34 from ATM-Consulting/NEW/listincsv_sur_objets_r…
atm-lena Feb 8, 2023
a14456a
Release 1.6
Feb 10, 2023
ff0f49c
add product price list by customer for csv export
samifilali Nov 7, 2023
ee34b30
update changelog and mod
samifilali Nov 7, 2023
bde8332
good practices
samifilali Nov 7, 2023
41e23e8
Merge pull request #36 from atm-sami/NEW_add_product_price_list_by_cu…
atm-maxime Nov 7, 2023
02d8b1f
release 1.7
Nov 8, 2023
180f495
FIX_compat_v19
atm-jonathan Nov 21, 2023
1f7ed55
retour PR
atm-jonathan Nov 24, 2023
d04768f
num version et changelog
atm-jonathan Nov 24, 2023
8592b90
Merge pull request #37 from atm-jonathan/FIX_compat_v19
Nov 27, 2023
a5c2e27
Release 1.8
Dec 18, 2023
63065bf
fix path
Dec 18, 2023
203175b
Create es_MX/postit.lang
PsyCrow-code Jan 24, 2024
cd0d41f
Update postit.lang
PsyCrow-code Jan 24, 2024
70aaad3
Rename postit.lang to listincsv.lang
PsyCrow-code Jan 24, 2024
83bce0c
Update langs/es_MX/listincsv.lang
Feb 23, 2024
b5934e7
Merge pull request #38 from PsyCrow-code/main
Feb 23, 2024
194f409
FIX : Compat agefodd session onglet participant sur tableau stagiaire
atm-quentin Mar 20, 2024
6375046
Merge pull request #40 from ATM-Consulting/FIX_listincsv_trainee
atm-jpb Mar 20, 2024
32209bc
Merge pull request #41 from ATM-Consulting/FIX_listincsv_trainee
atm-jpb Mar 20, 2024
b40875c
test object
Mar 25, 2024
cd0e655
Merge pull request #42 from ATM-Consulting/fix_test_object
atm-quentin Apr 3, 2024
ae54590
Merge pull request #43 from ATM-Consulting/fix_test_object
atm-quentin Apr 3, 2024
8e50e86
Update config.default.php
PsyCrow-code May 2, 2024
bf14a4a
update
samifilali May 21, 2024
c24c3ab
Merge pull request #45 from ATM-Consulting/FIX_DA024994_export_demand…
atm-lena May 28, 2024
ed951c1
Merge pull request #46 from ATM-Consulting/FIX_DA024994_export_demand…
atm-lena May 28, 2024
5c02a9f
Introduce hook to allow other modules to use listInCSV in custom lists
thomas-Ngr Jun 4, 2024
f2ab25b
Merge pull request #47 from Easya-Solutions/main_new_introduce_hook
atm-florianm Jun 11, 2024
df96ff1
Easya/OpenDSI: ajout d'un hook: no. version + ChangeLog
atm-florianm Jun 11, 2024
22ebc88
Merge pull request #44 from PsyCrow-code/patch-1
atm-florianm Jun 11, 2024
3a087c4
Merge branch '1.8' of github.com:ATM-Consulting/dolibarr_module_listi…
Jun 26, 2024
53742f3
Release 1.9
Jun 26, 2024
84d21d3
NEW: Compat v20: nettoyage js pour faciliter la compat ultérieure
atm-florianm Aug 2, 2024
5be5baa
fix: on /accountancy/bookkeeping/listbyaccount.php tr colspan with ac…
FHenry Aug 8, 2024
44461ed
fix: better filter method
FHenry Aug 8, 2024
1b28091
Version number: 1.10
atm-florianm Aug 9, 2024
bc3d3d2
Merge pull request #56 from ATM-Consulting/NEW_1.9_cleanup
atm-lena Aug 9, 2024
928ebd3
Merge branch 'main' of https://github.com/ATM-Consulting/dolibarr_mod…
FHenry Aug 9, 2024
7ab9578
linter
FHenry Aug 9, 2024
b91b84c
linter
FHenry Aug 9, 2024
15d7ab9
linter
FHenry Aug 9, 2024
1ee3d93
Update modListInCSV.class.php
atm-quentin Aug 21, 2024
a2bf94a
Update ChangeLog.md
atm-quentin Aug 21, 2024
58a0bd2
FIX / COMPAT / 21
atm-quentin Dec 10, 2024
0b9d7ee
Merge pull request #59 from ATM-Consulting/FIX/COMPAT/21
atm-etienne Dec 10, 2024
5ee899e
Merge branch 'main' into FIX/COMPAT/21
atm-quentin Dec 10, 2024
e6a2264
Merge pull request #60 from ATM-Consulting/FIX/COMPAT/21
atm-quentin Dec 10, 2024
2db198b
FIX when the page dont have set in hook doActions()
kkhelifa-opendsi Dec 20, 2024
d281e38
Merge branch 'main' into main_fix_when_object_is_null
kkhelifa-opendsi Dec 20, 2024
7b94e96
add compatibility with conf MAIN_CHECKBOX_LEFT_COLUMN
Jan 20, 2025
365eeb2
gestion conflit
Jan 21, 2025
f6c198e
Merge pull request #62 from ATM-Consulting/FIX/SUPPORT/DA026010/MASSA…
atm-adrien Jan 21, 2025
db51bf5
Merge pull request #63 from ATM-Consulting/FIX/SUPPORT/DA026010/MASSA…
atm-adrien Jan 21, 2025
c210703
définission du chaine vide si aucun titre trouvé pour évité une erreu…
Mar 14, 2025
f8cedc2
resolution de sconflits
Mar 14, 2025
fbdb28b
définission du chaine vide si aucun titre trouvé pour évité une erreu…
Mar 14, 2025
24c67f3
définition d'une valeur par défaut si aucun titre trouvé pour éviter …
Mar 14, 2025
be86a68
Merge pull request #64 from ATM-Consulting/FIX/DA026212/TRIM_UNDEFINED
atm-adrien Mar 14, 2025
2cd538f
Merge pull request #65 from ATM-Consulting/FIX/DA026212/TRIM_UNDEFINED
atm-adrien Mar 14, 2025
72fd0a8
Merge branch 'main' of https://github.com/ATM-Consulting/dolibarr_mod…
FHenry Mar 21, 2025
ccbd5b3
Merge pull request #61 from Easya-Solutions/main_fix_when_object_is_null
atm-quentin Apr 4, 2025
d5245fa
Merge pull request #57 from FHenry/main_fix_accounting_listbyaccount_…
atm-quentin Apr 4, 2025
6decff8
Warning Constant INC_FROM_DOLIBARR already defined
Aug 18, 2025
0f8ea95
Merge pull request #67 from ATM-Consulting/FIX/147/WARNING_ACTIVATION…
atm-quentin Aug 19, 2025
81ae307
Merge pull request #66 from ATM-Consulting/FIX/147/WARNING_ACTIVATION…
atm-quentin Aug 19, 2025
7d0db57
FIX : COMPAT 22 - *02/10/2025* - 1.9.5
atm-maxime Oct 2, 2025
1478a5b
Merge pull request #68 from ATM-Consulting/1.9
atm-maxime Oct 2, 2025
752a29e
compat v23
ATM-NicolasV Dec 1, 2025
528ed3f
compatibility v23
ATM-NicolasV Dec 2, 2025
5de27f3
compatibility v23
ATM-NicolasV Dec 2, 2025
7b981f7
compat v23
ATM-NicolasV Dec 2, 2025
415c339
compat v23
ATM-NicolasV Dec 2, 2025
0da8ae2
compat v23
ATM-NicolasV Dec 2, 2025
d673cfd
Merge pull request #71 from ATM-Consulting/FIX/COMPAT/23
ATM-NicolasV Dec 2, 2025
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
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.buildpath
.project
.settings/
/nbproject
/nbproject
37 changes: 32 additions & 5 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,55 @@

## Unreleased

## release 1.9
- FIX : Compatibility Dolibarr 23 - *02/12/2025* - 1.9.6
- FIX : COMPAT 22 - *02/10/2025* - 1.9.5
- FIX : Warning Constant INC_FROM_DOLIBARR already defined - *18/08/2025* - 1.9.4
- FIX : définition d'une valeur par défaut si aucun titre trouvé pour éviter une erreur sur la fonction trim - *14/03/2025* - 1.9.3
- FIX : Add compatibility with conf MAIN_CHECKBOX_LEFT_COLUMN - *20/01/2024* - 1.9.2
- FIX : COMPAT 21 - *10/12/2024* - 1.9.1
- FIX : Nettoyage et compatibilité Dolibarr 20 - *02/08/2024* - 1.9.1
- NEW : DA025083 - Création d'un hook listInCSVFooterContext permettant à des modules externes d'utiliser ListInCSV. - *11/06/2024* - 1.9.0

## 1.5
## 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
- FIX : Compat v19 et php8.2 *07/10/2023* - 1.8.0

## release 1.7

- NEW : Ajout de la possibilité d'exporter la liste des prix clients *07/10/2023* - 1.7.0

## release 1.6

- NEW : Ajout icône listincsv sur objets référents produit et tiers *07/02/2023* - 1.6.0

## release 1.5

- NEW : Ajout de la class TechATM pour l'affichage de la page "A propos" *10/05/2022* 1.15.0

## 1.4
## release 1.4

- FIX: Family name - *02/06/2022* - 1.4.3
- FIX: Delete Trigger - *02/06/2022* - 1.4.2
- FIX: context detection - *15/03/2022* - 1.4.1
- NEW: Include Dolibarr V13 stock to date - *28/02/2022* - 1.4.0

## 1.3
## release 1.3

- FIX: Appel de `call_trigger()` sur un non-objet - *08/10/2021* - 1.3.1
- NEW: Déclenchement d'un trigger sur export d'un fichier avec listincsv - *19/05/2021* - 1.3.0

## 1.2
## release 1.2

- FIX: La liste ne s'exporte plus - *20/05/2021* - 1.2.4
- FIX: Les champs de type "case à cocher" ne sont pas exportés - *17/05/2021* - 1.2.3
- FIX: Suppression du dossier Box ainsi que tu fichier box *11/05/2021* - 1.2.2
- FIX: $_SESSION devient newToken() *11/05/2021* - 1.2.1
- NEW: Déplacement du code qui crée le boutton vert "CSV" pour utilisation dans des modules externes avec un contexte ajax *06/05/2021* - 1.2.0

## 1.1
## release 1.1

- NEW: Ajout d'une gestion de récupération des informations via un autre paramètre que l'action du formulaire le plus proche *06/05/2021* - 1.1.0
8 changes: 3 additions & 5 deletions README
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
/*
* Copyright (C) 2015 ATM Consulting <[email protected]>
*
* This program and files/directory inner it is free software: you can
* redistribute it and/or modify it under the terms of the
* This program and files/directory inner it is free software: you can
* redistribute it and/or modify it under the terms of the
* GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
Expand All @@ -15,5 +15,3 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/


18 changes: 9 additions & 9 deletions admin/listincsv_about.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
* Put some comments here
*/
// Dolibarr environment
$res = @include("../../main.inc.php"); // From htdocs directory
$res = @include "../../main.inc.php"; // From htdocs directory
if (! $res) {
$res = @include("../../../main.inc.php"); // From "custom" directory
$res = @include "../../../main.inc.php"; // From "custom" directory
}

// Libraries
Expand All @@ -37,7 +37,7 @@

// Access control
if (! $user->admin) {
accessforbidden();
accessforbidden();
}

/*
Expand All @@ -48,17 +48,17 @@

// Subheader
$linkback = '<a href="' . DOL_URL_ROOT . '/admin/modules.php">'
. $langs->trans("BackToModuleList") . '</a>';
. $langs->trans("BackToModuleList") . '</a>';
print_fiche_titre($langs->trans($page_name), $linkback);

// Configuration header
$head = listincsvAdminPrepareHead();
dol_fiche_head(
$head,
'about',
$langs->trans("Module104856Name"),
0,
'listincsv@listincsv'
$head,
'about',
$langs->trans("Module104856Name"),
0,
'listincsv@listincsv'
);

// About page goes here
Expand Down
40 changes: 16 additions & 24 deletions admin/listincsv_setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
* Put some comments here
*/
// Dolibarr environment
$res = @include("../../main.inc.php"); // From htdocs directory
$res = @include "../../main.inc.php"; // From htdocs directory
if (! $res) {
$res = @include("../../../main.inc.php"); // From "custom" directory
$res = @include "../../../main.inc.php"; // From "custom" directory
}

// Libraries
Expand All @@ -37,7 +37,7 @@

// Access control
if (! $user->admin) {
accessforbidden();
accessforbidden();
}

// Parameters
Expand All @@ -46,30 +46,22 @@
/*
* Actions
*/
if (preg_match('/set_(.*)/',$action,$reg))
{
if (preg_match('/set_(.*)/', $action, $reg)) {
$code=$reg[1];
if (dolibarr_set_const($db, $code, GETPOST($code), 'chaine', 0, '', $conf->entity) > 0)
{
if (dolibarr_set_const($db, $code, GETPOST($code), 'chaine', 0, '', $conf->entity) > 0) {
header("Location: ".$_SERVER["PHP_SELF"]);
exit;
}
else
{
} else {
dol_print_error($db);
}
}

if (preg_match('/del_(.*)/',$action,$reg))
{
if (preg_match('/del_(.*)/', $action, $reg)) {
$code=$reg[1];
if (dolibarr_del_const($db, $code, 0) > 0)
{
if (dolibarr_del_const($db, $code, 0) > 0) {
Header("Location: ".$_SERVER["PHP_SELF"]);
exit;
}
else
{
} else {
dol_print_error($db);
}
}
Expand All @@ -82,17 +74,17 @@

// Subheader
$linkback = '<a href="' . DOL_URL_ROOT . '/admin/modules.php">'
. $langs->trans("BackToModuleList") . '</a>';
. $langs->trans("BackToModuleList") . '</a>';
print_fiche_titre($langs->trans($page_name), $linkback);

// Configuration header
$head = listincsvAdminPrepareHead();
dol_fiche_head(
$head,
'settings',
$langs->trans("Module104856Name"),
0,
"listincsv@listincsv"
$head,
'settings',
$langs->trans("Module104856Name"),
0,
"listincsv@listincsv"
);

//echo $langs->trans('NoSetupAvailable');
Expand All @@ -116,7 +108,7 @@
print '<form method="POST" action="'.$_SERVER['PHP_SELF'].'">';
print '<input type="hidden" name="token" value="'.newToken().'">';
print '<input type="hidden" name="action" value="set_LISTINCSV_DELETESPACEFROMNUMBER">';
print $form->selectyesno("LISTINCSV_DELETESPACEFROMNUMBER",$conf->global->LISTINCSV_DELETESPACEFROMNUMBER,1);
print $form->selectyesno("LISTINCSV_DELETESPACEFROMNUMBER", getDolGlobalInt('LISTINCSV_DELETESPACEFROMNUMBER'), 1);
print '<input type="submit" class="button" value="'.$langs->trans("Modify").'">';
print '</form>';
print '</td></tr>';
Expand Down
54 changes: 54 additions & 0 deletions backport/v19/core/class/commonhookactions.class.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
<?php

namespace listincsv;

/* Copyright (C) 2023 Laurent Destailleur <[email protected]>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

/**
* \file htdocs/core/class/commonhookactions.class.php
* \ingroup core
* \brief File of parent class of all other hook actions classes
*/


if (file_exists(DOL_DOCUMENT_ROOT . '/core/class/commonhookactions.class.php')) {
require_once DOL_DOCUMENT_ROOT . '/core/class/commonhookactions.class.php';
/**
* Parent class of all other hook actions classes
*/
abstract class RetroCompatCommonHookActions extends \CommonHookActions
{

}
} else {
/**
* Parent class of all other hook actions classes
*/
abstract class RetroCompatCommonHookActions
{
/**
* @var string String of results.
*/
public $resprints;

/**
* @var array Array of results.
*/
public $results = array();
}

}
Loading