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 ''; print ''; print ''; - print ''."\n"; print ''."\n"; print ''; @@ -161,8 +160,6 @@ print ''; $var=!$var; print ''; print ''; - - print ''; $var=!$var; print ''; print ''; - - print ''; print ''; print ''; -print ''; -print ''; +$var=!$var; +print ''; +print ''; print '
'.$langs->trans("Description").''.$langs->trans("Value").''.$langs->trans("Details").'
'.$langs->trans("DisplayMarginRates").''; if (! empty($conf->use_javascript_ajax)) { @@ -187,8 +184,6 @@ print '
'.$langs->trans("DisplayMarkRates").''; if (! empty($conf->use_javascript_ajax)) { @@ -208,9 +203,10 @@ else print ''.$langs->trans('MarkRate').' = '.$langs->trans('Margin').' / '.$langs->trans('SellingPrice').'
'.$langs->trans("ForceBuyingPriceIfNull").'
'.$langs->trans("ForceBuyingPriceIfNull").''; if (! empty($conf->use_javascript_ajax)) {