diff --git a/htdocs/core/modules/modMargin.class.php b/htdocs/core/modules/modMargin.class.php index 48b6a7b3c61..20c16847407 100644 --- a/htdocs/core/modules/modMargin.class.php +++ b/htdocs/core/modules/modMargin.class.php @@ -52,7 +52,7 @@ class modMargin extends DolibarrModules // Module description, used if translation string 'ModuleXXXDesc' not found (where XXX is value of numeric property 'numero' of module) $this->description = "Margin management"; // Possible values for version are: 'development', 'experimental', 'dolibarr' or version - $this->version = 'experimental'; + $this->version = 'dolibarr'; // Key used in llx_const table to save module status enabled/disabled (where MYMODULE is value of property name of module in uppercase) $this->const_name = 'MAIN_MODULE_'.strtoupper($this->name); // Where to store the module in setup page (0=common,1=interface,2=other) diff --git a/htdocs/margin/admin/margin.php b/htdocs/margin/admin/margin.php index c6efdf832f1..67569104a3c 100644 --- a/htdocs/margin/admin/margin.php +++ b/htdocs/margin/admin/margin.php @@ -125,7 +125,6 @@ print_fiche_titre($langs->trans("MemberMainOptions"),'',''); print '
| '.$langs->trans("Description").' | '; - print ''.$langs->trans("Value").' | '."\n"; print ''.$langs->trans("Details").' | '."\n"; print '|
| '.$langs->trans("DisplayMarginRates").' | '; - - print ''; if (! empty($conf->use_javascript_ajax)) { @@ -187,8 +184,6 @@ print ' | ||
| '.$langs->trans("DisplayMarkRates").' | '; - - print ''; if (! empty($conf->use_javascript_ajax)) { @@ -208,9 +203,10 @@ else print ' | '; print ''.$langs->trans('MarkRate').' = '.$langs->trans('Margin').' / '.$langs->trans('SellingPrice').' | '; print '|
| '.$langs->trans("ForceBuyingPriceIfNull").' | '; +$var=!$var; +print '|||
| '.$langs->trans("ForceBuyingPriceIfNull").' | '; print ''; if (! empty($conf->use_javascript_ajax)) { | ||