]> wagnertech.de Git - timetracker.git/commitdiff
A bit more work in progress on timesheets.
authorNik Okuntseff <support@anuko.com>
Fri, 15 Feb 2019 21:58:24 +0000 (21:58 +0000)
committerNik Okuntseff <support@anuko.com>
Fri, 15 Feb 2019 21:58:24 +0000 (21:58 +0000)
33 files changed:
WEB-INF/resources/ca.lang.php
WEB-INF/resources/cs.lang.php
WEB-INF/resources/da.lang.php
WEB-INF/resources/de.lang.php
WEB-INF/resources/en.lang.php
WEB-INF/resources/es.lang.php
WEB-INF/resources/et.lang.php
WEB-INF/resources/fa.lang.php
WEB-INF/resources/fi.lang.php
WEB-INF/resources/fr.lang.php
WEB-INF/resources/gr.lang.php
WEB-INF/resources/he.lang.php
WEB-INF/resources/hu.lang.php
WEB-INF/resources/it.lang.php
WEB-INF/resources/ja.lang.php
WEB-INF/resources/ko.lang.php
WEB-INF/resources/nl.lang.php
WEB-INF/resources/no.lang.php
WEB-INF/resources/pl.lang.php
WEB-INF/resources/pt-br.lang.php
WEB-INF/resources/pt.lang.php
WEB-INF/resources/ro.lang.php
WEB-INF/resources/ru.lang.php
WEB-INF/resources/sk.lang.php
WEB-INF/resources/sl.lang.php
WEB-INF/resources/sr.lang.php
WEB-INF/resources/sv.lang.php
WEB-INF/resources/tr.lang.php
WEB-INF/resources/zh-cn.lang.php
WEB-INF/resources/zh-tw.lang.php
WEB-INF/templates/footer.tpl
WEB-INF/templates/reports.tpl
reports.php

