X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/ab67dc53bc95c2e4c74dc492b6b9210514d0c732..f81ad45ed1f9178834ff56f4a3a2ee0839a43dd9:/WEB-INF/lib/ttReportHelper.class.php diff --git a/WEB-INF/lib/ttReportHelper.class.php b/WEB-INF/lib/ttReportHelper.class.php index ca7c83bd..129d975b 100644 --- a/WEB-INF/lib/ttReportHelper.class.php +++ b/WEB-INF/lib/ttReportHelper.class.php @@ -1254,6 +1254,8 @@ class ttReportHelper { $body .= ''.$i18n->getKey('label.cost').''; if ($bean->getAttribute('chpaid')) $body .= ''.$i18n->getKey('label.paid').''; + if ($bean->getAttribute('chip')) + $body .= ''.$i18n->getKey('label.ip').''; if ($bean->getAttribute('chinvoice')) $body .= ''.$i18n->getKey('label.invoice').''; $body .= ''; @@ -1296,6 +1298,7 @@ class ttReportHelper { $body .= ''; } if ($bean->getAttribute('chpaid')) $body .= ''; + if ($bean->getAttribute('chip')) $body .= ''; if ($bean->getAttribute('chinvoice')) $body .= ''; $body .= ''; $body .= ' '; @@ -1333,6 +1336,11 @@ class ttReportHelper { $body .= $record['paid'] == 1 ? $i18n->getKey('label.yes') : $i18n->getKey('label.no'); $body .= ''; } + if ($bean->getAttribute('chip')) { + $body .= ''; + $body .= $record['modified'] ? $record['modified_ip'].' '.$record['modified'] : $$record['created_ip'].' '.$record['created']; + $body .= ''; + } if ($bean->getAttribute('chinvoice')) $body .= ''.htmlspecialchars($record['invoice']).''; $body .= ''; @@ -1363,6 +1371,7 @@ class ttReportHelper { $body .= ''; } if ($bean->getAttribute('chpaid')) $body .= ''; + if ($bean->getAttribute('chip')) $body .= ''; if ($bean->getAttribute('chinvoice')) $body .= ''; $body .= ''; } @@ -1386,6 +1395,7 @@ class ttReportHelper { $body .= ''; } if ($bean->getAttribute('chpaid')) $body .= ''; + if ($bean->getAttribute('chip')) $body .= ''; if ($bean->getAttribute('chinvoice')) $body .= ''; $body .= '';