<?php

/**
 * @package     Joomla.Administrator
 * @subpackage  com_formea
 *
 * @copyright   Copyright (C) 2010-2025 Feseur Sdn Bhd. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 * @version     1.3.0
 */

defined('_JEXEC') or die;

use Joomla\CMS\Factory;
use Joomla\CMS\Layout\LayoutHelper;
use Joomla\Component\Formea\Administrator\Helper\FormeaHelper;

$displayData = [
	'textPrefix' => 'COM_FORMEA_SUBMISSIONS',
	'formURL'    => 'index.php?option=com_formea&view=formeas',
	'helpURL'    => FormeaHelper::getHelpLink('Submissions'),
	'icon'       => 'icon-database',
];

$user = Factory::getApplication()->getIdentity();
echo LayoutHelper::render('joomla.content.emptystate', $displayData);
