X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/4adddb2df36c69f06192807b82d48d7d282605d3..48da6c320f5b4ff9fcfe0832e87b5ed48cdb1e60:/topdf.php
diff --git a/topdf.php b/topdf.php
index b1195a4b..f0fdb602 100644
--- a/topdf.php
+++ b/topdf.php
@@ -159,6 +159,7 @@ if ($totals_only) {
if ($bean->getAttribute('chduration')) { $colspan++; $html .= "
".$i18n->getKey('label.duration').' | '; }
if ($bean->getAttribute('chnote')) { $colspan++; $html .= ''.$i18n->getKey('label.note').' | '; }
if ($bean->getAttribute('chcost')) { $colspan++; $html .= "".$i18n->getKey('label.cost').' | '; }
+ if ($bean->getAttribute('chpaid')) { $colspan++; $html .= "".$i18n->getKey('label.paid').' | '; }
if ($bean->getAttribute('chinvoice')) { $colspan++; $html .= ''.$i18n->getKey('label.invoice').' | '; }
$html .= '';
$html .= '';
@@ -208,6 +209,7 @@ if ($totals_only) {
$html .= $subtotals[$prev_grouped_by]['expenses'];
$html .= '';
}
+ if ($bean->getAttribute('chpaid')) $html .= ' | ';
if ($bean->getAttribute('chinvoice')) $html .= ' | ';
$html .= '';
$html .= ' |
';
@@ -235,6 +237,11 @@ if ($totals_only) {
$html .= $item['expense'];
$html .= '';
}
+ if ($bean->getAttribute('chpaid')) {
+ $html .= '';
+ $html .= $item['paid'] == 1 ? $i18n->getKey('label.yes') : $i18n->getKey('label.no');
+ $html .= ' | ';
+ }
if ($bean->getAttribute('chinvoice')) $html .= ''.htmlspecialchars($item['invoice']).' | ';
$html .= '';
@@ -283,6 +290,7 @@ if ($totals_only) {
$html .= $subtotals[$prev_grouped_by]['expenses'];
$html .= '';
}
+ if ($bean->getAttribute('chpaid')) $html .= ' | ';
if ($bean->getAttribute('chinvoice')) $html .= ' | ';
$html .= '';
}
@@ -308,6 +316,7 @@ if ($totals_only) {
$html .= $totals['expenses'];
$html .= '';
}
+ if ($bean->getAttribute('chpaid')) $html .= ' | ';
if ($bean->getAttribute('chinvoice')) $html .= ' | ';
$html .= '';
$html .= '';