X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/6b4cf0c797bc18757dd9708713982f733af9c89f..09a0f5eb840d00b4dca766ed24c42f50546c0e39:/WEB-INF/lib/ttReportHelper.class.php
diff --git a/WEB-INF/lib/ttReportHelper.class.php b/WEB-INF/lib/ttReportHelper.class.php
index af8549de..1f797ace 100644
--- a/WEB-INF/lib/ttReportHelper.class.php
+++ b/WEB-INF/lib/ttReportHelper.class.php
@@ -1570,6 +1570,8 @@ class ttReportHelper {
$body .= '
'.$i18n->getKey('label.cost').' | ';
if ($report['show_paid'])
$body .= ''.$i18n->getKey('label.paid').' | ';
+ if ($report['show_ip'])
+ $body .= ''.$i18n->getKey('label.ip').' | ';
if ($report['show_invoice'])
$body .= ''.$i18n->getKey('label.invoice').' | ';
$body .= '';
@@ -1612,6 +1614,7 @@ class ttReportHelper {
$body .= '';
}
if ($report['show_paid']) $body .= ' | ';
+ if ($report['show_ip']) $body .= ' | ';
if ($report['show_invoice']) $body .= ' | ';
$body .= '';
$body .= '| |
';
@@ -1649,6 +1652,11 @@ class ttReportHelper {
$body .= $record['paid'] == 1 ? $i18n->getKey('label.yes') : $i18n->getKey('label.no');
$body .= '';
}
+ if ($report['show_ip']) {
+ $body .= '';
+ $body .= $record['modified'] ? $record['modified_ip'].' '.$record['modified'] : $record['created_ip'].' '.$record['created'];
+ $body .= ' | ';
+ }
if ($report['show_invoice'])
$body .= ''.htmlspecialchars($record['invoice']).' | ';
$body .= '';
@@ -1679,6 +1687,7 @@ class ttReportHelper {
$body .= '';
}
if ($report['show_paid']) $body .= ' | ';
+ if ($report['show_ip']) $body .= ' | ';
if ($report['show_invoice']) $body .= ' | ';
$body .= '';
}
@@ -1702,6 +1711,7 @@ class ttReportHelper {
$body .= '';
}
if ($report['show_paid']) $body .= ' | ';
+ if ($report['show_ip']) $body .= ' | ';
if ($report['show_invoice']) $body .= ' | ';
$body .= '';