diff --git a/htdocs/admin/multicurrency.php b/htdocs/admin/multicurrency.php index e8619219471..4678134ebb3 100644 --- a/htdocs/admin/multicurrency.php +++ b/htdocs/admin/multicurrency.php @@ -169,6 +169,7 @@ $head = multicurrencyAdminPrepareHead(); print dol_get_fiche_head($head, 'settings', $langs->trans($page_name), -1, "multicurrency"); +print '
'; print ''; print ''; print ''."\n"; @@ -191,7 +192,7 @@ print ''; print ''; print ''; */ print '
'.$langs->trans("Parameters").'
'.$langs->transnoentitiesnoconv("multicurrency_useOriginTx").''; if ($conf->use_javascript_ajax) { - print ajax_constantonoff('MULTICURRENCY_USE_ORIGIN_TX'); + print ajax_constantonoff('MULTICURRENCY_USE_ORIGIN_TX', null, null, 0, 0, 0, 2, 0, 1); } else { $arrval = array('0' => $langs->trans("No"), '1' => $langs->trans("Yes")); print $form->selectarray("MULTICURRENCY_USE_ORIGIN_TX", $arrval, $conf->global->MULTICURRENCY_USE_ORIGIN_TX); @@ -242,6 +243,7 @@ print '
'; +print '
'; print '
'; @@ -290,7 +292,7 @@ if (!empty($conf->global->MAIN_MULTICURRENCY_ALLOW_SYNCHRONIZATION)) { } print '
'; -print ''; +print '
'; print ''; print ''."\n"; @@ -305,7 +307,7 @@ print ''; print ''; print ''; print ''; diff --git a/htdocs/core/class/conf.class.php b/htdocs/core/class/conf.class.php index e6f604189d3..f4f927185ee 100644 --- a/htdocs/core/class/conf.class.php +++ b/htdocs/core/class/conf.class.php @@ -692,6 +692,11 @@ class Conf $this->global->MAIN_SHOW_STATE_CODE = 1; } + // By default, we show state code in combo list + if (!isset($this->global->MULTICURRENCY_USE_ORIGIN_TX)) { + $this->global->MULTICURRENCY_USE_ORIGIN_TX = 1; + } + // Use a SCA ready workflow with Stripe module (STRIPE_USE_INTENT_WITH_AUTOMATIC_CONFIRMATION by default if nothing defined) if (!isset($this->global->STRIPE_USE_INTENT_WITH_AUTOMATIC_CONFIRMATION) && empty($this->global->STRIPE_USE_NEW_CHECKOUT)) { $this->global->STRIPE_USE_INTENT_WITH_AUTOMATIC_CONFIRMATION = 1; diff --git a/htdocs/multicurrency/multicurrency_rate.php b/htdocs/multicurrency/multicurrency_rate.php index 36a6af12750..2c32e0b03e8 100644 --- a/htdocs/multicurrency/multicurrency_rate.php +++ b/htdocs/multicurrency/multicurrency_rate.php @@ -229,7 +229,7 @@ if (empty($reshook)) { * View */ -$htmlother = new FormOther($db); +$form = new Form($db); $title = $langs->trans("CurrencyRate"); $page_name = "MultiCurrencySetup"; @@ -247,12 +247,6 @@ print dol_get_fiche_head($head, 'ratelist', $langs->trans("ModuleSetup"), -1, "m // ACTION if (!in_array($action, array("updateRate", "deleteRate"))) { - print '
'.$form->textwithpicto($langs->trans("CurrenciesUsed"), $langs->transnoentitiesnoconv("CurrenciesUsed_help_to_add")).'
'.$form->selectCurrency('', 'code', 1).''; print ' '; -print ''; +print ''; print '
'; - print ''; - print ''."\n"; - print '
'.$langs->trans("FormCreateRate").'
'; - - $form = new Form($db); print '
'; print ''; @@ -410,8 +404,8 @@ if ($resql) { $selectedfields .= $form->showCheckAddButtons('checkforselect', 1); } - print '
'; - print ''."\n"; + print '
'; + print '
'."\n"; // Lines with input filters print ''; diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php index 0a8da62bdba..5ea2e6c0529 100644 --- a/htdocs/theme/md/style.css.php +++ b/htdocs/theme/md/style.css.php @@ -3124,10 +3124,10 @@ div.tabsElem a { } div.tabBar { color: #; - padding-top: 21px; + padding-top: 23px; padding-left: 24px; padding-right: 24px; - padding-bottom: 18px; + padding-bottom: 23px; margin: 0px 0px 18px 0px; -webkit-border-radius: 3px; border-radius: 3px;