<?php

namespace Modules\Sale\Controllers;

class TaskController extends SalesActivityController
{
    public function initController(\CodeIgniter\HTTP\RequestInterface $request, \CodeIgniter\HTTP\ResponseInterface $response, \Psr\Log\LoggerInterface $logger)
    {
        parent::initController($request, $response, $logger);

        $this->activityType    = 'task';
        $this->permissionGroup = 'tasks';
        $this->routePrefix     = 'sale/tasks';
        $this->viewFolder      = 'tasks';
        $this->singularLabel   = 'Task';
        $this->pluralLabel     = 'Tasks';
        $this->heroTitle       = 'Sales Tasks';
        $this->heroDesc        = 'Assign and complete sales-related tasks.';
        $this->icon            = 'fa-solid fa-list-check';
    }
}
