Resolves #13 to insure consistency to age ranges. Resolves #12 by adding Duration of Intervention.

This commit is contained in:
Llewellyn van der Merwe 2016-05-14 05:36:18 +01:00
parent e6a5375df7
commit 27171ee112
424 changed files with 981 additions and 855 deletions

View File

@ -1,4 +1,4 @@
# Cost Benefit Projection (3.3.12)
# Cost Benefit Projection (3.4.1)
This is a [Joomla 3.x] (http://www.joomla.org/) component.
@ -22,12 +22,12 @@ max_input_vars = 5000
+ *Author*: [Llewellyn van der Merwe] (mailto:llewellyn@vdm.io)
+ *Name*: [Cost Benefit Projection] (https://www.staffhealthcbp.com/)
+ *First Build*: 15th June, 2012
+ *Last Build*: 10th May, 2016
+ *Version*: 3.3.12
+ *Last Build*: 14th May, 2016
+ *Version*: 3.4.1
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
+ *Line count*: **85860**
+ *File count*: **566**
+ *Line count*: **86020**
+ *File count*: **570**
+ *Folder count*: **103**
> This **component** was build with a Joomla [Automated Component Builder] (https://www.vdm.io/joomla-component-builder).

View File

@ -2,8 +2,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage admin.css

View File

@ -2,8 +2,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage causerisk.css

View File

@ -2,8 +2,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage causesrisks.css

View File

@ -2,8 +2,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage combinedresults.css

View File

@ -2,8 +2,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage companies.css

View File

@ -2,8 +2,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage company.css

View File

@ -2,8 +2,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage companyresults.css

View File

@ -2,8 +2,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage countries.css

View File

@ -2,8 +2,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage country.css

View File

@ -2,8 +2,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage currencies.css

View File

@ -2,8 +2,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage currency.css

View File

@ -2,8 +2,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage dashboard.css

View File

@ -2,8 +2,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage health_data.css

View File

@ -2,8 +2,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage health_data_sets.css

View File

@ -2,8 +2,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage help_document.css

View File

@ -2,8 +2,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage help_documents.css

View File

@ -2,8 +2,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage intervention.css

View File

@ -2,8 +2,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage interventions.css

View File

@ -2,8 +2,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage scaling_factor.css

View File

@ -2,8 +2,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage scaling_factors.css

View File

@ -2,8 +2,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage service_provider.css

View File

@ -2,8 +2,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage service_providers.css

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage controller.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage ajax.json.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage causerisk.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage causesrisks.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage combinedresults.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage companies.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage company.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage companyresults.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage costbenefitprojection.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage countries.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage country.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage currencies.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage currency.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage health_data.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage health_data_sets.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage help.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage help_document.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage help_documents.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage import.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage import_health_data_sets.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage intervention.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage interventions.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage scaling_factor.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage scaling_factors.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage service_provider.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage service_providers.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage costbenefitprojection.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage costbenefitprojection.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage batch_.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage sum.php
@ -141,9 +141,9 @@ class Sum
$bucket = array();
foreach ($this->company->$sort as $value)
{
$buket[$value['age']] = $value['percent'];
$bucket[$value['age']] = (int) $value['percent'];
}
$this->company->$point = $buket;
$this->company->$point = $bucket;
}
}
// country totals sorting
@ -1433,14 +1433,14 @@ class Sum
// set local cause/risk values
$this->interventions[$i]['items'][$a] = $value;
$this->interventions[$i]['items'][$a]['name'] = $this->items[$value['id']]->details->name;
$this->interventions[$i]['items'][$a]['cost_of_problem_unscaled'] = $this->items[$value['id']]->subtotal_cost_unscaled;
$this->interventions[$i]['items'][$a]['cost_of_problem_scaled'] = $this->items[$value['id']]->subtotal_cost_scaled;
$this->interventions[$i]['items'][$a]['costmoney_of_problem_unscaled'] = $this->items[$value['id']]->subtotal_costmoney_unscaled;
$this->interventions[$i]['items'][$a]['costmoney_of_problem_scaled'] = $this->items[$value['id']]->subtotal_costmoney_scaled;
$this->interventions[$i]['items'][$a]['cost_of_problem_unscaled'] = $this->items[$value['id']]->subtotal_cost_unscaled * $item->duration;
$this->interventions[$i]['items'][$a]['cost_of_problem_scaled'] = $this->items[$value['id']]->subtotal_cost_scaled * $item->duration;
$this->interventions[$i]['items'][$a]['costmoney_of_problem_unscaled'] = $this->makeMoney((float)$this->interventions[$i]['items'][$a]['cost_of_problem_unscaled']);
$this->interventions[$i]['items'][$a]['costmoney_of_problem_scaled'] = $this->makeMoney((float)$this->interventions[$i]['items'][$a]['cost_of_problem_scaled']);
$this->interventions[$i]['items'][$a]['cost'] = ($this->interventions[$i]["coverage"] /100)
* $value['cpe'] * ($this->company->males + $this->company->females)
* $item->duration;
* $value['cpe'] * ($this->company->males + $this->company->females);
// turn into money
$this->interventions[$i]['items'][$a]['costmoney'] = $this->makeMoney((float)$this->interventions[$i]['items'][$a]['cost']);
@ -1488,9 +1488,9 @@ class Sum
$this->interventions[$i]['totals']['cost_per_employee'] = $this->interventions[$i]['totals']['cost_per_employee'] + $value['cpe'];
$this->interventions[$i]['totals']['cost_of_problem_scaled'] = $this->interventions[$i]['totals']['cost_of_problem_scaled']
+ $this->items[$value['id']]->subtotal_cost_scaled;
+ $this->interventions[$i]['items'][$a]['cost_of_problem_scaled'];
$this->interventions[$i]['totals']['cost_of_problem_unscaled'] = $this->interventions[$i]['totals']['cost_of_problem_unscaled']
+ $this->items[$value['id']]->subtotal_cost_unscaled;
+ $this->interventions[$i]['items'][$a]['cost_of_problem_unscaled'];
} else {
$this->interventions[$i]['not_found'][$value['id']] = CostbenefitprojectionHelper::getVar('causerisk', $value['id'], 'id', 'name');
}

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage sumcombine.php

