diff --git a/Controller/BackendController.php b/Controller/BackendController.php index b14d8dd..fca79da 100644 --- a/Controller/BackendController.php +++ b/Controller/BackendController.php @@ -29,6 +29,16 @@ use phpOMS\Views\View; * @license OMS License 1.0 * @link https://orange-management.org * @since 1.0.0 + * + * @todo Orange-Management/Modules#41 + * Add Milestones + * Tasks should be assignable to milestones. + * + * @todo Orange-Management/Modules#102 + * Goal definition + * While costs are universal the goal for promotions, events etc. is not. + * In some cases it could be sales in others it could be response rate etc. + * Implement a way to define goals and allow manual+system side evaluation. */ final class BackendController extends Controller { diff --git a/Models/ProjectMapper.php b/Models/ProjectMapper.php index 0c7d430..4dfecc9 100644 --- a/Models/ProjectMapper.php +++ b/Models/ProjectMapper.php @@ -67,7 +67,7 @@ final class ProjectMapper extends DataMapperAbstract 'dst' => 'projectmanagement_task_relation_dst', 'src' => 'projectmanagement_task_relation_src', ], - 'media' => [ // todo: maybe make this a has one and then link to collection instead of single media files! + 'media' => [ 'mapper' => MediaMapper::class, 'table' => 'projectmanagement_project_media', 'dst' => 'projectmanagement_project_media_src',