X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Flib%2FttReportHelper.class.php;h=1f797ace4580068bd21bbaede3dd291f12c64650;hb=62dc3d09ec2703764869f5e76e5bc82b351938a2;hp=af8549de3a63f054ced2d7505d51b507c6238e20;hpb=aad7651dc744e59b94b14c7e2d5626bbcc713569;p=timetracker.git
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 .= '';