Prepare 3.3 freeze.
This commit is contained in:
parent
db91526643
commit
b119ab5539
@ -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)
|
// Module description, used if translation string 'ModuleXXXDesc' not found (where XXX is value of numeric property 'numero' of module)
|
||||||
$this->description = "Margin management";
|
$this->description = "Margin management";
|
||||||
// Possible values for version are: 'development', 'experimental', 'dolibarr' or version
|
// 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)
|
// 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);
|
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
||||||
// Where to store the module in setup page (0=common,1=interface,2=other)
|
// Where to store the module in setup page (0=common,1=interface,2=other)
|
||||||
|
|||||||
@ -125,7 +125,6 @@ print_fiche_titre($langs->trans("MemberMainOptions"),'','');
|
|||||||
print '<table class="noborder" width="100%">';
|
print '<table class="noborder" width="100%">';
|
||||||
print '<tr class="liste_titre">';
|
print '<tr class="liste_titre">';
|
||||||
print '<td width=300>'.$langs->trans("Description").'</td>';
|
print '<td width=300>'.$langs->trans("Description").'</td>';
|
||||||
|
|
||||||
print '<td colspan="2" align="center">'.$langs->trans("Value").'</td>'."\n";
|
print '<td colspan="2" align="center">'.$langs->trans("Value").'</td>'."\n";
|
||||||
print '<td align="left">'.$langs->trans("Details").'</td>'."\n";
|
print '<td align="left">'.$langs->trans("Details").'</td>'."\n";
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
@ -161,8 +160,6 @@ print '</form>';
|
|||||||
$var=!$var;
|
$var=!$var;
|
||||||
print '<tr '.$bc[$var].'>';
|
print '<tr '.$bc[$var].'>';
|
||||||
print '<td>'.$langs->trans("DisplayMarginRates").'</td>';
|
print '<td>'.$langs->trans("DisplayMarginRates").'</td>';
|
||||||
|
|
||||||
|
|
||||||
print '<td colspan="2" align="center">';
|
print '<td colspan="2" align="center">';
|
||||||
if (! empty($conf->use_javascript_ajax))
|
if (! empty($conf->use_javascript_ajax))
|
||||||
{
|
{
|
||||||
@ -187,8 +184,6 @@ print '</tr>';
|
|||||||
$var=!$var;
|
$var=!$var;
|
||||||
print '<tr '.$bc[$var].'>';
|
print '<tr '.$bc[$var].'>';
|
||||||
print '<td>'.$langs->trans("DisplayMarkRates").'</td>';
|
print '<td>'.$langs->trans("DisplayMarkRates").'</td>';
|
||||||
|
|
||||||
|
|
||||||
print '<td colspan="2" align="center">';
|
print '<td colspan="2" align="center">';
|
||||||
if (! empty($conf->use_javascript_ajax))
|
if (! empty($conf->use_javascript_ajax))
|
||||||
{
|
{
|
||||||
@ -208,9 +203,10 @@ else
|
|||||||
print '</td>';
|
print '</td>';
|
||||||
print '<td>'.$langs->trans('MarkRate').' = '.$langs->trans('Margin').' / '.$langs->trans('SellingPrice').'</td>';
|
print '<td>'.$langs->trans('MarkRate').' = '.$langs->trans('Margin').' / '.$langs->trans('SellingPrice').'</td>';
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
print '<tr>';
|
|
||||||
print '<td>'.$langs->trans("ForceBuyingPriceIfNull").'</td>';
|
|
||||||
|
|
||||||
|
$var=!$var;
|
||||||
|
print '<tr '.$bc[$var].'>';
|
||||||
|
print '<td>'.$langs->trans("ForceBuyingPriceIfNull").'</td>';
|
||||||
print '<td colspan="2" align="center">';
|
print '<td colspan="2" align="center">';
|
||||||
if (! empty($conf->use_javascript_ajax))
|
if (! empty($conf->use_javascript_ajax))
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user