Went through todos

This commit is contained in:
Dennis Eichhorn 2024-05-02 22:54:37 +00:00
parent 0037960785
commit f24d89a5d6
3 changed files with 13 additions and 1 deletions

View File

@ -43,7 +43,7 @@ return [
], ],
], ],
'^.*/contract$' => [ '^.*/contract(\?.*|$)$' => [
[ [
'dest' => '\Modules\ContractManagement\Controller\ApiController:apiContractCreate', 'dest' => '\Modules\ContractManagement\Controller\ApiController:apiContractCreate',
'verb' => RouteVerb::PUT, 'verb' => RouteVerb::PUT,

View File

@ -34,6 +34,15 @@ use phpOMS\Message\ResponseAbstract;
* @license OMS License 2.0 * @license OMS License 2.0
* @link https://jingga.app * @link https://jingga.app
* @since 1.0.0 * @since 1.0.0
*
* @feature Create task/message if a contracts term runs out
* https://github.com/Karaka-Management/oms-ContractManagement/issues/4
*
* @feature Create job which informs people about contract end of life
* https://github.com/Karaka-Management/oms-ContractManagement/issues/3
*
* @feature Setting to change responsible person/group A to B (e.g. person leaves company)
* https://github.com/Karaka-Management/oms-ContractManagement/issues/2
*/ */
final class ApiController extends Controller final class ApiController extends Controller
{ {

View File

@ -40,6 +40,9 @@ use phpOMS\Views\View;
* @link https://jingga.app * @link https://jingga.app
* @since 1.0.0 * @since 1.0.0
* @codeCoverageIgnore * @codeCoverageIgnore
*
* @feature Implement directory view for contracts
* https://github.com/Karaka-Management/oms-ContractManagement/issues/1
*/ */
final class BackendController extends Controller final class BackendController extends Controller
{ {