@copyright Copyright (C) 2015. All Rights Reserved @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html ____ _____ _____ __ __ __ __ ___ _____ __ __ ____ _____ _ _ ____ _ _ ____ (_ _)( _ )( _ )( \/ )( ) /__\ / __)( _ )( \/ )( _ \( _ )( \( )( ___)( \( )(_ _) .-_)( )(_)( )(_)( ) ( )(__ /(__)\ ( (__ )(_)( ) ( )___/ )(_)( ) ( )__) ) ( )( \____) (_____)(_____)(_/\/\_)(____)(__)(__) \___)(_____)(_/\/\_)(__) (_____)(_)\_)(____)(_)\_) (__) /------------------------------------------------------------------------------------------------------*/ use Joomla\CMS\Factory; use Joomla\CMS\Language\Text; use Joomla\CMS\HTML\HTMLHelper as Html; use JCB\Component\Subformpower\Administrator\Helper\SubformpowerHelper; use JCB\Joomla\Utilities\StringHelper; use JCB\Joomla\Utilities\ArrayHelper; use Joomla\CMS\User\UserFactoryInterface; // No direct access to this file defined('_JEXEC') or die; // set the defaults $items = $displayData->vvvcurrencies; $user = Factory::getApplication()->getIdentity(); $id = $displayData->item->id; // set the edit URL $edit = "index.php?option=com_subformpower&view=currencies&task=currency.edit"; // set a return value $return = ($id) ? "index.php?option=com_subformpower&view=country&layout=edit&id=" . $id : ""; // check for a return value $jinput = Factory::getApplication()->input; if ($_return = $jinput->get('return', null, 'base64')) { $return .= "&return=" . $_return; } // check if return value was set if (StringHelper::check($return)) { // set the referral values $ref = ($id) ? "&ref=country&refid=" . $id . "&return=" . urlencode(base64_encode($return)) : "&return=" . urlencode(base64_encode($return)); } else { $ref = ($id) ? "&ref=country&refid=" . $id : ""; } // set the create new URL $new = "index.php?option=com_subformpower&view=currencies&task=currency.add" . $ref; // set the create new and close URL $close_new = "index.php?option=com_subformpower&view=currencies&task=currency.add"; // load the action object $can = SubformpowerHelper::getActions('currency'); ?>
get('currency.create')): ?>


$item): ?> authorise('core.manage', 'com_checkin') || $item->checked_out == $user->id || $item->checked_out == 0; $userChkOut = Factory::getContainer()-> get(UserFactoryInterface::class)-> loadUserById($item->checked_out ?? 0); $canDo = SubformpowerHelper::getActions('currency',$item,'currencies'); ?> published == 1): ?> published == 0): ?> published == 2): ?> published == -2): ?>
get('currency.edit')): ?> escape($item->ext_number); ?> checked_out): ?> name, $item->checked_out_time, 'currencies.', $canCheckin); ?> escape($item->ext_number); ?> escape($item->symbol); ?> escape($item->country_name); ?> id; ?>