View File

@ -29,6 +29,9 @@ COM_COSTBENEFITPROJECTION_CAUSERISK_IMPORTNAME="Importname"
COM_COSTBENEFITPROJECTION_CAUSERISK_IMPORTNAME_DESCRIPTION="Enter Import Name Here"
COM_COSTBENEFITPROJECTION_CAUSERISK_IMPORTNAME_HINT="Import Name Here"
COM_COSTBENEFITPROJECTION_CAUSERISK_IMPORTNAME_LABEL="Import Name"
COM_COSTBENEFITPROJECTION_CAUSERISK_IMPORT_ID="Import Id"
COM_COSTBENEFITPROJECTION_CAUSERISK_IMPORT_ID_DESCRIPTION="This is the id that is used during import of the health data."
COM_COSTBENEFITPROJECTION_CAUSERISK_IMPORT_ID_LABEL="Import ID"
COM_COSTBENEFITPROJECTION_CAUSERISK_NAME="Name"
COM_COSTBENEFITPROJECTION_CAUSERISK_NAME_DESCRIPTION="Enter Name Here"
COM_COSTBENEFITPROJECTION_CAUSERISK_NAME_HINT="Name Here"

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage batchselection.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage details_above.php

View File

@ -0,0 +1,42 @@
<?php
/*----------------------------------------------------------------------------------| www.giz.de |----/
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage details_fullwidth.php
@author Llewellyn van der Merwe <http://www.vdm.io>
@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');
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
'description'
);
?>
<div class="form-vertical">
<?php foreach($fields as $field): ?>
<div class="control-group">
<div class="control-label">
<?php echo $form->getLabel($field); ?>
</div>
<div class="controls">
<?php echo $form->getInput($field); ?>
</div>
</div>
<?php endforeach; ?>
</div>

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage details_left.php
@ -24,8 +24,7 @@ defined('_JEXEC') or die('Restricted access');
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
'importname',
'description'
'importname'
);
$hiddenFields = $displayData->get('hidden_fields') ?: array();

View File

@ -0,0 +1,48 @@
<?php
/*----------------------------------------------------------------------------------| www.giz.de |----/
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage details_right.php
@author Llewellyn van der Merwe <http://www.vdm.io>
@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');
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
'import_id'
);
$hiddenFields = $displayData->get('hidden_fields') ?: array();
foreach ($fields as $field)
{
$field = is_array($field) ? $field : array($field);
foreach ($field as $f)
{
if ($form->getField($f))
{
if (in_array($f, $hiddenFields))
{
$form->setFieldAttribute($f, 'type', 'hidden');
}
echo $form->renderField($f);
break;
}
}
}

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage publishing.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage publlshing.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage age_groups_percentages_fullwidth.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage age_groups_percentages_left.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage age_groups_percentages_right.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage causerisk_selection_fullwidth.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage details_above.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage details_left.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage details_right.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage details_under.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage interventions_fullwidth.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage publishing.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage publlshing.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage scaling_factors_fullwidth.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage age_groups_percentages_left.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage age_groups_percentages_right.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage causerisk_selection_fullwidth.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage companies_fullwidth.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage details_above.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage details_left.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage details_right.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage health_data_totals_left.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage health_data_totals_right.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage interventions_fullwidth.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage public_details_fullwidth.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage publishing.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage publlshing.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage service_providers_fullwidth.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage details_above.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage details_left.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage details_right.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage publishing.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage publlshing.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage databreakdownmalefemale.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage details_above.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage details_left.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage details_right.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage details_rightside.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage publishing.php

View File

@ -3,8 +3,8 @@
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.12
@build 10th May, 2016
@version 3.4.1
@build 14th May, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage publlshing.php

Some files were not shown because too many files have changed in this diff Show More