You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: class/sellyoursaasutils.class.php
+9-2Lines changed: 9 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -835,8 +835,15 @@ public function doAlertHardEndTrial()
835
835
$outputlangs->loadLangs(array('main'));
836
836
837
837
// @TODO Save in cache $arraydefaultmessage for each $object->thirdparty->default_lang and reuse it to avoid getEMailTemplate called each time
838
-
dol_syslog("We will call getEMailTemplate for type 'contract', label 'HardTrialExpiringReminder', outputlangs->defaultlang=".$outputlangs->defaultlang);
if ($object->thirdparty->array_options['options_checkboxnonprofitorga'] == 'nonprofit' && getDolGlobalInt("SELLYOURSAAS_ENABLE_FREE_PAYMENT_MODE")) {
839
+
dol_syslog("We will call getEMailTemplate for type 'contract', label 'HardTrialExpiringReminderFreeInstance', outputlangs->defaultlang=".$outputlangs->defaultlang);
dol_syslog("Topic found is ".$arraydefaultmessage->topic);
842
+
} else {
843
+
dol_syslog("We will call getEMailTemplate for type 'contract', label 'HardTrialExpiringReminder', outputlangs->defaultlang=".$outputlangs->defaultlang);
0 commit comments