Went through todos

This commit is contained in:
Dennis Eichhorn 2024-05-02 22:54:38 +00:00
parent 4f9f3b377a
commit 492eb38e22
4 changed files with 18 additions and 1 deletions

View File

@ -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
*/

View File

@ -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
{

View File

@ -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
{

View File

@ -72,7 +72,7 @@ echo $this->data['nav']->render(); ?>
<input type="submit" id="iclockingButton" name="clockingButton" value="<?= $this->getHtml('Submit', '0', '0'); ?>" data-action='[
{
"key": 1, "listener": "click", "action": [
{"key": 1, "type": "dom.reload", "delay": 3000}
{"key": 1, "type": "redirect", "uri": "{%}", "delay": 3000}
]
}
]'>