'button.send' => 'Enviar',
'button.send_by_email' => 'Enviar per correu',
'button.create_group' => 'Crear grup',
-// TODO: translate the following.
-// 'button.create_timesheet' => 'Create timesheet',
'button.export' => 'Exportar grup',
'button.import' => 'Importar grup',
// TODO: translate the following.
'button.send' => 'Poslat',
'button.send_by_email' => 'Poslat e-mailem',
'button.create_group' => 'Vytvořit tým', // TODO: replace "team" with "group".
-// TODO: translate the following.
-// 'button.create_timesheet' => 'Create timesheet',
'button.export' => 'Exportovat tým', // TODO: replace "team" with "group".
'button.import' => 'Importovat tým', // TODO: replace "team" with "group".
// TODO: translate the following.
'button.send' => 'Send',
'button.send_by_email' => 'Send som e-mail',
'button.create_group' => 'Lav et team', // TODO: replace "team" with "group".
-// TODO: translate the following.
-// 'button.create_timesheet' => 'Create timesheet',
'button.export' => 'Eksporter team', // TODO: replace "team" with "group".
'button.import' => 'Importer team', // TODO: replace "team" with "group".
'button.close' => 'Luk',
'button.send' => 'Senden',
'button.send_by_email' => 'Als E-Mail senden',
'button.create_group' => 'Gruppe erstellen',
-// TODO: translate the following.
-// 'button.create_timesheet' => 'Create timesheet',
'button.export' => 'Gruppe exportieren',
'button.import' => 'Gruppe importieren',
'button.close' => 'Schließen',
'button.send' => 'Send',
'button.send_by_email' => 'Send by e-mail',
'button.create_group' => 'Create group',
-'button.create_timesheet' => 'Create timesheet',
'button.export' => 'Export group',
'button.import' => 'Import group',
'button.close' => 'Close',
'button.send' => 'Enviar',
'button.send_by_email' => 'Enviar por correo',
'button.create_group' => 'Crear grupo',
-// TODO: translate the following.
-// 'button.create_timesheet' => 'Create timesheet',
'button.export' => 'Exportar grupo',
'button.import' => 'Importar grupo',
// TODO: translate the following.
'button.send' => 'Saada',
'button.send_by_email' => 'Saada e-postiga',
'button.create_group' => 'Loo grupp',
-// TODO: translate the following.
-// 'button.create_timesheet' => 'Create timesheet',
'button.export' => 'Ekspordi grupp',
'button.import' => 'Impordi grupp',
'button.close' => 'Sulge',
'button.send' => 'ارسال',
'button.send_by_email' => 'ارسال به ایمیل',
'button.create_group' => 'ایجاد تیم', // TODO: replace "team" with "group".
-// TODO: translate the following.
-// 'button.create_timesheet' => 'Create timesheet',
'button.export' => 'ایجاد پشتیبان از تیم', // TODO: replace "team" with "group".
'button.import' => 'وارد کردن تیم', // TODO: replace "team" with "group".
'button.close' => 'بستن',
'button.send' => 'Lähetä',
'button.send_by_email' => 'Lähetä sähköpostilla',
'button.create_group' => 'Luo tiimi', // TODO: replace "team" with "group".
-// TODO: translate the following.
-// 'button.create_timesheet' => 'Create timesheet',
'button.export' => 'Vie tiimi', // TODO: replace "team" with "group".
'button.import' => 'Tuo tiimi', // TODO: replace "team" with "group".
'button.close' => 'Sulje',
'button.send' => 'Envoyer',
'button.send_by_email' => 'Envoyer par courriel',
'button.create_group' => 'Créer une équipe', // TODO: replace "team" with "group".
-// TODO: translate the following.
-// 'button.create_timesheet' => 'Create timesheet',
'button.export' => 'Exporter l\\\'équipe', // TODO: replace "team" with "group".
'button.import' => 'Importer une équipe', // TODO: replace "team" with "group".
'button.close' => 'Fermer',
'button.send' => 'Αποστολή',
'button.send_by_email' => 'Αποστολή μέσω email',
'button.create_group' => 'Δημιουργία ομάδας',
-// TODO: translate the following.
-// 'button.create_timesheet' => 'Create timesheet',
'button.export' => 'Εξαγωγη ομάδας',
'button.import' => 'Εισαγωγή ομάδας',
'button.close' => 'Κλείσιμο',
'button.send' => 'שלח',
'button.send_by_email' => 'שלח בדואר אלקטרוני',
'button.create_group' => 'צור צוות', // TODO: replace "team" with "group".
-// TODO: translate the following.
-// 'button.create_timesheet' => 'Create timesheet',
'button.export' => 'ייצא צוות', // TODO: replace "team" with "group".
'button.import' => 'ייבא צוות', // TODO: replace "team" with "group".
'button.close' => 'סגור',
'button.send' => 'Küld',
'button.send_by_email' => 'Küldés e-mail-ben',
'button.create_group' => 'Csoport létrehozása',
-// TODO: translate the following.
-// 'button.create_timesheet' => 'Create timesheet',
'button.export' => 'Csoport exportálása',
'button.import' => 'Csoport importálása',
// TODO: translate the following.
'button.send' => 'Invia',
'button.send_by_email' => 'Invia tramite e-mail',
'button.create_group' => 'Crea gruppo',
-// TODO: translate the following.
-// 'button.create_timesheet' => 'Create timesheet',
'button.export' => 'Esporta gruppo',
'button.import' => 'Importa gruppo',
'button.close' => 'Chiudi',
'button.send_by_email' => 'Eメールの送信',
// TODO: translate the following.
// 'button.create_group' => 'Create group',
-// 'button.create_timesheet' => 'Create timesheet',
'button.export' => 'チームのエクスポート', // TODO: replace "team" with "group".
'button.import' => 'チームのインポート', // TODO: replace "team" with "group".
// TODO: translate the following.
'button.send_by_email' => '이메일로 송신',
// TODO: translate the following.
// 'button.create_group' => 'Create group',
-// 'button.create_timesheet' => 'Create timesheet',
'button.export' => '팀 익스포트', // TODO: replace "team" with "group".
'button.import' => '팀 임포트', // TODO: replace "team" with "group".
// TODO: translate the following.
'button.send' => 'Verzenden',
'button.send_by_email' => 'Verzend per e-mail',
'button.create_group' => 'Maak groep',
-// TODO: translate the following.
-// 'button.create_timesheet' => 'Create timesheet',
'button.export' => 'Groep exporteren',
'button.import' => 'Groep importeren',
'button.close' => 'Sluiten',
'button.send' => 'Send',
'button.send_by_email' => 'Send som e-post',
'button.create_group' => 'Opprett team', // TODO: replace "team" with "group".
-// TODO: translate the following.
-// 'button.create_timesheet' => 'Create timesheet',
'button.export' => 'Eksport team', // TODO: replace "team" with "group".
'button.import' => 'Importer team', // TODO: replace "team" with "group".
'button.close' => 'Lukk',
'button.send' => 'Wyślij',
'button.send_by_email' => 'Wyślij e-mail',
'button.create_group' => 'Stwórz zespół', // TODO: replace "team" with "group".
-// TODO: translate the following.
-// 'button.create_timesheet' => 'Create timesheet',
'button.export' => 'Eksportuj zespół', // TODO: replace "team" with "group".
'button.import' => 'Importuj zespół', // TODO: replace "team" with "group".
'button.close' => 'Zamknij',
'button.send' => 'Enviar',
'button.send_by_email' => 'Enviar por e-mail',
'button.create_group' => 'Criar equipe', // TODO: replace "team" with "group".
-// TODO: translate the following.
-// 'button.create_timesheet' => 'Create timesheet',
'button.export' => 'Exportar equipe', // TODO: replace "team" with "group".
'button.import' => 'Importar equipe', // TODO: replace "team" with "group".
'button.close' => 'Fechar',
'button.send_by_email' => 'Enviar por e-mail',
// TODO: translate the following.
// 'button.create_group' => 'Create group',
-// 'button.create_timesheet' => 'Create timesheet',
// 'button.export' => 'Export group',
// 'button.import' => 'Import group',
// 'button.close' => 'Close',
'button.send' => 'Trimite',
'button.send_by_email' => 'Trimite pe e-mail',
'button.create_group' => 'Adauga echipa', // TODO: replace "team" with "group".
-// TODO: translate the following.
-// 'button.create_timesheet' => 'Create timesheet',
'button.export' => 'Exporta echipa', // TODO: replace "team" with "group".
'button.import' => 'Importa echipa', // TODO: replace "team" with "group".
// TODO: translate the following.
'button.send' => 'Отправить',
'button.send_by_email' => 'Отправить по e-mail',
'button.create_group' => 'Создать группу',
-'button.create_timesheet' => 'Создать табель',
'button.export' => 'Экспортировать группу',
'button.import' => 'Импортировать группу',
'button.close' => 'Закрыть',
'button.send' => 'Odoslať',
'button.send_by_email' => 'Odoslať na e-mail',
'button.create_group' => 'Vytvoriť tím', // TODO: replace "team" with "group".
-// TODO: translate the following.
-// 'button.create_timesheet' => 'Create timesheet',
'button.export' => 'Exportovať tím', // TODO: replace "team" with "group".
'button.import' => 'Importovať tím', // TODO: replace "team" with "group".
'button.close' => 'Zatvoriť',
'button.send' => 'Pošlji',
'button.send_by_email' => 'Pošlji preko elektronske pošte',
'button.create_group' => 'Ustvari tim', // TODO: replace "team" with "group".
-// TODO: translate the following.
-// 'button.create_timesheet' => 'Create timesheet',
'button.export' => 'Izvozi tim', // TODO: replace "team" with "group".
'button.import' => 'Uvozi tim', // TODO: replace "team" with "group".
// TODO: translate the following.
'button.send' => 'Pošalji',
'button.send_by_email' => 'Pošalji mejlom',
'button.create_group' => 'Napravi tim', // TODO: replace "team" with "group".
-// TODO: translate the following.
-// 'button.create_timesheet' => 'Create timesheet',
'button.export' => 'Izvezi tim', // TODO: replace "team" with "group".
'button.import' => 'Uvezi tim', // TODO: replace "team" with "group".
'button.close' => 'Zatvori',
'button.send' => 'Skicka',
'button.send_by_email' => 'Skicka som e-post',
'button.create_group' => 'Skapa grupp',
-// TODO: translate the following.
-// 'button.create_timesheet' => 'Create timesheet',
'button.export' => 'Exportera grupp',
'button.import' => 'Importera grupp',
'button.close' => 'Stäng',
'button.send_by_email' => 'E-posta ile gönder',
'button.create_group' => 'Ekip yarat', // TODO: replace "team" with "group".
// TODO: translate the following.
-// 'button.create_timesheet' => 'Create timesheet',
// 'button.export' => 'Export group',
'button.import' => 'Ekibi içeri aktar', // TODO: replace "team" with "group".
// TODO: translate the following.
'button.send_by_email' => '通过邮件发送',
// TODO: translate the following.
// 'button.create_group' => 'Create group',
-// 'button.create_timesheet' => 'Create timesheet',
'button.export' => '导出团队信息', // TODO: replace "team" with "group".
'button.import' => '导入团队信息', // TODO: replace "team" with "group".
'button.close' => '关闭',
'button.send_by_email' => '通過郵件發送',
// TODO: translate the following.
// 'button.create_group' => 'Create group',
-// 'button.create_timesheet' => 'Create timesheet',
'button.export' => '輸出團隊資訊', // TODO: replace "team" with "group".
'button.import' => '輸入團隊資訊', // TODO: replace "team" with "group".
// TODO: translate the following.
<br>
<table cellspacing="0" cellpadding="4" width="100%" border="0">
<tr>
- <td align="center"> Anuko Time Tracker 1.18.47.4800 | Copyright © <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+ <td align="center"> Anuko Time Tracker 1.18.47.4801 | Copyright © <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
<a href="https://www.anuko.com/lp/tt_4.htm" target="_blank">{$i18n.footer.credits}</a> |
<a href="https://www.anuko.com/lp/tt_5.htm" target="_blank">{$i18n.footer.license}</a> |
<a href="https://www.anuko.com/lp/tt_7.htm" target="_blank">{$i18n.footer.improve}</a>
<table>
<tr>
<td><input type="button" onclick="chLocation('report_send.php');" value="{$i18n.button.send_by_email}"></td>
-{if $can_create_timesheet}
- <td><input type="button" onclick="chLocation('timesheet_add.php');" value="{$i18n.button.create_timesheet}"></td>
-{/if}
</tr>
</table>
</td>
}
$totals = ttReportHelper::getTotals($options);
-// TODO: Determine if we can create a timesheet out of this report.
-// There must be only one user, and nothing assigned to existing timesheets.
-$canCreateTimesheet = false;
-if ($user->isPluginEnabled('ts') && count($report_items) > 0 &&
- ($user->can('manage_own_timesheets') || $user->can('manage_timesheets'))) {
-
- $canCreateTimesheet = true; // Start with true and reset if we can't.
- $first_user_id = null;
- foreach ($report_items as $report_item) {
- // Check user id.
- if (!$first_user_id)
- $first_user_id = $report_item['user_id'];
- else {
- if ($report_item['user_id'] != $first_user_id) {
- // We have items for multiple users.
- $canCreateTimesheet = false;
- break;
- }
- }
- // Check timesheet id.
- if ($report_item['timesheet_id']) {
- // We have an item already assigned to a timesheet.
- $canCreateTimesheet = false;
- break;
- }
- }
- // Save user_id in session.
- $bean->saveDetachedAttribute('timesheet_user_id', $first_user_id);
-
- // TODO: Improve this for "view_all_reports" situation.
- // We may need to add "manage_all_timesheets" right.
-}
-
// Assign variables that are used to print subtotals.
if ($report_items) {
$smarty->assign('print_subtotals', true);
$smarty->assign('report_items', $report_items);
$smarty->assign('subtotals', $subtotals);
$smarty->assign('totals', $totals);
-$smarty->assign('can_create_timesheet', $canCreateTimesheet);
$smarty->assign('bean', $bean);
$smarty->assign('title', $i18n->get('title.report').": ".$totals['start_date']." - ".$totals['end_date']);
$smarty->assign('content_page_name', 'report.tpl');