X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=tofile.php;h=f4d5b29e83e455b8d13a4668ff08d6f7b076ee85;hb=1e2a1839bd4b4530a43dfcdc3f0582623edd5486;hp=3ddce979c9f843ea2746f7a5c55c33a608148c9a;hpb=6d72b9b2a73391e8e6b2a3586b4972c1a2e8160d;p=timetracker.git diff --git a/tofile.php b/tofile.php index 3ddce979..f4d5b29e 100644 --- a/tofile.php +++ b/tofile.php @@ -146,6 +146,7 @@ if ('xml' == $type) { print "\t\n"; } if ($bean->getAttribute('chinvoice')) print "\t\n"; + if ($bean->getAttribute('chtimesheet')) print "\t\n"; print "\n"; } @@ -209,6 +210,7 @@ if ('csv' == $type) { if ($bean->getAttribute('chpaid')) print ',"'.$i18n->get('label.paid').'"'; if ($bean->getAttribute('chip')) print ',"'.$i18n->get('label.ip').'"'; if ($bean->getAttribute('chinvoice')) print ',"'.$i18n->get('label.invoice').'"'; + if ($bean->getAttribute('chtimesheet')) print ',"'.$i18n->get('label.timesheet').'"'; print "\n"; // Print items. @@ -241,6 +243,7 @@ if ('csv' == $type) { print ',"'.$ip.'"'; } if ($bean->getAttribute('chinvoice')) print ',"'.str_replace('"','""',$item['invoice']).'"'; + if ($bean->getAttribute('chtimesheet')) print ',"'.str_replace('"','""',$item['timesheet_name']).'"'; print "\n"; } }