[-] BO : Fixing warnings on PaymentModule Tab
This commit is contained in:
@@ -166,7 +166,7 @@ class AdminPaymentControllerCore extends AdminController
|
||||
break;
|
||||
}
|
||||
|
||||
$lists = array('currencies' =>
|
||||
$lists = array(
|
||||
array('items' => Currency::getCurrencies(),
|
||||
'title' => $this->l('Currency restrictions'),
|
||||
'desc' => $this->l('Please mark the checkbox(es) for the currency or currencies for which you want the payment module(s) to be available.'),
|
||||
@@ -203,6 +203,9 @@ class AdminPaymentControllerCore extends AdminController
|
||||
else
|
||||
$list['items'][$key_item]['check_list'][$key_module] = 'unchecked';
|
||||
|
||||
if (!isset($module->$name_id))
|
||||
$module->$name_id = array();
|
||||
|
||||
// If is a country list and the country is limited, remove it from list
|
||||
if ($name_id == 'country'
|
||||
&& isset($module->limited_countries)
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<module>
|
||||
<name>blockreinsurance</name>
|
||||
<displayName><![CDATA[Bloc reinsurance]]></displayName>
|
||||
<displayName><![CDATA[Bloc réassurance]]></displayName>
|
||||
<version><![CDATA[1.0]]></version>
|
||||
<description><![CDATA[Add a block to display more infos to reassure your customers]]></description>
|
||||
<description><![CDATA[Ajoute un bloc pour afficher des informations pour rassurer vos clients]]></description>
|
||||
<author><![CDATA[]]></author>
|
||||
<tab><![CDATA[front_office_features]]></tab>
|
||||
<is_configurable>1</is_configurable>
|
||||
|
||||
Reference in New Issue
Block a user