Skip to content

Commit

Permalink
Add contracts infos needed in notification; fixes #68
Browse files Browse the repository at this point in the history
  • Loading branch information
trasher committed May 31, 2017
1 parent e12bc30 commit 7ef6066
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion inc/contract.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1304,7 +1304,8 @@ static function cronContract($task=NULL) {
strtotime($next_alerts[$type]." +".($before)." day"));
$message = sprintf(__('%1$s: %2$s')."<br>\n",
$data["name"], Html::convDate($real_alert_date));
$contract_infos[$type][$entity][$data['id']]['alert_date'] = $real_alert_date;
$data['alert_date'] = $real_alert_date;
$contract_infos[$type][$entity][$data['id']] = $data;

switch ($type) {
case 'periodicitynotice' :
Expand Down

0 comments on commit 7ef6066

Please sign in to comment.