From 492eb38e22b50936ec6300205d3517634c4ffb43 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 2 May 2024 22:54:38 +0000 Subject: [PATCH] Went through todos --- Controller/BackendController.php | 10 ++++++++++ Models/ClockingType.php | 3 +++ Models/Session.php | 4 ++++ Theme/Backend/private-dashboard.tpl.php | 2 +- 4 files changed, 18 insertions(+), 1 deletion(-) diff --git a/Controller/BackendController.php b/Controller/BackendController.php index 8816537..103f99d 100755 --- a/Controller/BackendController.php +++ b/Controller/BackendController.php @@ -33,6 +33,12 @@ use phpOMS\Views\View; * @link https://jingga.app * @since 1.0.0 * @codeCoverageIgnore + * + * @feature View for vacation, sickness, overtime, vacation etc per employee/department for stat analysis + * https://github.com/Karaka-Management/oms-HumanResourceTimeRecording/issues/5 + * + * @feature Export of clocking times (hr) + * https://github.com/Karaka-Management/oms-HumanResourceTimeRecording/issues/6 */ final class BackendController extends Controller implements DashboardElementInterface { @@ -157,6 +163,10 @@ final class BackendController extends Controller implements DashboardElementInte * * @return RenderableInterface * + * @todo Clocking overview/analysis for managers + * Only show employees in own department + * https://github.com/Karaka-Management/oms-HumanResourceTimeRecording/issues/10 + * * @since 1.0.0 * @codeCoverageIgnore */ diff --git a/Models/ClockingType.php b/Models/ClockingType.php index 65c9020..acacaaa 100755 --- a/Models/ClockingType.php +++ b/Models/ClockingType.php @@ -23,6 +23,9 @@ use phpOMS\Stdlib\Base\Enum; * @license OMS License 2.0 * @link https://jingga.app * @since 1.0.0 + * + * @todo Make ClockingTypes a DB model instead of an enum + * https://github.com/Karaka-Management/oms-HumanResourceTimeRecording/issues/16 */ abstract class ClockingType extends Enum { diff --git a/Models/Session.php b/Models/Session.php index b4e6976..d8d8b7b 100755 --- a/Models/Session.php +++ b/Models/Session.php @@ -24,6 +24,10 @@ use Modules\Admin\Models\NullAccount; * @license OMS License 2.0 * @link https://jingga.app * @since 1.0.0 + * + * @feature Add custom clocking subelements for task logging + * also assign to account = customer + custom type = projects + * https://github.com/Karaka-Management/oms-HumanResourceTimeRecording/issues/17 */ class Session implements \JsonSerializable { diff --git a/Theme/Backend/private-dashboard.tpl.php b/Theme/Backend/private-dashboard.tpl.php index 6f02250..6a2d6d2 100755 --- a/Theme/Backend/private-dashboard.tpl.php +++ b/Theme/Backend/private-dashboard.tpl.php @@ -72,7 +72,7 @@ echo $this->data['nav']->render(); ?>