@owner Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb @copyright Copyright (C) 2015. All Rights Reserved @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html /-------------------------------------------------------------------------------------------------------/ Cost Benefit Projection Tool. /------------------------------------------------------------------------------------------------------*/ // No direct access to this file defined('_JEXEC') or die('Restricted access'); // set the defaults $items = $displayData->vwhcompanies; $user = JFactory::getUser(); $id = $displayData->item->id; // set the edit URL $edit = "index.php?option=com_costbenefitprojection&view=companies&task=company.edit"; // set a return value $return = ($id) ? "index.php?option=com_costbenefitprojection&view=country&layout=edit&id=" . $id : ""; // check for a return value $jinput = JFactory::getApplication()->input; if ($_return = $jinput->get('return', null, 'base64')) { $return .= "&return=" . $_return; } // check if return value was set if (CostbenefitprojectionHelper::checkString($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_costbenefitprojection&view=companies&task=company.edit" . $ref; // load the action object $can = CostbenefitprojectionHelper::getActions('company'); ?>
get('company.edit')): ?> escape($item->name); ?> checked_out): ?> name, $item->checked_out_time, 'companies.', $canCheckin); ?> escape($item->name); ?> | authorise('core.edit', 'com_users')): ?> user)->name; ?> user)->name; ?> | department); ?> | escape($item->country_name); ?> | authorise('service_provider.edit', 'com_costbenefitprojection.service_provider.' . (int) $item->service_provider)): ?> service_provider_user)->name; ?> service_provider_user)->name; ?> | per); ?> | published == 1): ?>published == 0): ?> | published == 2): ?> | published == -2): ?> | |