index c4822d38b6f1d21a758332e1612aca8eb1cb2503..2ecfb0b06ea05da37528331a690d290358a1405f 100644 (file)
@@ -263,6 +263,7 @@ $i18n_key_words = array(
 'label.totals_only' => 'Només totals',
 // TODO: translate the following.
 // 'label.quota' => 'Quota',
+// 'label.timesheet' => 'Timesheet',
 // 'label.submitted' => 'Submitted',
 // 'label.approved' => 'Approved',
 
index 3ec87f3c50929836690eb8cab4359253c19854ad..8e8f3c0219cb6e881d858662edaef30dd4668e8f 100644 (file)
@@ -273,6 +273,7 @@ $i18n_key_words = array(
 'label.totals_only' => 'Pouze součty',
 // TODO: translate the following.
 // 'label.quota' => 'Quota',
+// 'label.timesheet' => 'Timesheet',
 // 'label.submitted' => 'Submitted',
 // 'label.approved' => 'Approved',
 
index d5087b8df009242b02340507a5442e18b6a19dc0..bde6d33d03e2d3b2ef2c7578d9aedb95dcf0d940 100644 (file)
@@ -249,6 +249,7 @@ $i18n_key_words = array(
 'label.totals_only' => 'Kun Total',
 'label.quota' => 'Kvota',
 // TODO: translate the following.
+// 'label.timesheet' => 'Timesheet',
 // 'label.submitted' => 'Submitted',
 // 'label.approved' => 'Approved',
 
index 076bfae1ad7ca8fa72c18b6bd0ae38c5f0e19d16..0ef54dcaaca0d479d2bf8fd1a5ce462b2ae99e42 100644 (file)
@@ -237,6 +237,7 @@ $i18n_key_words = array(
 'label.totals_only' => 'Nur Gesamtstunden',
 'label.quota' => 'Quote',
 // TODO: translate the following.
+// 'label.timesheet' => 'Timesheet',
 // 'label.submitted' => 'Submitted',
 // 'label.approved' => 'Approved',
 
index 7797a8d8e4ca2d6c8ff1986b8be9bdbafc1d9c8c..a6be48642810d1a966a47d7860c418223c9aacee 100644 (file)
@@ -229,6 +229,7 @@ $i18n_key_words = array(
 'label.work_units_short' => 'Units',
 'label.totals_only' => 'Totals only',
 'label.quota' => 'Quota',
+'label.timesheet' => 'Timesheet',
 'label.submitted' => 'Submitted',
 'label.approved' => 'Approved',
 
@@ -383,6 +384,8 @@ $i18n_key_words = array(
 'form.reports.include_not_billable' => 'not billable',
 'form.reports.include_invoiced' => 'invoiced',
 'form.reports.include_not_invoiced' => 'not invoiced',
+'form.reports.include_assigned' => 'assigned',
+'form.reports.include_not_assigned' => 'not assigned',
 'form.reports.select_period' => 'Select time period',
 'form.reports.set_period' => 'or set dates',
 'form.reports.show_fields' => 'Show fields',
index 1b307300733898cc8397262a9b32aa7d25ad616d..bd559412604fd79002855c8bf0b168c77107dadd 100644 (file)
@@ -266,6 +266,7 @@ $i18n_key_words = array(
 'label.totals_only' => 'Solo totales',
 // TODO: translate the following.
 // 'label.quota' => 'Quota',
+// 'label.timesheet' => 'Timesheet',
 // 'label.submitted' => 'Submitted',
 // 'label.approved' => 'Approved',
 
index 10beccf8222d4fe49c795c2350236c1b294c4d28..4410d9c44dcfb995820d2131b7ef8c50f346e25e 100644 (file)
@@ -251,6 +251,7 @@ $i18n_key_words = array(
 'label.totals_only' => 'Ainult summad',
 'label.quota' => 'Kvoot',
 // TODO: translate the following.
+// 'label.timesheet' => 'Timesheet',
 // 'label.submitted' => 'Submitted',
 // 'label.approved' => 'Approved',
 
index 9c6ef591cabadabc92e61b7b36891a0861fcc9be..2637158b0342a9fd22d6d3b3ed24409694fd8516 100644 (file)
@@ -259,6 +259,7 @@ $i18n_key_words = array(
 // 'label.work_units_short' => 'Units',
 // 'label.totals_only' => 'Totals only',
 // 'label.quota' => 'Quota',
+// 'label.timesheet' => 'Timesheet',
 // 'label.submitted' => 'Submitted',
 // 'label.approved' => 'Approved',
 
index 71515dfff754df9f9c9c95e027389b935d190ca9..1e8c7df4d7c29397446e748295688c4f625e412d 100644 (file)
@@ -253,6 +253,7 @@ $i18n_key_words = array(
 'label.totals_only' => 'Vain yhteissummat',
 // TODO: translate the following.
 // 'label.quota' => 'Quota',
+// 'label.timesheet' => 'Timesheet',
 // 'label.submitted' => 'Submitted',
 // 'label.approved' => 'Approved',
 
index 5132326fef8c4696964914ceccf8933cac460d56..4dc045c9a28f31a59dbac45402b1414f0a2f7227 100644 (file)
@@ -247,6 +247,7 @@ $i18n_key_words = array(
 'label.totals_only' => 'Totaux uniquement',
 'label.quota' => 'Quota',
 // TODO: translate the following.
+// 'label.timesheet' => 'Timesheet',
 // 'label.submitted' => 'Submitted',
 // 'label.approved' => 'Approved',
 
index 77a7833ab222cc00b3cbe5339bbaa4e08a157109..5dbac6163bf365936c5fd5aaa50541598072bef2 100644 (file)
@@ -240,6 +240,7 @@ $i18n_key_words = array(
 'label.totals_only' => 'Σύνολα μόνο',
 'label.quota' => 'Ποσοστό',
 // TODO: translate the following.
+// 'label.timesheet' => 'Timesheet',
 // 'label.submitted' => 'Submitted',
 // 'label.approved' => 'Approved',
 
index ac4bbfd2eff53801b1fae0130f2da31b29cffe61..a9f45b3b1df85d04e6dd3396c4b9d2c9107da781 100644 (file)
@@ -270,6 +270,7 @@ $i18n_key_words = array(
 'labl.totals_only' => 'סיכומים בלבד',
 // TODO: translate the following.
 // 'label.quota' => 'Quota',
+// 'label.timesheet' => 'Timesheet',
 // 'label.submitted' => 'Submitted',
 // 'label.approved' => 'Approved',
 
index 8549700d9d92ce87de4b2e6b87c21cd186660009..ee04db57e3a5c1e9ffad4461554fde131c6c11d7 100644 (file)
@@ -267,6 +267,7 @@ $i18n_key_words = array(
 // 'label.work_units_short' => 'Units',
 // 'label.totals_only' => 'Totals only',
 // 'label.quota' => 'Quota',
+// 'label.timesheet' => 'Timesheet',
 // 'label.submitted' => 'Submitted',
 // 'label.approved' => 'Approved',
 
index 87f899ffd7362f8f07d24631ef885bf7dcd9daa8..b64c7d5e1dbb162f83608ad691c1ddc5bf2bf659 100644 (file)
@@ -244,6 +244,7 @@ $i18n_key_words = array(
 'label.totals_only' => 'Solo i totali',
 'label.quota' => 'Quota',
 // TODO: translate the following.
+// 'label.timesheet' => 'Timesheet',
 // 'label.submitted' => 'Submitted',
 // 'label.approved' => 'Approved',
 
index a54f25f787b127fc80d187aeaa0b449d3e087337..c4da31e87595a77edfc21e63fd2eca6b112a14a8 100644 (file)
@@ -273,6 +273,7 @@ $i18n_key_words = array(
 'label.totals_only' => '全体だけ',
 // TODO: translate the following.
 // 'label.quota' => 'Quota',
+// 'label.timesheet' => 'Timesheet',
 // 'label.submitted' => 'Submitted',
 // 'label.approved' => 'Approved',
 
index 4d0e0f29266d6f5debd3435b5041951bb22b8643..f954100c71aea1f1428204581553feb53d3008ab 100644 (file)
@@ -273,6 +273,7 @@ $i18n_key_words = array(
 'label.totals_only' => '오직 전체만',
 // TODO: translate the following.
 // 'label.quota' => 'Quota',
+// 'label.timesheet' => 'Timesheet',
 // 'label.submitted' => 'Submitted',
 // 'label.approved' => 'Approved',
 
index 336bed5a9c24c5e449ac521007233f39a586da47..621db3b38985d901401c4ac7f8633f778b7dfa95 100644 (file)
@@ -230,6 +230,7 @@ $i18n_key_words = array(
 'label.totals_only' => 'Alleen totalen',
 'label.quota' => 'Maanddoel',
 // TODO: translate the following.
+// 'label.timesheet' => 'Timesheet',
 // 'label.submitted' => 'Submitted',
 // 'label.approved' => 'Approved',
 
index 5cb49d3451310c32a5cf001722a0d3d93b3b2e04..40d229547b5da9d2e4de5d4b36b4eb91c545b562 100644 (file)
@@ -270,6 +270,7 @@ $i18n_key_words = array(
 // 'label.work_units_short' => 'Units',
 // 'label.totals_only' => 'Totals only',
 // 'label.quota' => 'Quota'
+// 'label.timesheet' => 'Timesheet',
 // 'label.submitted' => 'Submitted',
 // 'label.approved' => 'Approved',
 
index 3e2e97c549ecca4c66c944ebd020a5a4ef224f4e..c4218e4beff47df26230953e6df4874b5f99db52 100644 (file)
@@ -254,6 +254,7 @@ $i18n_key_words = array(
 'label.totals_only' => 'Tylko sumy',
 // TODO: translate the following.
 // 'label.quota' => 'Quota',
+// 'label.timesheet' => 'Timesheet',
 // 'label.submitted' => 'Submitted',
 // 'label.approved' => 'Approved',
 
index db9ef805e4f312a8b87c3f17e31b9c9a3479d7a1..1f1d6ccf008ce0660310b621dbfffd581a3cf68b 100644 (file)
@@ -251,6 +251,7 @@ $i18n_key_words = array(
 'label.totals_only' => 'Somente totais',
 // TODO: translate the following.
 // 'label.quota' => 'Quota',
+// 'label.timesheet' => 'Timesheet',
 // 'label.submitted' => 'Submitted',
 // 'label.approved' => 'Approved',
 
index 1d7a99563f6be39a37258844ae07cb0c4fd795a1..e325d80500d604b5d987d55f3d5ab0fd3f7608b6 100644 (file)
@@ -258,6 +258,7 @@ $i18n_key_words = array(
 // 'label.work_units_short' => 'Units',
 // 'label.totals_only' => 'Totals only',
 // 'label.quota' => 'Quota',
+// 'label.timesheet' => 'Timesheet',
 // 'label.submitted' => 'Submitted',
 // 'label.approved' => 'Approved',
 
index 3fa54ace8e07cf2546b41137bd43424575898c58..09c220e8b6f13a7583311f800317d23002f770e9 100644 (file)
@@ -270,6 +270,7 @@ $i18n_key_words = array(
 'label.totals_only' => 'Numai totaluri',
 // TODO: translate the following.
 // 'label.quota' => 'Quota',
+// 'label.timesheet' => 'Timesheet',
 // 'label.submitted' => 'Submitted',
 // 'label.approved' => 'Approved',
 
index 1c046857eaa9fa7c90c92cac5ece9fbec9e6db65..a2a9009c2db64031103f1034f7b115c995ea7d75 100644 (file)
@@ -228,6 +228,7 @@ $i18n_key_words = array(
 'label.work_units_short' => 'Единицы',
 'label.totals_only' => 'Только итоги',
 'label.quota' => 'Квота',
+'label.timesheet' => 'Табель учёта',
 'label.submitted' => 'Подано',
 'label.approved' => 'Одобрено',
 
index c8eede8af37f5574002696e3e95eaedf1198c182..8e847d73208f76a4833a087a2ae5f8256b117dbe 100644 (file)
@@ -259,6 +259,7 @@ $i18n_key_words = array(
 // 'label.work_units_short' => 'Units',
 'label.totals_only' => 'Iba celkové',
 // TODO: translate the following.
+// 'label.timesheet' => 'Timesheet',
 // 'label.quota' => 'Quota',
 // 'label.submitted' => 'Submitted',
 // 'label.approved' => 'Approved',
index 3adbda815c7df0c2cde407963aa97a965a46d5c3..6e353c280bbbe1a978382218057e3867ec5c57b2 100644 (file)
@@ -253,6 +253,7 @@ $i18n_key_words = array(
 // 'label.work_units_short' => 'Units',
 // 'label.totals_only' => 'Totals only',
 // 'label.quota' => 'Quota',
+// 'label.timesheet' => 'Timesheet',
 // 'label.submitted' => 'Submitted',
 // 'label.approved' => 'Approved',
 
index 3dae77abe2972b94b8eb05696441b85f47f3e475..bd2415dd274469746765b91b13d87dcfa267742c 100644 (file)
@@ -252,6 +252,7 @@ $i18n_key_words = array(
 'label.totals_only' => 'Samo zbirno',
 // TODO: translate the following.
 // 'label.quota' => 'Quota',
+// 'label.timesheet' => 'Timesheet',
 // 'label.submitted' => 'Submitted',
 // 'label.approved' => 'Approved',
 
index 0f4faac3f28e35f23f4af269f78369358bb9dbed..2634c6847d79b11fd4b1be3c5545e4acb4e4fa91 100644 (file)
@@ -248,6 +248,7 @@ $i18n_key_words = array(
 'label.totals_only' => 'Visa endast summeringar',
 'label.quota' => 'Kvot',
 // TODO: translate the following.
+// 'label.timesheet' => 'Timesheet',
 // 'label.submitted' => 'Submitted',
 // 'label.approved' => 'Approved',
 
index 8c6f2154faf3f1b3c687de7644d2cefbff38b26a..cfdadbba40ce502fc77a557df0a1834483bd1325 100644 (file)
@@ -277,6 +277,7 @@ $i18n_key_words = array(
 'label.totals_only' => 'Sadece toplamlar',
 // TODO: translate the following.
 // 'label.quota' => 'Quota',
+// 'label.timesheet' => 'Timesheet',
 // 'label.submitted' => 'Submitted',
 // 'label.approved' => 'Approved',
 
index f4912f1d9bc595cb11da1b28dacaca18361dcf32..c4efbbf9e87e10e31f57a6d0f6ca8ab6ec4b83e0 100644 (file)
@@ -261,6 +261,7 @@ $i18n_key_words = array(
 // 'label.work_units_short' => 'Units',
 // 'label.totals_only' => 'Totals only',
 // 'label.quota' => 'Quota',
+// 'label.timesheet' => 'Timesheet',
 // 'label.submitted' => 'Submitted',
 // 'label.approved' => 'Approved',
 
index 5b04d348b4875ecaa980408f644be26e89708dfe..2b6357fb9b8ccf7cbe6e7a72899ccd7b43e6d32e 100644 (file)
@@ -268,6 +268,7 @@ $i18n_key_words = array(
 // 'label.work_units_short' => 'Units',
 // 'label.totals_only' => 'Totals only',
 // 'label.quota' => 'Quota',
+// 'label.timesheet' => 'Timesheet',
 // 'label.submitted' => 'Submitted',
 // 'label.approved' => 'Approved',
 
index 0594b17b40d04e6105dd9b3b670310a2c76db4a9..fc40cb207dd80e95f405d55d589847656a013d57 100644 (file)
@@ -12,7 +12,7 @@
       <br>
       <table cellspacing="0" cellpadding="4" width="100%" border="0">
         <tr>
-          <td align="center">&nbsp;Anuko Time Tracker 1.18.37.4725 | Copyright &copy; <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+          <td align="center">&nbsp;Anuko Time Tracker 1.18.37.4726 | Copyright &copy; <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>
index 95b4a43642ed262ccce154f79b7eb957719b7911..08cc2edb2bf1bd880a801411d3fda528804a4d06 100644 (file)
@@ -229,9 +229,17 @@ function handleCheckboxes() {
 {if ($user->can('manage_invoices') && $user->isPluginEnabled('ps'))}
         <tr>
           <td><b>{$i18n.label.paid_status}</b></td>
+          <td>&nbsp;</td>
+  {if $user->isPluginEnabled('ts')}
+          <td><b>{$i18n.label.timesheet}</b></td>
+  {/if}
         </tr>
         <tr>
           <td>{$forms.reportForm.paid_status.control}</td>
+          <td>&nbsp;</td>
+  {if $user->isPluginEnabled('ts')}
+          <td>{$forms.reportForm.timesheet.control}</td>
+  {/if}
         </tr>
 {/if}
 {if $user->can('view_reports') || $user->can('view_all_reports') || $user->isClient()}
index ee82a64f30dc0fbdc46cbf78644918f8f3167f21..1e7b4b994484c4d3e31e82e0a51d31b93ac951cc 100644 (file)
@@ -151,6 +151,16 @@ if ($user->can('manage_invoices') && $user->isPluginEnabled('ps')) {
  ));
 }
 
+// TODO: check rights.
+if ($user->isPluginEnabled('ts')) {
+  $form->addInput(array('type'=>'combobox',
+   'name'=>'timesheet',
+   'style'=>'width: 250px;',
+   'data'=>array('1'=>$i18n->get('form.reports.include_assigned'),'2'=>$i18n->get('form.reports.include_not_assigned')),
+   'empty'=>array(''=>$i18n->get('dropdown.all'))
+ ));
+}
+
 $user_list = array();
 if ($user->can('view_reports') || $user->can('view_all_reports') || $user->isClient()) {
   // Prepare user and assigned projects arrays.