Fix mention for france, only for FR country
This commit is contained in:
parent
3f1c9999db
commit
91f0429bd2
@ -205,7 +205,7 @@ class html_cerfafr extends ModeleDon
|
||||
$form = str_replace('__FrenchEligibility__', $frencheligibility, $form);
|
||||
|
||||
$art200 = '';
|
||||
if (preg_match('/fr/i', $outputlangs->defaultlang)) {
|
||||
if ($mysoc->country_code == 'FR') {
|
||||
if ($conf->global->DONATION_ART200 >= 1)
|
||||
{
|
||||
$art200 = '<input type="checkbox" disabled="true" checked="checked" >200 du CGI';
|
||||
@ -216,7 +216,7 @@ class html_cerfafr extends ModeleDon
|
||||
$form = str_replace('__ARTICLE200__', $art200, $form);
|
||||
|
||||
$art238 = '';
|
||||
if (preg_match('/fr/i', $outputlangs->defaultlang)) {
|
||||
if ($mysoc->country_code == 'FR') {
|
||||
if ($conf->global->DONATION_ART238 >= 1)
|
||||
{
|
||||
$art238 = '<input type="checkbox" disabled="true" checked="checked" >238 bis du CGI';
|
||||
@ -227,7 +227,7 @@ class html_cerfafr extends ModeleDon
|
||||
$form = str_replace('__ARTICLE238__', $art238, $form);
|
||||
|
||||
$art978 = '';
|
||||
if (preg_match('/fr/i', $outputlangs->defaultlang)) {
|
||||
if ($mysoc->country_code == 'FR') {
|
||||
if ($conf->global->DONATION_ART978 >= 1)
|
||||
{
|
||||
$art978 = '<input type="checkbox" disabled="true" checked="checked" >978 du CGI';
|
||||
|
||||
@ -555,8 +555,6 @@ Module57Name=Payments by Direct Debit
|
||||
Module57Desc=Management of Direct Debit orders. It includes generation of SEPA file for European countries.
|
||||
Module58Name=ClickToDial
|
||||
Module58Desc=Integration of a ClickToDial system (Asterisk, ...)
|
||||
Module59Name=Bookmark4u
|
||||
Module59Desc=Add function to generate Bookmark4u account from a Dolibarr account
|
||||
Module60Name=Stickers
|
||||
Module60Desc=Management of stickers
|
||||
Module70Name=Interventions
|
||||
|
||||
Loading…
Reference in New Issue
Block a user