X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/0f3dceb9c5fd515d2e1bd39a480345d71ad6a113..18ecb507a76c7960dd3d8d2c64264e1f4f4b8952:/tofile.php 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"; } }