Skip to content
Code-Schnipsel Gruppen Projekte
ErpDashboard.php 815 B
Newer Older
  • Learn to ignore specific revisions
  • <?php
    
    namespace QUI\ERP\Dashboard;
    
    use QUI;
    use QUI\Dashboard\DashboardInterface;
    
    
    /**
     * Class DashboardProvider
     *
     * @package QUI\LoginLogger
     */
    
    class ErpDashboard implements DashboardInterface
    
         * @return string
         */
    
        public function getTitle(null | QUI\Locale $Locale = null): string
    
        {
            if ($Locale === null) {
                $Locale = QUI::getLocale();
            }
    
    
            return $Locale->get('quiqqer/erp', 'dashboard.erp.title');
    
        }
    
        /**
         * @return array
         */
        public function getCards(): array
        {
    
            return [
                'package/quiqqer/erp/bin/backend/controls/dashboard/cards/GlobalProcessIdList'
            ];
    
    Henning Leutz's avatar
    Henning Leutz committed
    
        public function getJavaScriptControl(): string
        {
            return '';
        }