add todos from github

This commit is contained in:
Dennis Eichhorn 2019-12-31 19:54:45 +01:00
parent 1f233b6112
commit 383a588f26
2 changed files with 11 additions and 5 deletions

View File

@ -30,6 +30,12 @@ use phpOMS\Views\View;
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
*
* @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
{

View File

@ -64,11 +64,11 @@ final class EventMapper extends DataMapperAbstract
'dst' => 'eventmanagement_task_relation_dst',
'src' => 'eventmanagement_task_relation_src',
],
'media' => [ // todo: maybe make this a has one and then link to collection instead of single media files!
'mapper' => MediaMapper::class,
'table' => 'eventmanagement_event_media',
'dst' => 'eventmanagement_event_media_src',
'src' => 'eventmanagement_event_media_dst',
'media' => [
'mapper' => MediaMapper::class,
'table' => 'eventmanagement_event_media',
'dst' => 'eventmanagement_event_media_src',
'src' => 'eventmanagement_event_media_dst',
],
];