Add an help for user to avoid bad configuration
This commit is contained in:
parent
21f959746f
commit
a078951a94
@ -951,7 +951,6 @@ if (empty($id))
|
|||||||
print $langs->trans("DictionaryDesc");
|
print $langs->trans("DictionaryDesc");
|
||||||
print " ".$langs->trans("OnlyActiveElementsAreShown")."<br>\n";
|
print " ".$langs->trans("OnlyActiveElementsAreShown")."<br>\n";
|
||||||
}
|
}
|
||||||
print "<br>\n";
|
|
||||||
|
|
||||||
|
|
||||||
$param = '&id='.urlencode($id);
|
$param = '&id='.urlencode($id);
|
||||||
@ -1016,6 +1015,13 @@ if ($id)
|
|||||||
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
||||||
print '<input type="hidden" name="from" value="'.dol_escape_htmltag(GETPOST('from','alpha')).'">';
|
print '<input type="hidden" name="from" value="'.dol_escape_htmltag(GETPOST('from','alpha')).'">';
|
||||||
|
|
||||||
|
if ($id == 10 && empty($conf->global->FACTURE_TVAOPTION))
|
||||||
|
{
|
||||||
|
print info_admin($langs->trans("VATIsUsedIsOff", $langs->transnoentities("Setup"), $langs->transnoentities("CompanyFoundation")));
|
||||||
|
}
|
||||||
|
|
||||||
|
print "<br>\n";
|
||||||
|
|
||||||
// Form to add a new line
|
// Form to add a new line
|
||||||
if ($tabname[$id])
|
if ($tabname[$id])
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1806,6 +1806,7 @@ YouCanDeleteFileOnServerWith=You can delete this file on server with Command Lin
|
|||||||
ChartLoaded=Chart of account loaded
|
ChartLoaded=Chart of account loaded
|
||||||
SocialNetworkSetup=Setup of module Social Networks
|
SocialNetworkSetup=Setup of module Social Networks
|
||||||
EnableFeatureFor=Enable features for <strong>%s</strong>
|
EnableFeatureFor=Enable features for <strong>%s</strong>
|
||||||
|
VATIsUsedIsOff=Note: The option to use sales Tax or VAT has been set to <strong>Off</strong> in the menu %s - %s, so Sale tax or Vat used will always be 0 for sales.
|
||||||
##### Resource ####
|
##### Resource ####
|
||||||
ResourceSetup=Configuration du module Resource
|
ResourceSetup=Configuration du module Resource
|
||||||
UseSearchToSelectResource=Use a search form to choose a resource (rather than a drop-down list).
|
UseSearchToSelectResource=Use a search form to choose a resource (rather than a drop-down list).
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user