* @copyright Copyright (C) 2020 Vast Development Method. All rights reserved. * @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html * * Portal for mobile health clinics */ // No direct access to this file defined('_JEXEC') or die; use Joomla\CMS\Factory; use Joomla\CMS\Language\Text; use Joomla\CMS\HTML\HTMLHelper as Html; use VDM\Component\Ehealthportal\Administrator\Helper\EhealthportalHelper; $edit = "index.php?option=com_ehealthportal&view=hiv_counselings_and_testings&task=hiv_counseling_and_testing.edit"; ?> items as $i => $item): ?> user->authorise('core.manage', 'com_checkin') || $item->checked_out == $this->user->id || $item->checked_out == 0; $userChkOut = Factory::getContainer()-> get(\Joomla\CMS\User\UserFactoryInterface::class)-> loadUserById($item->checked_out); $canDo = EhealthportalHelper::getActions('hiv_counseling_and_testing',$item,'hiv_counselings_and_testings'); ?>