diff --git a/Admin/Routes/Web/Api.php b/Admin/Routes/Web/Api.php index 642e89c..65bf705 100644 --- a/Admin/Routes/Web/Api.php +++ b/Admin/Routes/Web/Api.php @@ -43,7 +43,7 @@ return [ ], ], - '^.*/contract$' => [ + '^.*/contract(\?.*|$)$' => [ [ 'dest' => '\Modules\ContractManagement\Controller\ApiController:apiContractCreate', 'verb' => RouteVerb::PUT, diff --git a/Controller/ApiController.php b/Controller/ApiController.php index 808ed92..d785368 100755 --- a/Controller/ApiController.php +++ b/Controller/ApiController.php @@ -34,6 +34,15 @@ use phpOMS\Message\ResponseAbstract; * @license OMS License 2.0 * @link https://jingga.app * @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 { diff --git a/Controller/BackendController.php b/Controller/BackendController.php index eb78524..a0a54ee 100755 --- a/Controller/BackendController.php +++ b/Controller/BackendController.php @@ -40,6 +40,9 @@ use phpOMS\Views\View; * @link https://jingga.app * @since 1.0.0 * @codeCoverageIgnore + * + * @feature Implement directory view for contracts + * https://github.com/Karaka-Management/oms-ContractManagement/issues/1 */ final class BackendController extends Controller {