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

New add product price list by customer #36

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
2 changes: 1 addition & 1 deletion ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#Change Log

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


## 1.6

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

## 1.5
Expand Down
12 changes: 11 additions & 1 deletion class/actions_listincsv.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,17 @@ function printCommonFooter($parameters, &$object, &$action, $hookmanager)
$context_list = preg_grep('/(consumptionthirdparty)/i', $TContext);
}

if (!empty($context_list) || in_array('stockatdate', $TContext))
// Gestion des écrans objets référents tiers
if(empty($context_list)) {
$context_list = preg_grep('/(stockatdate)/i', $TContext);
}

// Gestion des écrans objets référents tiers
if(empty($context_list)) {
$context_list = preg_grep('/(thirdpartycustomerprice)/i', $TContext);
}

if (!empty($context_list))
{
global $langs, $user, $conf;
$langs->load('listincsv@listincsv');
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.6.0';
$this->version = '1.7.0';

// Url to the file with your last numberversion of this module
require_once __DIR__ . '/../../class/techatm.class.php';
Expand Down