Display warnings invoice situation (#35972)
This commit is contained in:
parent
6333f32c9c
commit
7b4def5e99
1 changed files with 1 additions and 1 deletions
|
|
@ -118,7 +118,7 @@ if (getDolGlobalString('MAIN_MOTD')) {
|
|||
*/
|
||||
|
||||
// Specific warning to propose to upgrade invoice situation to progressive mode
|
||||
if (getDolGlobalInt('INVOICE_USE_SITUATION') == 1) {
|
||||
if (getDolGlobalInt('INVOICE_USE_SITUATION') == 1 && (float) DOL_VERSION >= 22.0) {
|
||||
$langs->loadLangs(array("admin"));
|
||||
print info_admin($langs->trans("WarningExperimentalFeatureInvoiceSituationNeedToUpgradeToProgressiveMode", 'https://partners.dolibarr.org'));
|
||||
//print "<br>";
|
||||
|
|
|
|||
Loading…
Reference in a new issue