@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->fwvinterventions; $user = JFactory::getUser(); $id = $displayData->item->id; $edit = "index.php?option=com_costbenefitprojection&view=interventions&task=intervention.edit"; $ref = ($id) ? "&ref=company&refid=".$id : ""; $new = "index.php?option=com_costbenefitprojection&view=intervention&layout=edit".$ref; $can = CostbenefitprojectionHelper::getActions('intervention'); ?>
get('intervention.create')): ?>

$item): ?> authorise('core.manage', 'com_checkin') || $item->checked_out == $user->id || $item->checked_out == 0; $userChkOut = JFactory::getUser($item->checked_out); $canDo = CostbenefitprojectionHelper::getActions('intervention',$item,'interventions'); ?> published == 1):?> published == 0):?> published == 2):?> published == -2):?>
get('intervention.edit')): ?> escape($item->name); ?> checked_out): ?> name, $item->checked_out_time, 'interventions.', $canCheckin); ?>
escape($item->name); ?>
escape($item->company_name); ?> type); ?> escape($item->coverage); ?> escape($item->duration); ?> escape($item->description); ?> id; ?>