<?php namespace NetSTI\System\Controllers;

use BackendMenu;
use Backend\Classes\Controller;

class Opportunities extends Controller{
    public $implement = [
        'Backend.Behaviors.FormController',
        'Backend.Behaviors.ListController',
        'Backend.Behaviors.RelationController',
        'Owl.Behaviors.ListDelete.Behavior',
    ];

    public $formConfig = 'config_form.yaml';
    public $listConfig = 'config_list.yaml';
    public $relationConfig = 'config_relation.yaml';

    public $requiredPermissions = ['netsti.system.sales.opportunities'];

    public function __construct(){
        parent::__construct();

        BackendMenu::setContext('NetSTI.System', 'sales', 'opportunities');
    }
}
