* @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'); ?> get('core.edit.state')): ?> saveOrder) { $iconClass = ' inactive tip-top" hasTooltip" title="' . Html::tooltipText('JORDERINGDISABLED'); } ?> saveOrder) : ?> get('core.edit')): ?> checked_out) : ?> id); ?> id); ?>
get('core.edit')): ?> get(\Joomla\CMS\User\UserFactoryInterface::class)->loadUserById((int) $item->patient)->name; ?> checked_out): ?> name, $item->checked_out_time, 'hiv_counselings_and_testings.', $canCheckin); ?> get(\Joomla\CMS\User\UserFactoryInterface::class)->loadUserById((int) $item->patient)->name; ?>
counseling_type); ?> escape($item->testing_reason_name); ?> last_test_date); ?> prev_test_result); ?> test_result_one); ?> test_result_two); ?> final_test_result); ?> eqa); ?> escape($item->referral_name); ?> escape($item->reason); ?> get('core.edit.state')) : ?> checked_out) : ?> published, $i, 'hiv_counselings_and_testings.', true, 'cb'); ?> published, $i, 'hiv_counselings_and_testings.', false, 'cb'); ?> published, $i, 'hiv_counselings_and_testings.', true, 'cb'); ?> published, $i, 'hiv_counselings_and_testings.', false, 'cb'); ?> id; ?>