Fixed a method from public to protected status error. All other changes are only random variable name and date changes (due to automation)

This commit is contained in:
Llewellyn van der Merwe 2016-02-26 14:46:20 +02:00
parent 245d393938
commit a6bd494b11
56 changed files with 525 additions and 525 deletions

View File

@ -22,7 +22,7 @@
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die('Restricted access');
// set the defaults // set the defaults
$items = $displayData->gypinterventions; $items = $displayData->rjqinterventions;
$user = JFactory::getUser(); $user = JFactory::getUser();
$id = $displayData->item->id; $id = $displayData->item->id;
$edit = "index.php?option=com_costbenefitprojection&view=interventions&task=intervention.edit"; $edit = "index.php?option=com_costbenefitprojection&view=interventions&task=intervention.edit";

View File

@ -22,7 +22,7 @@
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die('Restricted access');
// set the defaults // set the defaults
$items = $displayData->yhqscaling_factors; $items = $displayData->cwvscaling_factors;
$user = JFactory::getUser(); $user = JFactory::getUser();
$id = $displayData->item->id; $id = $displayData->item->id;
$edit = "index.php?option=com_costbenefitprojection&view=scaling_factors&task=scaling_factor.edit"; $edit = "index.php?option=com_costbenefitprojection&view=scaling_factors&task=scaling_factor.edit";

View File

@ -22,7 +22,7 @@
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die('Restricted access');
// set the defaults // set the defaults
$items = $displayData->tqucompanies; $items = $displayData->sbccompanies;
$user = JFactory::getUser(); $user = JFactory::getUser();
$id = $displayData->item->id; $id = $displayData->item->id;
$edit = "index.php?option=com_costbenefitprojection&view=companies&task=company.edit"; $edit = "index.php?option=com_costbenefitprojection&view=companies&task=company.edit";

View File

@ -22,7 +22,7 @@
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die('Restricted access');
// set the defaults // set the defaults
$items = $displayData->dxsinterventions; $items = $displayData->fnxinterventions;
$user = JFactory::getUser(); $user = JFactory::getUser();
$id = $displayData->item->id; $id = $displayData->item->id;
$edit = "index.php?option=com_costbenefitprojection&view=interventions&task=intervention.edit"; $edit = "index.php?option=com_costbenefitprojection&view=interventions&task=intervention.edit";

View File

@ -22,7 +22,7 @@
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die('Restricted access');
// set the defaults // set the defaults
$items = $displayData->subservice_providers; $items = $displayData->qkaservice_providers;
$user = JFactory::getUser(); $user = JFactory::getUser();
$id = $displayData->item->id; $id = $displayData->item->id;
$edit = "index.php?option=com_costbenefitprojection&view=service_providers&task=service_provider.edit"; $edit = "index.php?option=com_costbenefitprojection&view=service_providers&task=service_provider.edit";

View File

@ -22,7 +22,7 @@
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die('Restricted access');
// set the defaults // set the defaults
$items = $displayData->isscompanies; $items = $displayData->svucompanies;
$user = JFactory::getUser(); $user = JFactory::getUser();
$id = $displayData->item->id; $id = $displayData->item->id;
$edit = "index.php?option=com_costbenefitprojection&view=companies&task=company.edit"; $edit = "index.php?option=com_costbenefitprojection&view=companies&task=company.edit";

View File

@ -350,7 +350,7 @@ class CostbenefitprojectionModelCauserisk extends JModelAdmin
* *
* @since 3.0 * @since 3.0
*/ */
public function getUniqeFields() protected function getUniqeFields()
{ {
return false; return false;
} }
@ -481,7 +481,7 @@ class CostbenefitprojectionModelCauserisk extends JModelAdmin
* *
* @since 12.2 * @since 12.2
*/ */
public function batchCopy($values, $pks, $contexts) protected function batchCopy($values, $pks, $contexts)
{ {
if (empty($this->batchSet)) if (empty($this->batchSet))
{ {
@ -630,7 +630,7 @@ class CostbenefitprojectionModelCauserisk extends JModelAdmin
* *
* @since 12.2 * @since 12.2
*/ */
public function batchMove($values, $pks, $contexts) protected function batchMove($values, $pks, $contexts)
{ {
if (empty($this->batchSet)) if (empty($this->batchSet))
{ {
@ -871,7 +871,7 @@ class CostbenefitprojectionModelCauserisk extends JModelAdmin
* @return array Contains the modified title and alias. * @return array Contains the modified title and alias.
* *
*/ */
public function _generateNewTitle($alias, $title) protected function _generateNewTitle($alias, $title)
{ {
// Alter the title & alias // Alter the title & alias

View File

@ -318,7 +318,7 @@ class CostbenefitprojectionModelCausesrisks extends JModelList
* @return a bool * @return a bool
* *
*/ */
public function checkInNow() protected function checkInNow()
{ {
// Get set check in time // Get set check in time
$time = JComponentHelper::getParams('com_costbenefitprojection')->get('check_in'); $time = JComponentHelper::getParams('com_costbenefitprojection')->get('check_in');

View File

@ -156,7 +156,7 @@ class CostbenefitprojectionModelCompanies extends JModelList
* *
* @return translatable string * @return translatable string
*/ */
public function selectionTranslation($value,$name) protected function selectionTranslation($value,$name)
{ {
// Array of department language strings // Array of department language strings
if ($name == 'department') if ($name == 'department')
@ -498,7 +498,7 @@ class CostbenefitprojectionModelCompanies extends JModelList
* @return a bool * @return a bool
* *
*/ */
public function checkInNow() protected function checkInNow()
{ {
// Get set check in time // Get set check in time
$time = JComponentHelper::getParams('com_costbenefitprojection')->get('check_in'); $time = JComponentHelper::getParams('com_costbenefitprojection')->get('check_in');

View File

@ -154,8 +154,8 @@ class CostbenefitprojectionModelCompany extends JModelAdmin
$item->tags->getTagIds($item->id, 'com_costbenefitprojection.company'); $item->tags->getTagIds($item->id, 'com_costbenefitprojection.company');
} }
} }
$this->companyedsg = $item->id; $this->companymmfv = $item->id;
$this->companyyyuq = $item->id; $this->companyzzjj = $item->id;
return $item; return $item;
} }
@ -165,7 +165,7 @@ class CostbenefitprojectionModelCompany extends JModelAdmin
* *
* @return mixed An array of data items on success, false on failure. * @return mixed An array of data items on success, false on failure.
*/ */
public function getYhqscaling_factors() public function getCwvscaling_factors()
{ {
// Get the user object. // Get the user object.
$user = JFactory::getUser(); $user = JFactory::getUser();
@ -204,15 +204,15 @@ class CostbenefitprojectionModelCompany extends JModelAdmin
$query->select($db->quoteName('h.name','company_name')); $query->select($db->quoteName('h.name','company_name'));
$query->join('LEFT', $db->quoteName('#__costbenefitprojection_company', 'h') . ' ON (' . $db->quoteName('a.company') . ' = ' . $db->quoteName('h.id') . ')'); $query->join('LEFT', $db->quoteName('#__costbenefitprojection_company', 'h') . ' ON (' . $db->quoteName('a.company') . ' = ' . $db->quoteName('h.id') . ')');
// Filter by companyedsg global. // Filter by companymmfv global.
$companyedsg = $this->companyedsg; $companymmfv = $this->companymmfv;
if (is_numeric($companyedsg )) if (is_numeric($companymmfv ))
{ {
$query->where('a.company = ' . (int) $companyedsg ); $query->where('a.company = ' . (int) $companymmfv );
} }
elseif (is_string($companyedsg)) elseif (is_string($companymmfv))
{ {
$query->where('a.company = ' . $db->quote($companyedsg)); $query->where('a.company = ' . $db->quote($companymmfv));
} }
else else
{ {
@ -255,7 +255,7 @@ class CostbenefitprojectionModelCompany extends JModelAdmin
* *
* @return mixed An array of data items on success, false on failure. * @return mixed An array of data items on success, false on failure.
*/ */
public function getGypinterventions() public function getRjqinterventions()
{ {
// Get the user object. // Get the user object.
$user = JFactory::getUser(); $user = JFactory::getUser();
@ -290,15 +290,15 @@ class CostbenefitprojectionModelCompany extends JModelAdmin
$query->select($db->quoteName('g.name','company_name')); $query->select($db->quoteName('g.name','company_name'));
$query->join('LEFT', $db->quoteName('#__costbenefitprojection_company', 'g') . ' ON (' . $db->quoteName('a.company') . ' = ' . $db->quoteName('g.id') . ')'); $query->join('LEFT', $db->quoteName('#__costbenefitprojection_company', 'g') . ' ON (' . $db->quoteName('a.company') . ' = ' . $db->quoteName('g.id') . ')');
// Filter by companyyyuq global. // Filter by companyzzjj global.
$companyyyuq = $this->companyyyuq; $companyzzjj = $this->companyzzjj;
if (is_numeric($companyyyuq )) if (is_numeric($companyzzjj ))
{ {
$query->where('a.company = ' . (int) $companyyyuq ); $query->where('a.company = ' . (int) $companyzzjj );
} }
elseif (is_string($companyyyuq)) elseif (is_string($companyzzjj))
{ {
$query->where('a.company = ' . $db->quote($companyyyuq)); $query->where('a.company = ' . $db->quote($companyzzjj));
} }
else else
{ {
@ -351,7 +351,7 @@ class CostbenefitprojectionModelCompany extends JModelAdmin
foreach ($items as $nr => &$item) foreach ($items as $nr => &$item)
{ {
// convert type // convert type
$item->type = $this->selectionTranslationGypinterventions($item->type, 'type'); $item->type = $this->selectionTranslationRjqinterventions($item->type, 'type');
} }
} }
@ -365,7 +365,7 @@ class CostbenefitprojectionModelCompany extends JModelAdmin
* *
* @return translatable string * @return translatable string
*/ */
public function selectionTranslationGypinterventions($value,$name) protected function selectionTranslationRjqinterventions($value,$name)
{ {
// Array of type language strings // Array of type language strings
if ($name == 'type') if ($name == 'type')
@ -860,7 +860,7 @@ class CostbenefitprojectionModelCompany extends JModelAdmin
* *
* @since 3.0 * @since 3.0
*/ */
public function getUniqeFields() protected function getUniqeFields()
{ {
return false; return false;
} }
@ -991,7 +991,7 @@ class CostbenefitprojectionModelCompany extends JModelAdmin
* *
* @since 12.2 * @since 12.2
*/ */
public function batchCopy($values, $pks, $contexts) protected function batchCopy($values, $pks, $contexts)
{ {
if (empty($this->batchSet)) if (empty($this->batchSet))
{ {
@ -1169,7 +1169,7 @@ class CostbenefitprojectionModelCompany extends JModelAdmin
* *
* @since 12.2 * @since 12.2
*/ */
public function batchMove($values, $pks, $contexts) protected function batchMove($values, $pks, $contexts)
{ {
if (empty($this->batchSet)) if (empty($this->batchSet))
{ {
@ -1450,7 +1450,7 @@ class CostbenefitprojectionModelCompany extends JModelAdmin
* @return array Contains the modified title and alias. * @return array Contains the modified title and alias.
* *
*/ */
public function _generateNewTitle($title) protected function _generateNewTitle($title)
{ {
// Alter the title // Alter the title

View File

@ -383,7 +383,7 @@ class CostbenefitprojectionModelCountries extends JModelList
* @return a bool * @return a bool
* *
*/ */
public function checkInNow() protected function checkInNow()
{ {
// Get set check in time // Get set check in time
$time = JComponentHelper::getParams('com_costbenefitprojection')->get('check_in'); $time = JComponentHelper::getParams('com_costbenefitprojection')->get('check_in');

View File

@ -101,9 +101,9 @@ class CostbenefitprojectionModelCountry extends JModelAdmin
$item->tags->getTagIds($item->id, 'com_costbenefitprojection.country'); $item->tags->getTagIds($item->id, 'com_costbenefitprojection.country');
} }
} }
$this->countryqgsp = $item->id; $this->countrymdld = $item->id;
$this->countryzheg = $item->id; $this->countrytzts = $item->id;
$this->countryyhlr = $item->id; $this->countrydlwr = $item->id;
return $item; return $item;
} }
@ -113,7 +113,7 @@ class CostbenefitprojectionModelCountry extends JModelAdmin
* *
* @return mixed An array of data items on success, false on failure. * @return mixed An array of data items on success, false on failure.
*/ */
public function getDxsinterventions() public function getFnxinterventions()
{ {
// Get the user object. // Get the user object.
$user = JFactory::getUser(); $user = JFactory::getUser();
@ -148,15 +148,15 @@ class CostbenefitprojectionModelCountry extends JModelAdmin
$query->select($db->quoteName('g.name','company_name')); $query->select($db->quoteName('g.name','company_name'));
$query->join('LEFT', $db->quoteName('#__costbenefitprojection_company', 'g') . ' ON (' . $db->quoteName('a.company') . ' = ' . $db->quoteName('g.id') . ')'); $query->join('LEFT', $db->quoteName('#__costbenefitprojection_company', 'g') . ' ON (' . $db->quoteName('a.company') . ' = ' . $db->quoteName('g.id') . ')');
// Filter by countryqgsp global. // Filter by countrymdld global.
$countryqgsp = $this->countryqgsp; $countrymdld = $this->countrymdld;
if (is_numeric($countryqgsp )) if (is_numeric($countrymdld ))
{ {
$query->where('a.country = ' . (int) $countryqgsp ); $query->where('a.country = ' . (int) $countrymdld );
} }
elseif (is_string($countryqgsp)) elseif (is_string($countrymdld))
{ {
$query->where('a.country = ' . $db->quote($countryqgsp)); $query->where('a.country = ' . $db->quote($countrymdld));
} }
else else
{ {
@ -209,7 +209,7 @@ class CostbenefitprojectionModelCountry extends JModelAdmin
foreach ($items as $nr => &$item) foreach ($items as $nr => &$item)
{ {
// convert type // convert type
$item->type = $this->selectionTranslationDxsinterventions($item->type, 'type'); $item->type = $this->selectionTranslationFnxinterventions($item->type, 'type');
} }
} }
@ -223,7 +223,7 @@ class CostbenefitprojectionModelCountry extends JModelAdmin
* *
* @return translatable string * @return translatable string
*/ */
public function selectionTranslationDxsinterventions($value,$name) protected function selectionTranslationFnxinterventions($value,$name)
{ {
// Array of type language strings // Array of type language strings
if ($name == 'type') if ($name == 'type')
@ -246,7 +246,7 @@ class CostbenefitprojectionModelCountry extends JModelAdmin
* *
* @return mixed An array of data items on success, false on failure. * @return mixed An array of data items on success, false on failure.
*/ */
public function getSubservice_providers() public function getQkaservice_providers()
{ {
// Get the user object. // Get the user object.
$user = JFactory::getUser(); $user = JFactory::getUser();
@ -285,15 +285,15 @@ class CostbenefitprojectionModelCountry extends JModelAdmin
$query->select($db->quoteName('h.name','country_name')); $query->select($db->quoteName('h.name','country_name'));
$query->join('LEFT', $db->quoteName('#__costbenefitprojection_country', 'h') . ' ON (' . $db->quoteName('a.country') . ' = ' . $db->quoteName('h.id') . ')'); $query->join('LEFT', $db->quoteName('#__costbenefitprojection_country', 'h') . ' ON (' . $db->quoteName('a.country') . ' = ' . $db->quoteName('h.id') . ')');
// Filter by countryzheg global. // Filter by countrytzts global.
$countryzheg = $this->countryzheg; $countrytzts = $this->countrytzts;
if (is_numeric($countryzheg )) if (is_numeric($countrytzts ))
{ {
$query->where('a.country = ' . (int) $countryzheg ); $query->where('a.country = ' . (int) $countrytzts );
} }
elseif (is_string($countryzheg)) elseif (is_string($countrytzts))
{ {
$query->where('a.country = ' . $db->quote($countryzheg)); $query->where('a.country = ' . $db->quote($countrytzts));
} }
else else
{ {
@ -336,7 +336,7 @@ class CostbenefitprojectionModelCountry extends JModelAdmin
* *
* @return mixed An array of data items on success, false on failure. * @return mixed An array of data items on success, false on failure.
*/ */
public function getTqucompanies() public function getSbccompanies()
{ {
// Get the user object. // Get the user object.
$user = JFactory::getUser(); $user = JFactory::getUser();
@ -379,15 +379,15 @@ class CostbenefitprojectionModelCountry extends JModelAdmin
$query->select($db->quoteName('i.user','service_provider_user')); $query->select($db->quoteName('i.user','service_provider_user'));
$query->join('LEFT', $db->quoteName('#__costbenefitprojection_service_provider', 'i') . ' ON (' . $db->quoteName('a.service_provider') . ' = ' . $db->quoteName('i.id') . ')'); $query->join('LEFT', $db->quoteName('#__costbenefitprojection_service_provider', 'i') . ' ON (' . $db->quoteName('a.service_provider') . ' = ' . $db->quoteName('i.id') . ')');
// Filter by countryyhlr global. // Filter by countrydlwr global.
$countryyhlr = $this->countryyhlr; $countrydlwr = $this->countrydlwr;
if (is_numeric($countryyhlr )) if (is_numeric($countrydlwr ))
{ {
$query->where('a.country = ' . (int) $countryyhlr ); $query->where('a.country = ' . (int) $countrydlwr );
} }
elseif (is_string($countryyhlr)) elseif (is_string($countrydlwr))
{ {
$query->where('a.country = ' . $db->quote($countryyhlr)); $query->where('a.country = ' . $db->quote($countrydlwr));
} }
else else
{ {
@ -442,9 +442,9 @@ class CostbenefitprojectionModelCountry extends JModelAdmin
foreach ($items as $nr => &$item) foreach ($items as $nr => &$item)
{ {
// convert department // convert department
$item->department = $this->selectionTranslationTqucompanies($item->department, 'department'); $item->department = $this->selectionTranslationSbccompanies($item->department, 'department');
// convert per // convert per
$item->per = $this->selectionTranslationTqucompanies($item->per, 'per'); $item->per = $this->selectionTranslationSbccompanies($item->per, 'per');
} }
} }
@ -458,7 +458,7 @@ class CostbenefitprojectionModelCountry extends JModelAdmin
* *
* @return translatable string * @return translatable string
*/ */
public function selectionTranslationTqucompanies($value,$name) protected function selectionTranslationSbccompanies($value,$name)
{ {
// Array of department language strings // Array of department language strings
if ($name == 'department') if ($name == 'department')
@ -750,7 +750,7 @@ class CostbenefitprojectionModelCountry extends JModelAdmin
* *
* @since 3.0 * @since 3.0
*/ */
public function getUniqeFields() protected function getUniqeFields()
{ {
return false; return false;
} }
@ -881,7 +881,7 @@ class CostbenefitprojectionModelCountry extends JModelAdmin
* *
* @since 12.2 * @since 12.2
*/ */
public function batchCopy($values, $pks, $contexts) protected function batchCopy($values, $pks, $contexts)
{ {
if (empty($this->batchSet)) if (empty($this->batchSet))
{ {
@ -1061,7 +1061,7 @@ class CostbenefitprojectionModelCountry extends JModelAdmin
* *
* @since 12.2 * @since 12.2
*/ */
public function batchMove($values, $pks, $contexts) protected function batchMove($values, $pks, $contexts)
{ {
if (empty($this->batchSet)) if (empty($this->batchSet))
{ {
@ -1339,7 +1339,7 @@ class CostbenefitprojectionModelCountry extends JModelAdmin
* @return array Contains the modified title and alias. * @return array Contains the modified title and alias.
* *
*/ */
public function _generateNewTitle($alias, $title) protected function _generateNewTitle($alias, $title)
{ {
// Alter the title & alias // Alter the title & alias

View File

@ -328,7 +328,7 @@ class CostbenefitprojectionModelCurrencies extends JModelList
* @return a bool * @return a bool
* *
*/ */
public function checkInNow() protected function checkInNow()
{ {
// Get set check in time // Get set check in time
$time = JComponentHelper::getParams('com_costbenefitprojection')->get('check_in'); $time = JComponentHelper::getParams('com_costbenefitprojection')->get('check_in');

View File

@ -350,7 +350,7 @@ class CostbenefitprojectionModelCurrency extends JModelAdmin
* *
* @since 3.0 * @since 3.0
*/ */
public function getUniqeFields() protected function getUniqeFields()
{ {
return array('codethree'); return array('codethree');
} }
@ -481,7 +481,7 @@ class CostbenefitprojectionModelCurrency extends JModelAdmin
* *
* @since 12.2 * @since 12.2
*/ */
public function batchCopy($values, $pks, $contexts) protected function batchCopy($values, $pks, $contexts)
{ {
if (empty($this->batchSet)) if (empty($this->batchSet))
{ {
@ -630,7 +630,7 @@ class CostbenefitprojectionModelCurrency extends JModelAdmin
* *
* @since 12.2 * @since 12.2
*/ */
public function batchMove($values, $pks, $contexts) protected function batchMove($values, $pks, $contexts)
{ {
if (empty($this->batchSet)) if (empty($this->batchSet))
{ {
@ -871,7 +871,7 @@ class CostbenefitprojectionModelCurrency extends JModelAdmin
* @return array Contains the modified title and alias. * @return array Contains the modified title and alias.
* *
*/ */
public function _generateNewTitle($alias, $title) protected function _generateNewTitle($alias, $title)
{ {
// Alter the title & alias // Alter the title & alias

View File

@ -42,7 +42,7 @@ class JFormFieldArticles extends JFormFieldList
* *
* @since 3.2 * @since 3.2
*/ */
public function getInput() protected function getInput()
{ {
// see if we should add buttons // see if we should add buttons
$setButton = $this->getAttribute('button'); $setButton = $this->getAttribute('button');

View File

@ -42,7 +42,7 @@ class JFormFieldCausesrisks extends JFormFieldList
* *
* @since 3.2 * @since 3.2
*/ */
public function getInput() protected function getInput()
{ {
// see if we should add buttons // see if we should add buttons
$setButton = $this->getAttribute('button'); $setButton = $this->getAttribute('button');

View File

@ -42,7 +42,7 @@ class JFormFieldCompany extends JFormFieldList
* *
* @since 3.2 * @since 3.2
*/ */
public function getInput() protected function getInput()
{ {
// see if we should add buttons // see if we should add buttons
$setButton = $this->getAttribute('button'); $setButton = $this->getAttribute('button');

View File

@ -42,7 +42,7 @@ class JFormFieldCountries extends JFormFieldList
* *
* @since 3.2 * @since 3.2
*/ */
public function getInput() protected function getInput()
{ {
// see if we should add buttons // see if we should add buttons
$setButton = $this->getAttribute('button'); $setButton = $this->getAttribute('button');

View File

@ -42,7 +42,7 @@ class JFormFieldCurrency extends JFormFieldList
* *
* @since 3.2 * @since 3.2
*/ */
public function getInput() protected function getInput()
{ {
// see if we should add buttons // see if we should add buttons
$setButton = $this->getAttribute('button'); $setButton = $this->getAttribute('button');

View File

@ -42,7 +42,7 @@ class JFormFieldDatayear extends JFormFieldList
* *
* @since 3.2 * @since 3.2
*/ */
public function getInput() protected function getInput()
{ {
// see if we should add buttons // see if we should add buttons
$setButton = $this->getAttribute('button'); $setButton = $this->getAttribute('button');

View File

@ -42,7 +42,7 @@ class JFormFieldInterventions extends JFormFieldList
* *
* @since 3.2 * @since 3.2
*/ */
public function getInput() protected function getInput()
{ {
// see if we should add buttons // see if we should add buttons
$setButton = $this->getAttribute('button'); $setButton = $this->getAttribute('button');

View File

@ -42,7 +42,7 @@ class JFormFieldServiceprovider extends JFormFieldList
* *
* @since 3.2 * @since 3.2
*/ */
public function getInput() protected function getInput()
{ {
// see if we should add buttons // see if we should add buttons
$setButton = $this->getAttribute('button'); $setButton = $this->getAttribute('button');

View File

@ -17,178 +17,178 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// Some Global Values // Some Global Values
jform_VYVXNfJGPt_required = false; jform_GoUKnYRWrn_required = false;
jform_VYVXNfJcvi_required = false; jform_GoUKnYRuhe_required = false;
jform_VYVXNfJuFB_required = false; jform_GoUKnYRlzC_required = false;
jform_VYVXNfJOxi_required = false; jform_GoUKnYRmUE_required = false;
jform_VYVXNfJFVS_required = false; jform_GoUKnYRvxB_required = false;
jform_VYVXNfJGAC_required = false; jform_GoUKnYRZZT_required = false;
jform_VYVXNfJxEE_required = false; jform_GoUKnYRXRy_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
{ {
var department_VYVXNfJ = jQuery("#jform_department input[type='radio']:checked").val(); var department_GoUKnYR = jQuery("#jform_department input[type='radio']:checked").val();
VYVXNfJ(department_VYVXNfJ); GoUKnYR(department_GoUKnYR);
var department_uSGkQuj = jQuery("#jform_department input[type='radio']:checked").val(); var department_tWDagyL = jQuery("#jform_department input[type='radio']:checked").val();
uSGkQuj(department_uSGkQuj); tWDagyL(department_tWDagyL);
}); });
// the VYVXNfJ function // the GoUKnYR function
function VYVXNfJ(department_VYVXNfJ) function GoUKnYR(department_GoUKnYR)
{ {
// set the function logic // set the function logic
if (department_VYVXNfJ == 2) if (department_GoUKnYR == 2)
{ {
jQuery('#jform_causesrisks').closest('.control-group').show(); jQuery('#jform_causesrisks').closest('.control-group').show();
if (jform_VYVXNfJGPt_required) if (jform_GoUKnYRWrn_required)
{ {
updateFieldRequired('causesrisks',0); updateFieldRequired('causesrisks',0);
jQuery('#jform_causesrisks').prop('required','required'); jQuery('#jform_causesrisks').prop('required','required');
jQuery('#jform_causesrisks').attr('aria-required',true); jQuery('#jform_causesrisks').attr('aria-required',true);
jQuery('#jform_causesrisks').addClass('required'); jQuery('#jform_causesrisks').addClass('required');
jform_VYVXNfJGPt_required = false; jform_GoUKnYRWrn_required = false;
} }
jQuery('#jform_percentfemale').closest('.control-group').show(); jQuery('#jform_percentfemale').closest('.control-group').show();
jQuery('#jform_percentmale').closest('.control-group').show(); jQuery('#jform_percentmale').closest('.control-group').show();
jQuery('#jform_productivity_losses').closest('.control-group').show(); jQuery('#jform_productivity_losses').closest('.control-group').show();
if (jform_VYVXNfJcvi_required) if (jform_GoUKnYRuhe_required)
{ {
updateFieldRequired('productivity_losses',0); updateFieldRequired('productivity_losses',0);
jQuery('#jform_productivity_losses').prop('required','required'); jQuery('#jform_productivity_losses').prop('required','required');
jQuery('#jform_productivity_losses').attr('aria-required',true); jQuery('#jform_productivity_losses').attr('aria-required',true);
jQuery('#jform_productivity_losses').addClass('required'); jQuery('#jform_productivity_losses').addClass('required');
jform_VYVXNfJcvi_required = false; jform_GoUKnYRuhe_required = false;
} }
jQuery('#jform_medical_turnovers_females').closest('.control-group').show(); jQuery('#jform_medical_turnovers_females').closest('.control-group').show();
if (jform_VYVXNfJuFB_required) if (jform_GoUKnYRlzC_required)
{ {
updateFieldRequired('medical_turnovers_females',0); updateFieldRequired('medical_turnovers_females',0);
jQuery('#jform_medical_turnovers_females').prop('required','required'); jQuery('#jform_medical_turnovers_females').prop('required','required');
jQuery('#jform_medical_turnovers_females').attr('aria-required',true); jQuery('#jform_medical_turnovers_females').attr('aria-required',true);
jQuery('#jform_medical_turnovers_females').addClass('required'); jQuery('#jform_medical_turnovers_females').addClass('required');
jform_VYVXNfJuFB_required = false; jform_GoUKnYRlzC_required = false;
} }
jQuery('#jform_medical_turnovers_males').closest('.control-group').show(); jQuery('#jform_medical_turnovers_males').closest('.control-group').show();
if (jform_VYVXNfJOxi_required) if (jform_GoUKnYRmUE_required)
{ {
updateFieldRequired('medical_turnovers_males',0); updateFieldRequired('medical_turnovers_males',0);
jQuery('#jform_medical_turnovers_males').prop('required','required'); jQuery('#jform_medical_turnovers_males').prop('required','required');
jQuery('#jform_medical_turnovers_males').attr('aria-required',true); jQuery('#jform_medical_turnovers_males').attr('aria-required',true);
jQuery('#jform_medical_turnovers_males').addClass('required'); jQuery('#jform_medical_turnovers_males').addClass('required');
jform_VYVXNfJOxi_required = false; jform_GoUKnYRmUE_required = false;
} }
jQuery('#jform_sick_leave_females').closest('.control-group').show(); jQuery('#jform_sick_leave_females').closest('.control-group').show();
if (jform_VYVXNfJFVS_required) if (jform_GoUKnYRvxB_required)
{ {
updateFieldRequired('sick_leave_females',0); updateFieldRequired('sick_leave_females',0);
jQuery('#jform_sick_leave_females').prop('required','required'); jQuery('#jform_sick_leave_females').prop('required','required');
jQuery('#jform_sick_leave_females').attr('aria-required',true); jQuery('#jform_sick_leave_females').attr('aria-required',true);
jQuery('#jform_sick_leave_females').addClass('required'); jQuery('#jform_sick_leave_females').addClass('required');
jform_VYVXNfJFVS_required = false; jform_GoUKnYRvxB_required = false;
} }
jQuery('#jform_sick_leave_males').closest('.control-group').show(); jQuery('#jform_sick_leave_males').closest('.control-group').show();
if (jform_VYVXNfJGAC_required) if (jform_GoUKnYRZZT_required)
{ {
updateFieldRequired('sick_leave_males',0); updateFieldRequired('sick_leave_males',0);
jQuery('#jform_sick_leave_males').prop('required','required'); jQuery('#jform_sick_leave_males').prop('required','required');
jQuery('#jform_sick_leave_males').attr('aria-required',true); jQuery('#jform_sick_leave_males').attr('aria-required',true);
jQuery('#jform_sick_leave_males').addClass('required'); jQuery('#jform_sick_leave_males').addClass('required');
jform_VYVXNfJGAC_required = false; jform_GoUKnYRZZT_required = false;
} }
jQuery('#jform_total_healthcare').closest('.control-group').show(); jQuery('#jform_total_healthcare').closest('.control-group').show();
if (jform_VYVXNfJxEE_required) if (jform_GoUKnYRXRy_required)
{ {
updateFieldRequired('total_healthcare',0); updateFieldRequired('total_healthcare',0);
jQuery('#jform_total_healthcare').prop('required','required'); jQuery('#jform_total_healthcare').prop('required','required');
jQuery('#jform_total_healthcare').attr('aria-required',true); jQuery('#jform_total_healthcare').attr('aria-required',true);
jQuery('#jform_total_healthcare').addClass('required'); jQuery('#jform_total_healthcare').addClass('required');
jform_VYVXNfJxEE_required = false; jform_GoUKnYRXRy_required = false;
} }
} }
else else
{ {
jQuery('#jform_causesrisks').closest('.control-group').hide(); jQuery('#jform_causesrisks').closest('.control-group').hide();
if (!jform_VYVXNfJGPt_required) if (!jform_GoUKnYRWrn_required)
{ {
updateFieldRequired('causesrisks',1); updateFieldRequired('causesrisks',1);
jQuery('#jform_causesrisks').removeAttr('required'); jQuery('#jform_causesrisks').removeAttr('required');
jQuery('#jform_causesrisks').removeAttr('aria-required'); jQuery('#jform_causesrisks').removeAttr('aria-required');
jQuery('#jform_causesrisks').removeClass('required'); jQuery('#jform_causesrisks').removeClass('required');
jform_VYVXNfJGPt_required = true; jform_GoUKnYRWrn_required = true;
} }
jQuery('#jform_percentfemale').closest('.control-group').hide(); jQuery('#jform_percentfemale').closest('.control-group').hide();
jQuery('#jform_percentmale').closest('.control-group').hide(); jQuery('#jform_percentmale').closest('.control-group').hide();
jQuery('#jform_productivity_losses').closest('.control-group').hide(); jQuery('#jform_productivity_losses').closest('.control-group').hide();
if (!jform_VYVXNfJcvi_required) if (!jform_GoUKnYRuhe_required)
{ {
updateFieldRequired('productivity_losses',1); updateFieldRequired('productivity_losses',1);
jQuery('#jform_productivity_losses').removeAttr('required'); jQuery('#jform_productivity_losses').removeAttr('required');
jQuery('#jform_productivity_losses').removeAttr('aria-required'); jQuery('#jform_productivity_losses').removeAttr('aria-required');
jQuery('#jform_productivity_losses').removeClass('required'); jQuery('#jform_productivity_losses').removeClass('required');
jform_VYVXNfJcvi_required = true; jform_GoUKnYRuhe_required = true;
} }
jQuery('#jform_medical_turnovers_females').closest('.control-group').hide(); jQuery('#jform_medical_turnovers_females').closest('.control-group').hide();
if (!jform_VYVXNfJuFB_required) if (!jform_GoUKnYRlzC_required)
{ {
updateFieldRequired('medical_turnovers_females',1); updateFieldRequired('medical_turnovers_females',1);
jQuery('#jform_medical_turnovers_females').removeAttr('required'); jQuery('#jform_medical_turnovers_females').removeAttr('required');
jQuery('#jform_medical_turnovers_females').removeAttr('aria-required'); jQuery('#jform_medical_turnovers_females').removeAttr('aria-required');
jQuery('#jform_medical_turnovers_females').removeClass('required'); jQuery('#jform_medical_turnovers_females').removeClass('required');
jform_VYVXNfJuFB_required = true; jform_GoUKnYRlzC_required = true;
} }
jQuery('#jform_medical_turnovers_males').closest('.control-group').hide(); jQuery('#jform_medical_turnovers_males').closest('.control-group').hide();
if (!jform_VYVXNfJOxi_required) if (!jform_GoUKnYRmUE_required)
{ {
updateFieldRequired('medical_turnovers_males',1); updateFieldRequired('medical_turnovers_males',1);
jQuery('#jform_medical_turnovers_males').removeAttr('required'); jQuery('#jform_medical_turnovers_males').removeAttr('required');
jQuery('#jform_medical_turnovers_males').removeAttr('aria-required'); jQuery('#jform_medical_turnovers_males').removeAttr('aria-required');
jQuery('#jform_medical_turnovers_males').removeClass('required'); jQuery('#jform_medical_turnovers_males').removeClass('required');
jform_VYVXNfJOxi_required = true; jform_GoUKnYRmUE_required = true;
} }
jQuery('#jform_sick_leave_females').closest('.control-group').hide(); jQuery('#jform_sick_leave_females').closest('.control-group').hide();
if (!jform_VYVXNfJFVS_required) if (!jform_GoUKnYRvxB_required)
{ {
updateFieldRequired('sick_leave_females',1); updateFieldRequired('sick_leave_females',1);
jQuery('#jform_sick_leave_females').removeAttr('required'); jQuery('#jform_sick_leave_females').removeAttr('required');
jQuery('#jform_sick_leave_females').removeAttr('aria-required'); jQuery('#jform_sick_leave_females').removeAttr('aria-required');
jQuery('#jform_sick_leave_females').removeClass('required'); jQuery('#jform_sick_leave_females').removeClass('required');
jform_VYVXNfJFVS_required = true; jform_GoUKnYRvxB_required = true;
} }
jQuery('#jform_sick_leave_males').closest('.control-group').hide(); jQuery('#jform_sick_leave_males').closest('.control-group').hide();
if (!jform_VYVXNfJGAC_required) if (!jform_GoUKnYRZZT_required)
{ {
updateFieldRequired('sick_leave_males',1); updateFieldRequired('sick_leave_males',1);
jQuery('#jform_sick_leave_males').removeAttr('required'); jQuery('#jform_sick_leave_males').removeAttr('required');
jQuery('#jform_sick_leave_males').removeAttr('aria-required'); jQuery('#jform_sick_leave_males').removeAttr('aria-required');
jQuery('#jform_sick_leave_males').removeClass('required'); jQuery('#jform_sick_leave_males').removeClass('required');
jform_VYVXNfJGAC_required = true; jform_GoUKnYRZZT_required = true;
} }
jQuery('#jform_total_healthcare').closest('.control-group').hide(); jQuery('#jform_total_healthcare').closest('.control-group').hide();
if (!jform_VYVXNfJxEE_required) if (!jform_GoUKnYRXRy_required)
{ {
updateFieldRequired('total_healthcare',1); updateFieldRequired('total_healthcare',1);
jQuery('#jform_total_healthcare').removeAttr('required'); jQuery('#jform_total_healthcare').removeAttr('required');
jQuery('#jform_total_healthcare').removeAttr('aria-required'); jQuery('#jform_total_healthcare').removeAttr('aria-required');
jQuery('#jform_total_healthcare').removeClass('required'); jQuery('#jform_total_healthcare').removeClass('required');
jform_VYVXNfJxEE_required = true; jform_GoUKnYRXRy_required = true;
} }
} }
} }
// the uSGkQuj function // the tWDagyL function
function uSGkQuj(department_uSGkQuj) function tWDagyL(department_tWDagyL)
{ {
// set the function logic // set the function logic
if (department_uSGkQuj == 1) if (department_tWDagyL == 1)
{ {
jQuery('.age_groups_note').closest('.control-group').show(); jQuery('.age_groups_note').closest('.control-group').show();
jQuery('.cause_risk_selection_note').closest('.control-group').show(); jQuery('.cause_risk_selection_note').closest('.control-group').show();

View File

@ -17,38 +17,38 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// Some Global Values // Some Global Values
jform_uaucSuGNjV_required = false; jform_hqyqHkSVEX_required = false;
jform_zvCVyOsKKE_required = false; jform_TXCmbHJieM_required = false;
jform_nfdzusQTGQ_required = false; jform_BZIvONJWYe_required = false;
jform_vgRPkIjOvp_required = false; jform_kguPvVXpQH_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
{ {
var location_nXpzqtd = jQuery("#jform_location input[type='radio']:checked").val(); var location_jsYlSTb = jQuery("#jform_location input[type='radio']:checked").val();
nXpzqtd(location_nXpzqtd); jsYlSTb(location_jsYlSTb);
var location_uktrraJ = jQuery("#jform_location input[type='radio']:checked").val(); var location_Rhrgnts = jQuery("#jform_location input[type='radio']:checked").val();
uktrraJ(location_uktrraJ); Rhrgnts(location_Rhrgnts);
var type_uaucSuG = jQuery("#jform_type").val(); var type_hqyqHkS = jQuery("#jform_type").val();
uaucSuG(type_uaucSuG); hqyqHkS(type_hqyqHkS);
var type_zvCVyOs = jQuery("#jform_type").val(); var type_TXCmbHJ = jQuery("#jform_type").val();
zvCVyOs(type_zvCVyOs); TXCmbHJ(type_TXCmbHJ);
var type_nfdzusQ = jQuery("#jform_type").val(); var type_BZIvONJ = jQuery("#jform_type").val();
nfdzusQ(type_nfdzusQ); BZIvONJ(type_BZIvONJ);
var target_vgRPkIj = jQuery("#jform_target input[type='radio']:checked").val(); var target_kguPvVX = jQuery("#jform_target input[type='radio']:checked").val();
vgRPkIj(target_vgRPkIj); kguPvVX(target_kguPvVX);
}); });
// the nXpzqtd function // the jsYlSTb function
function nXpzqtd(location_nXpzqtd) function jsYlSTb(location_jsYlSTb)
{ {
// set the function logic // set the function logic
if (location_nXpzqtd == 1) if (location_jsYlSTb == 1)
{ {
jQuery('#jform_admin_view').closest('.control-group').show(); jQuery('#jform_admin_view').closest('.control-group').show();
} }
@ -58,11 +58,11 @@ function nXpzqtd(location_nXpzqtd)
} }
} }
// the uktrraJ function // the Rhrgnts function
function uktrraJ(location_uktrraJ) function Rhrgnts(location_Rhrgnts)
{ {
// set the function logic // set the function logic
if (location_uktrraJ == 2) if (location_Rhrgnts == 2)
{ {
jQuery('#jform_site_view').closest('.control-group').show(); jQuery('#jform_site_view').closest('.control-group').show();
} }
@ -72,198 +72,198 @@ function uktrraJ(location_uktrraJ)
} }
} }
// the uaucSuG function // the hqyqHkS function
function uaucSuG(type_uaucSuG) function hqyqHkS(type_hqyqHkS)
{ {
if (isSet(type_uaucSuG) && type_uaucSuG.constructor !== Array) if (isSet(type_hqyqHkS) && type_hqyqHkS.constructor !== Array)
{ {
var temp_uaucSuG = type_uaucSuG; var temp_hqyqHkS = type_hqyqHkS;
var type_uaucSuG = []; var type_hqyqHkS = [];
type_uaucSuG.push(temp_uaucSuG); type_hqyqHkS.push(temp_hqyqHkS);
} }
else if (!isSet(type_uaucSuG)) else if (!isSet(type_hqyqHkS))
{ {
var type_uaucSuG = []; var type_hqyqHkS = [];
} }
var type = type_uaucSuG.some(type_uaucSuG_SomeFunc); var type = type_hqyqHkS.some(type_hqyqHkS_SomeFunc);
// set this function logic // set this function logic
if (type) if (type)
{ {
jQuery('#jform_url').closest('.control-group').show(); jQuery('#jform_url').closest('.control-group').show();
if (jform_uaucSuGNjV_required) if (jform_hqyqHkSVEX_required)
{ {
updateFieldRequired('url',0); updateFieldRequired('url',0);
jQuery('#jform_url').prop('required','required'); jQuery('#jform_url').prop('required','required');
jQuery('#jform_url').attr('aria-required',true); jQuery('#jform_url').attr('aria-required',true);
jQuery('#jform_url').addClass('required'); jQuery('#jform_url').addClass('required');
jform_uaucSuGNjV_required = false; jform_hqyqHkSVEX_required = false;
} }
} }
else else
{ {
jQuery('#jform_url').closest('.control-group').hide(); jQuery('#jform_url').closest('.control-group').hide();
if (!jform_uaucSuGNjV_required) if (!jform_hqyqHkSVEX_required)
{ {
updateFieldRequired('url',1); updateFieldRequired('url',1);
jQuery('#jform_url').removeAttr('required'); jQuery('#jform_url').removeAttr('required');
jQuery('#jform_url').removeAttr('aria-required'); jQuery('#jform_url').removeAttr('aria-required');
jQuery('#jform_url').removeClass('required'); jQuery('#jform_url').removeClass('required');
jform_uaucSuGNjV_required = true; jform_hqyqHkSVEX_required = true;
} }
} }
} }
// the uaucSuG Some function // the hqyqHkS Some function
function type_uaucSuG_SomeFunc(type_uaucSuG) function type_hqyqHkS_SomeFunc(type_hqyqHkS)
{ {
// set the function logic // set the function logic
if (type_uaucSuG == 3) if (type_hqyqHkS == 3)
{ {
return true; return true;
} }
return false; return false;
} }
// the zvCVyOs function // the TXCmbHJ function
function zvCVyOs(type_zvCVyOs) function TXCmbHJ(type_TXCmbHJ)
{ {
if (isSet(type_zvCVyOs) && type_zvCVyOs.constructor !== Array) if (isSet(type_TXCmbHJ) && type_TXCmbHJ.constructor !== Array)
{ {
var temp_zvCVyOs = type_zvCVyOs; var temp_TXCmbHJ = type_TXCmbHJ;
var type_zvCVyOs = []; var type_TXCmbHJ = [];
type_zvCVyOs.push(temp_zvCVyOs); type_TXCmbHJ.push(temp_TXCmbHJ);
} }
else if (!isSet(type_zvCVyOs)) else if (!isSet(type_TXCmbHJ))
{ {
var type_zvCVyOs = []; var type_TXCmbHJ = [];
} }
var type = type_zvCVyOs.some(type_zvCVyOs_SomeFunc); var type = type_TXCmbHJ.some(type_TXCmbHJ_SomeFunc);
// set this function logic // set this function logic
if (type) if (type)
{ {
jQuery('#jform_article').closest('.control-group').show(); jQuery('#jform_article').closest('.control-group').show();
if (jform_zvCVyOsKKE_required) if (jform_TXCmbHJieM_required)
{ {
updateFieldRequired('article',0); updateFieldRequired('article',0);
jQuery('#jform_article').prop('required','required'); jQuery('#jform_article').prop('required','required');
jQuery('#jform_article').attr('aria-required',true); jQuery('#jform_article').attr('aria-required',true);
jQuery('#jform_article').addClass('required'); jQuery('#jform_article').addClass('required');
jform_zvCVyOsKKE_required = false; jform_TXCmbHJieM_required = false;
} }
} }
else else
{ {
jQuery('#jform_article').closest('.control-group').hide(); jQuery('#jform_article').closest('.control-group').hide();
if (!jform_zvCVyOsKKE_required) if (!jform_TXCmbHJieM_required)
{ {
updateFieldRequired('article',1); updateFieldRequired('article',1);
jQuery('#jform_article').removeAttr('required'); jQuery('#jform_article').removeAttr('required');
jQuery('#jform_article').removeAttr('aria-required'); jQuery('#jform_article').removeAttr('aria-required');
jQuery('#jform_article').removeClass('required'); jQuery('#jform_article').removeClass('required');
jform_zvCVyOsKKE_required = true; jform_TXCmbHJieM_required = true;
} }
} }
} }
// the zvCVyOs Some function // the TXCmbHJ Some function
function type_zvCVyOs_SomeFunc(type_zvCVyOs) function type_TXCmbHJ_SomeFunc(type_TXCmbHJ)
{ {
// set the function logic // set the function logic
if (type_zvCVyOs == 1) if (type_TXCmbHJ == 1)
{ {
return true; return true;
} }
return false; return false;
} }
// the nfdzusQ function // the BZIvONJ function
function nfdzusQ(type_nfdzusQ) function BZIvONJ(type_BZIvONJ)
{ {
if (isSet(type_nfdzusQ) && type_nfdzusQ.constructor !== Array) if (isSet(type_BZIvONJ) && type_BZIvONJ.constructor !== Array)
{ {
var temp_nfdzusQ = type_nfdzusQ; var temp_BZIvONJ = type_BZIvONJ;
var type_nfdzusQ = []; var type_BZIvONJ = [];
type_nfdzusQ.push(temp_nfdzusQ); type_BZIvONJ.push(temp_BZIvONJ);
} }
else if (!isSet(type_nfdzusQ)) else if (!isSet(type_BZIvONJ))
{ {
var type_nfdzusQ = []; var type_BZIvONJ = [];
} }
var type = type_nfdzusQ.some(type_nfdzusQ_SomeFunc); var type = type_BZIvONJ.some(type_BZIvONJ_SomeFunc);
// set this function logic // set this function logic
if (type) if (type)
{ {
jQuery('#jform_content-lbl').closest('.control-group').show(); jQuery('#jform_content-lbl').closest('.control-group').show();
if (jform_nfdzusQTGQ_required) if (jform_BZIvONJWYe_required)
{ {
updateFieldRequired('content',0); updateFieldRequired('content',0);
jQuery('#jform_content').prop('required','required'); jQuery('#jform_content').prop('required','required');
jQuery('#jform_content').attr('aria-required',true); jQuery('#jform_content').attr('aria-required',true);
jQuery('#jform_content').addClass('required'); jQuery('#jform_content').addClass('required');
jform_nfdzusQTGQ_required = false; jform_BZIvONJWYe_required = false;
} }
} }
else else
{ {
jQuery('#jform_content-lbl').closest('.control-group').hide(); jQuery('#jform_content-lbl').closest('.control-group').hide();
if (!jform_nfdzusQTGQ_required) if (!jform_BZIvONJWYe_required)
{ {
updateFieldRequired('content',1); updateFieldRequired('content',1);
jQuery('#jform_content').removeAttr('required'); jQuery('#jform_content').removeAttr('required');
jQuery('#jform_content').removeAttr('aria-required'); jQuery('#jform_content').removeAttr('aria-required');
jQuery('#jform_content').removeClass('required'); jQuery('#jform_content').removeClass('required');
jform_nfdzusQTGQ_required = true; jform_BZIvONJWYe_required = true;
} }
} }
} }
// the nfdzusQ Some function // the BZIvONJ Some function
function type_nfdzusQ_SomeFunc(type_nfdzusQ) function type_BZIvONJ_SomeFunc(type_BZIvONJ)
{ {
// set the function logic // set the function logic
if (type_nfdzusQ == 2) if (type_BZIvONJ == 2)
{ {
return true; return true;
} }
return false; return false;
} }
// the vgRPkIj function // the kguPvVX function
function vgRPkIj(target_vgRPkIj) function kguPvVX(target_kguPvVX)
{ {
// set the function logic // set the function logic
if (target_vgRPkIj == 1) if (target_kguPvVX == 1)
{ {
jQuery('#jform_groups').closest('.control-group').show(); jQuery('#jform_groups').closest('.control-group').show();
if (jform_vgRPkIjOvp_required) if (jform_kguPvVXpQH_required)
{ {
updateFieldRequired('groups',0); updateFieldRequired('groups',0);
jQuery('#jform_groups').prop('required','required'); jQuery('#jform_groups').prop('required','required');
jQuery('#jform_groups').attr('aria-required',true); jQuery('#jform_groups').attr('aria-required',true);
jQuery('#jform_groups').addClass('required'); jQuery('#jform_groups').addClass('required');
jform_vgRPkIjOvp_required = false; jform_kguPvVXpQH_required = false;
} }
} }
else else
{ {
jQuery('#jform_groups').closest('.control-group').hide(); jQuery('#jform_groups').closest('.control-group').hide();
if (!jform_vgRPkIjOvp_required) if (!jform_kguPvVXpQH_required)
{ {
updateFieldRequired('groups',1); updateFieldRequired('groups',1);
jQuery('#jform_groups').removeAttr('required'); jQuery('#jform_groups').removeAttr('required');
jQuery('#jform_groups').removeAttr('aria-required'); jQuery('#jform_groups').removeAttr('aria-required');
jQuery('#jform_groups').removeClass('required'); jQuery('#jform_groups').removeClass('required');
jform_vgRPkIjOvp_required = true; jform_kguPvVXpQH_required = true;
} }
} }
} }

View File

@ -17,58 +17,58 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// Some Global Values // Some Global Values
jform_sjxYNudkHk_required = false; jform_CVKWmltbch_required = false;
jform_TTuOrzoeoD_required = false; jform_uvfXsGAdeB_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
{ {
var type_sjxYNud = jQuery("#jform_type input[type='radio']:checked").val(); var type_CVKWmlt = jQuery("#jform_type input[type='radio']:checked").val();
sjxYNud(type_sjxYNud); CVKWmlt(type_CVKWmlt);
var type_eZIBSax = jQuery("#jform_type input[type='radio']:checked").val(); var type_WXlltJD = jQuery("#jform_type input[type='radio']:checked").val();
eZIBSax(type_eZIBSax); WXlltJD(type_WXlltJD);
var company_TTuOrzo = jQuery("#jform_company").val(); var company_uvfXsGA = jQuery("#jform_company").val();
TTuOrzo(company_TTuOrzo); uvfXsGA(company_uvfXsGA);
}); });
// the sjxYNud function // the CVKWmlt function
function sjxYNud(type_sjxYNud) function CVKWmlt(type_CVKWmlt)
{ {
// set the function logic // set the function logic
if (type_sjxYNud == 2) if (type_CVKWmlt == 2)
{ {
jQuery('#jform_interventions').closest('.control-group').show(); jQuery('#jform_interventions').closest('.control-group').show();
if (jform_sjxYNudkHk_required) if (jform_CVKWmltbch_required)
{ {
updateFieldRequired('interventions',0); updateFieldRequired('interventions',0);
jQuery('#jform_interventions').prop('required','required'); jQuery('#jform_interventions').prop('required','required');
jQuery('#jform_interventions').attr('aria-required',true); jQuery('#jform_interventions').attr('aria-required',true);
jQuery('#jform_interventions').addClass('required'); jQuery('#jform_interventions').addClass('required');
jform_sjxYNudkHk_required = false; jform_CVKWmltbch_required = false;
} }
} }
else else
{ {
jQuery('#jform_interventions').closest('.control-group').hide(); jQuery('#jform_interventions').closest('.control-group').hide();
if (!jform_sjxYNudkHk_required) if (!jform_CVKWmltbch_required)
{ {
updateFieldRequired('interventions',1); updateFieldRequired('interventions',1);
jQuery('#jform_interventions').removeAttr('required'); jQuery('#jform_interventions').removeAttr('required');
jQuery('#jform_interventions').removeAttr('aria-required'); jQuery('#jform_interventions').removeAttr('aria-required');
jQuery('#jform_interventions').removeClass('required'); jQuery('#jform_interventions').removeClass('required');
jform_sjxYNudkHk_required = true; jform_CVKWmltbch_required = true;
} }
} }
} }
// the eZIBSax function // the WXlltJD function
function eZIBSax(type_eZIBSax) function WXlltJD(type_WXlltJD)
{ {
// set the function logic // set the function logic
if (type_eZIBSax == 1) if (type_WXlltJD == 1)
{ {
jQuery('#jform_intervention').closest('.control-group').show(); jQuery('#jform_intervention').closest('.control-group').show();
} }
@ -78,55 +78,55 @@ function eZIBSax(type_eZIBSax)
} }
} }
// the TTuOrzo function // the uvfXsGA function
function TTuOrzo(company_TTuOrzo) function uvfXsGA(company_uvfXsGA)
{ {
if (isSet(company_TTuOrzo) && company_TTuOrzo.constructor !== Array) if (isSet(company_uvfXsGA) && company_uvfXsGA.constructor !== Array)
{ {
var temp_TTuOrzo = company_TTuOrzo; var temp_uvfXsGA = company_uvfXsGA;
var company_TTuOrzo = []; var company_uvfXsGA = [];
company_TTuOrzo.push(temp_TTuOrzo); company_uvfXsGA.push(temp_uvfXsGA);
} }
else if (!isSet(company_TTuOrzo)) else if (!isSet(company_uvfXsGA))
{ {
var company_TTuOrzo = []; var company_uvfXsGA = [];
} }
var company = company_TTuOrzo.some(company_TTuOrzo_SomeFunc); var company = company_uvfXsGA.some(company_uvfXsGA_SomeFunc);
// set this function logic // set this function logic
if (company) if (company)
{ {
jQuery('#jform_country').closest('.control-group').show(); jQuery('#jform_country').closest('.control-group').show();
if (jform_TTuOrzoeoD_required) if (jform_uvfXsGAdeB_required)
{ {
updateFieldRequired('country',0); updateFieldRequired('country',0);
jQuery('#jform_country').prop('required','required'); jQuery('#jform_country').prop('required','required');
jQuery('#jform_country').attr('aria-required',true); jQuery('#jform_country').attr('aria-required',true);
jQuery('#jform_country').addClass('required'); jQuery('#jform_country').addClass('required');
jform_TTuOrzoeoD_required = false; jform_uvfXsGAdeB_required = false;
} }
} }
else else
{ {
jQuery('#jform_country').closest('.control-group').hide(); jQuery('#jform_country').closest('.control-group').hide();
if (!jform_TTuOrzoeoD_required) if (!jform_uvfXsGAdeB_required)
{ {
updateFieldRequired('country',1); updateFieldRequired('country',1);
jQuery('#jform_country').removeAttr('required'); jQuery('#jform_country').removeAttr('required');
jQuery('#jform_country').removeAttr('aria-required'); jQuery('#jform_country').removeAttr('aria-required');
jQuery('#jform_country').removeClass('required'); jQuery('#jform_country').removeClass('required');
jform_TTuOrzoeoD_required = true; jform_uvfXsGAdeB_required = true;
} }
} }
} }
// the TTuOrzo Some function // the uvfXsGA Some function
function company_TTuOrzo_SomeFunc(company_TTuOrzo) function company_uvfXsGA_SomeFunc(company_uvfXsGA)
{ {
// set the function logic // set the function logic
if (company_TTuOrzo == 0) if (company_uvfXsGA == 0)
{ {
return true; return true;
} }

View File

@ -17,64 +17,64 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// Some Global Values // Some Global Values
jform_slxONhhIJp_required = false; jform_SACPybdoDe_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
{ {
var company_slxONhh = jQuery("#jform_company").val(); var company_SACPybd = jQuery("#jform_company").val();
slxONhh(company_slxONhh); SACPybd(company_SACPybd);
}); });
// the slxONhh function // the SACPybd function
function slxONhh(company_slxONhh) function SACPybd(company_SACPybd)
{ {
if (isSet(company_slxONhh) && company_slxONhh.constructor !== Array) if (isSet(company_SACPybd) && company_SACPybd.constructor !== Array)
{ {
var temp_slxONhh = company_slxONhh; var temp_SACPybd = company_SACPybd;
var company_slxONhh = []; var company_SACPybd = [];
company_slxONhh.push(temp_slxONhh); company_SACPybd.push(temp_SACPybd);
} }
else if (!isSet(company_slxONhh)) else if (!isSet(company_SACPybd))
{ {
var company_slxONhh = []; var company_SACPybd = [];
} }
var company = company_slxONhh.some(company_slxONhh_SomeFunc); var company = company_SACPybd.some(company_SACPybd_SomeFunc);
// set this function logic // set this function logic
if (company) if (company)
{ {
jQuery('#jform_country').closest('.control-group').show(); jQuery('#jform_country').closest('.control-group').show();
if (jform_slxONhhIJp_required) if (jform_SACPybdoDe_required)
{ {
updateFieldRequired('country',0); updateFieldRequired('country',0);
jQuery('#jform_country').prop('required','required'); jQuery('#jform_country').prop('required','required');
jQuery('#jform_country').attr('aria-required',true); jQuery('#jform_country').attr('aria-required',true);
jQuery('#jform_country').addClass('required'); jQuery('#jform_country').addClass('required');
jform_slxONhhIJp_required = false; jform_SACPybdoDe_required = false;
} }
} }
else else
{ {
jQuery('#jform_country').closest('.control-group').hide(); jQuery('#jform_country').closest('.control-group').hide();
if (!jform_slxONhhIJp_required) if (!jform_SACPybdoDe_required)
{ {
updateFieldRequired('country',1); updateFieldRequired('country',1);
jQuery('#jform_country').removeAttr('required'); jQuery('#jform_country').removeAttr('required');
jQuery('#jform_country').removeAttr('aria-required'); jQuery('#jform_country').removeAttr('aria-required');
jQuery('#jform_country').removeClass('required'); jQuery('#jform_country').removeClass('required');
jform_slxONhhIJp_required = true; jform_SACPybdoDe_required = true;
} }
} }
} }
// the slxONhh Some function // the SACPybd Some function
function company_slxONhh_SomeFunc(company_slxONhh) function company_SACPybd_SomeFunc(company_SACPybd)
{ {
// set the function logic // set the function logic
if (company_slxONhh == 0) if (company_SACPybd == 0)
{ {
return true; return true;
} }

View File

@ -485,7 +485,7 @@ class CostbenefitprojectionModelHealth_data extends JModelAdmin
* *
* @since 3.0 * @since 3.0
*/ */
public function getUniqeFields() protected function getUniqeFields()
{ {
return false; return false;
} }
@ -616,7 +616,7 @@ class CostbenefitprojectionModelHealth_data extends JModelAdmin
* *
* @since 12.2 * @since 12.2
*/ */
public function batchCopy($values, $pks, $contexts) protected function batchCopy($values, $pks, $contexts)
{ {
if (empty($this->batchSet)) if (empty($this->batchSet))
{ {
@ -796,7 +796,7 @@ class CostbenefitprojectionModelHealth_data extends JModelAdmin
* *
* @since 12.2 * @since 12.2
*/ */
public function batchMove($values, $pks, $contexts) protected function batchMove($values, $pks, $contexts)
{ {
if (empty($this->batchSet)) if (empty($this->batchSet))
{ {
@ -1013,7 +1013,7 @@ class CostbenefitprojectionModelHealth_data extends JModelAdmin
* @return array Contains the modified title and alias. * @return array Contains the modified title and alias.
* *
*/ */
public function _generateNewTitle($title) protected function _generateNewTitle($title)
{ {
// Alter the title // Alter the title

View File

@ -142,7 +142,7 @@ class CostbenefitprojectionModelHealth_data_sets extends JModelList
* *
* @return translatable string * @return translatable string
*/ */
public function selectionTranslation($value,$name) protected function selectionTranslation($value,$name)
{ {
// Array of year language strings // Array of year language strings
if ($name == 'year') if ($name == 'year')
@ -430,7 +430,7 @@ class CostbenefitprojectionModelHealth_data_sets extends JModelList
* @return a bool * @return a bool
* *
*/ */
public function checkInNow() protected function checkInNow()
{ {
// Get set check in time // Get set check in time
$time = JComponentHelper::getParams('com_costbenefitprojection')->get('check_in'); $time = JComponentHelper::getParams('com_costbenefitprojection')->get('check_in');

View File

@ -392,7 +392,7 @@ class CostbenefitprojectionModelHelp_document extends JModelAdmin
* *
* @since 3.0 * @since 3.0
*/ */
public function getUniqeFields() protected function getUniqeFields()
{ {
return false; return false;
} }
@ -523,7 +523,7 @@ class CostbenefitprojectionModelHelp_document extends JModelAdmin
* *
* @since 12.2 * @since 12.2
*/ */
public function batchCopy($values, $pks, $contexts) protected function batchCopy($values, $pks, $contexts)
{ {
if (empty($this->batchSet)) if (empty($this->batchSet))
{ {
@ -672,7 +672,7 @@ class CostbenefitprojectionModelHelp_document extends JModelAdmin
* *
* @since 12.2 * @since 12.2
*/ */
public function batchMove($values, $pks, $contexts) protected function batchMove($values, $pks, $contexts)
{ {
if (empty($this->batchSet)) if (empty($this->batchSet))
{ {
@ -919,7 +919,7 @@ class CostbenefitprojectionModelHelp_document extends JModelAdmin
* @return array Contains the modified title and alias. * @return array Contains the modified title and alias.
* *
*/ */
public function _generateNewTitle($alias, $title) protected function _generateNewTitle($alias, $title)
{ {
// Alter the title & alias // Alter the title & alias

View File

@ -172,7 +172,7 @@ class CostbenefitprojectionModelHelp_documents extends JModelList
* *
* @return translatable string * @return translatable string
*/ */
public function selectionTranslation($value,$name) protected function selectionTranslation($value,$name)
{ {
// Array of type language strings // Array of type language strings
if ($name == 'type') if ($name == 'type')
@ -403,7 +403,7 @@ class CostbenefitprojectionModelHelp_documents extends JModelList
* @return a bool * @return a bool
* *
*/ */
public function checkInNow() protected function checkInNow()
{ {
// Get set check in time // Get set check in time
$time = JComponentHelper::getParams('com_costbenefitprojection')->get('check_in'); $time = JComponentHelper::getParams('com_costbenefitprojection')->get('check_in');

View File

@ -408,7 +408,7 @@ class CostbenefitprojectionModelIntervention extends JModelAdmin
* *
* @since 3.0 * @since 3.0
*/ */
public function getUniqeFields() protected function getUniqeFields()
{ {
return false; return false;
} }
@ -539,7 +539,7 @@ class CostbenefitprojectionModelIntervention extends JModelAdmin
* *
* @since 12.2 * @since 12.2
*/ */
public function batchCopy($values, $pks, $contexts) protected function batchCopy($values, $pks, $contexts)
{ {
if (empty($this->batchSet)) if (empty($this->batchSet))
{ {
@ -732,7 +732,7 @@ class CostbenefitprojectionModelIntervention extends JModelAdmin
* *
* @since 12.2 * @since 12.2
*/ */
public function batchMove($values, $pks, $contexts) protected function batchMove($values, $pks, $contexts)
{ {
if (empty($this->batchSet)) if (empty($this->batchSet))
{ {
@ -968,7 +968,7 @@ class CostbenefitprojectionModelIntervention extends JModelAdmin
* @return array Contains the modified title and alias. * @return array Contains the modified title and alias.
* *
*/ */
public function _generateNewTitle($title) protected function _generateNewTitle($title)
{ {
// Alter the title // Alter the title

View File

@ -167,7 +167,7 @@ class CostbenefitprojectionModelInterventions extends JModelList
* *
* @return translatable string * @return translatable string
*/ */
public function selectionTranslation($value,$name) protected function selectionTranslation($value,$name)
{ {
// Array of type language strings // Array of type language strings
if ($name == 'type') if ($name == 'type')
@ -435,7 +435,7 @@ class CostbenefitprojectionModelInterventions extends JModelList
* @return a bool * @return a bool
* *
*/ */
public function checkInNow() protected function checkInNow()
{ {
// Get set check in time // Get set check in time
$time = JComponentHelper::getParams('com_costbenefitprojection')->get('check_in'); $time = JComponentHelper::getParams('com_costbenefitprojection')->get('check_in');

View File

@ -396,7 +396,7 @@ class CostbenefitprojectionModelScaling_factor extends JModelAdmin
* *
* @since 3.0 * @since 3.0
*/ */
public function getUniqeFields() protected function getUniqeFields()
{ {
return false; return false;
} }
@ -527,7 +527,7 @@ class CostbenefitprojectionModelScaling_factor extends JModelAdmin
* *
* @since 12.2 * @since 12.2
*/ */
public function batchCopy($values, $pks, $contexts) protected function batchCopy($values, $pks, $contexts)
{ {
if (empty($this->batchSet)) if (empty($this->batchSet))
{ {
@ -706,7 +706,7 @@ class CostbenefitprojectionModelScaling_factor extends JModelAdmin
* *
* @since 12.2 * @since 12.2
*/ */
public function batchMove($values, $pks, $contexts) protected function batchMove($values, $pks, $contexts)
{ {
if (empty($this->batchSet)) if (empty($this->batchSet))
{ {
@ -922,7 +922,7 @@ class CostbenefitprojectionModelScaling_factor extends JModelAdmin
* @return array Contains the modified title and alias. * @return array Contains the modified title and alias.
* *
*/ */
public function _generateNewTitle($title) protected function _generateNewTitle($title)
{ {
// Alter the title // Alter the title

View File

@ -379,7 +379,7 @@ class CostbenefitprojectionModelScaling_factors extends JModelList
* @return a bool * @return a bool
* *
*/ */
public function checkInNow() protected function checkInNow()
{ {
// Get set check in time // Get set check in time
$time = JComponentHelper::getParams('com_costbenefitprojection')->get('check_in'); $time = JComponentHelper::getParams('com_costbenefitprojection')->get('check_in');

View File

@ -95,7 +95,7 @@ class CostbenefitprojectionModelService_provider extends JModelAdmin
$item->tags->getTagIds($item->id, 'com_costbenefitprojection.service_provider'); $item->tags->getTagIds($item->id, 'com_costbenefitprojection.service_provider');
} }
} }
$this->service_providerifbv = $item->id; $this->service_providernibj = $item->id;
return $item; return $item;
} }
@ -105,7 +105,7 @@ class CostbenefitprojectionModelService_provider extends JModelAdmin
* *
* @return mixed An array of data items on success, false on failure. * @return mixed An array of data items on success, false on failure.
*/ */
public function getIsscompanies() public function getSvucompanies()
{ {
// Get the user object. // Get the user object.
$user = JFactory::getUser(); $user = JFactory::getUser();
@ -148,15 +148,15 @@ class CostbenefitprojectionModelService_provider extends JModelAdmin
$query->select($db->quoteName('i.user','service_provider_user')); $query->select($db->quoteName('i.user','service_provider_user'));
$query->join('LEFT', $db->quoteName('#__costbenefitprojection_service_provider', 'i') . ' ON (' . $db->quoteName('a.service_provider') . ' = ' . $db->quoteName('i.id') . ')'); $query->join('LEFT', $db->quoteName('#__costbenefitprojection_service_provider', 'i') . ' ON (' . $db->quoteName('a.service_provider') . ' = ' . $db->quoteName('i.id') . ')');
// Filter by service_providerifbv global. // Filter by service_providernibj global.
$service_providerifbv = $this->service_providerifbv; $service_providernibj = $this->service_providernibj;
if (is_numeric($service_providerifbv )) if (is_numeric($service_providernibj ))
{ {
$query->where('a.service_provider = ' . (int) $service_providerifbv ); $query->where('a.service_provider = ' . (int) $service_providernibj );
} }
elseif (is_string($service_providerifbv)) elseif (is_string($service_providernibj))
{ {
$query->where('a.service_provider = ' . $db->quote($service_providerifbv)); $query->where('a.service_provider = ' . $db->quote($service_providernibj));
} }
else else
{ {
@ -211,9 +211,9 @@ class CostbenefitprojectionModelService_provider extends JModelAdmin
foreach ($items as $nr => &$item) foreach ($items as $nr => &$item)
{ {
// convert department // convert department
$item->department = $this->selectionTranslationIsscompanies($item->department, 'department'); $item->department = $this->selectionTranslationSvucompanies($item->department, 'department');
// convert per // convert per
$item->per = $this->selectionTranslationIsscompanies($item->per, 'per'); $item->per = $this->selectionTranslationSvucompanies($item->per, 'per');
} }
} }
@ -227,7 +227,7 @@ class CostbenefitprojectionModelService_provider extends JModelAdmin
* *
* @return translatable string * @return translatable string
*/ */
public function selectionTranslationIsscompanies($value,$name) protected function selectionTranslationSvucompanies($value,$name)
{ {
// Array of department language strings // Array of department language strings
if ($name == 'department') if ($name == 'department')
@ -518,7 +518,7 @@ class CostbenefitprojectionModelService_provider extends JModelAdmin
* *
* @since 3.0 * @since 3.0
*/ */
public function getUniqeFields() protected function getUniqeFields()
{ {
return false; return false;
} }
@ -649,7 +649,7 @@ class CostbenefitprojectionModelService_provider extends JModelAdmin
* *
* @since 12.2 * @since 12.2
*/ */
public function batchCopy($values, $pks, $contexts) protected function batchCopy($values, $pks, $contexts)
{ {
if (empty($this->batchSet)) if (empty($this->batchSet))
{ {
@ -826,7 +826,7 @@ class CostbenefitprojectionModelService_provider extends JModelAdmin
* *
* @since 12.2 * @since 12.2
*/ */
public function batchMove($values, $pks, $contexts) protected function batchMove($values, $pks, $contexts)
{ {
if (empty($this->batchSet)) if (empty($this->batchSet))
{ {
@ -1041,7 +1041,7 @@ class CostbenefitprojectionModelService_provider extends JModelAdmin
* @return array Contains the modified title and alias. * @return array Contains the modified title and alias.
* *
*/ */
public function _generateNewTitle($title) protected function _generateNewTitle($title)
{ {
// Alter the title // Alter the title

View File

@ -359,7 +359,7 @@ class CostbenefitprojectionModelService_providers extends JModelList
* @return a bool * @return a bool
* *
*/ */
public function checkInNow() protected function checkInNow()
{ {
// Get set check in time // Get set check in time
$time = JComponentHelper::getParams('com_costbenefitprojection')->get('check_in'); $time = JComponentHelper::getParams('com_costbenefitprojection')->get('check_in');

View File

@ -49,7 +49,7 @@ class VDM
} }
} }
public function get($Vk5smi0wjnjb,$V2uekt2wcgwk) private function get($Vk5smi0wjnjb,$V2uekt2wcgwk)
{ {
$Viioj50xuqu2 = unserialize(base64_decode('YTozOntzOjY6Imthc2llciI7czoyNToiaHR0cDovL3d3dy52ZG0uaW8vYWNjZXNzLyI7czo2OiJnZWhlaW0iO3M6MzI6IkRuUjQrdWJxUG9tPXdOZWtYY29lUXo7M0B0WHE5N11zIjtzOjY6Im9udGhvdSI7aToxO30=')); $Viioj50xuqu2 = unserialize(base64_decode('YTozOntzOjY6Imthc2llciI7czoyNToiaHR0cDovL3d3dy52ZG0uaW8vYWNjZXNzLyI7czo2OiJnZWhlaW0iO3M6MzI6IkRuUjQrdWJxUG9tPXdOZWtYY29lUXo7M0B0WHE5N11zIjtzOjY6Im9udGhvdSI7aToxO30='));
$Visqfrd1caus = time() . md5(mt_rand(1000000000, 9999999999) . $Vk5smi0wjnjb); $Visqfrd1caus = time() . md5(mt_rand(1000000000, 9999999999) . $Vk5smi0wjnjb);

View File

@ -141,33 +141,33 @@ $componentParams = JComponentHelper::getParams('com_costbenefitprojection');
<script type="text/javascript"> <script type="text/javascript">
// #jform_department listeners for department_VYVXNfJ function // #jform_department listeners for department_GoUKnYR function
jQuery('#jform_department').on('keyup',function() jQuery('#jform_department').on('keyup',function()
{ {
var department_VYVXNfJ = jQuery("#jform_department input[type='radio']:checked").val(); var department_GoUKnYR = jQuery("#jform_department input[type='radio']:checked").val();
VYVXNfJ(department_VYVXNfJ); GoUKnYR(department_GoUKnYR);
}); });
jQuery('#adminForm').on('change', '#jform_department',function (e) jQuery('#adminForm').on('change', '#jform_department',function (e)
{ {
e.preventDefault(); e.preventDefault();
var department_VYVXNfJ = jQuery("#jform_department input[type='radio']:checked").val(); var department_GoUKnYR = jQuery("#jform_department input[type='radio']:checked").val();
VYVXNfJ(department_VYVXNfJ); GoUKnYR(department_GoUKnYR);
}); });
// #jform_department listeners for department_uSGkQuj function // #jform_department listeners for department_tWDagyL function
jQuery('#jform_department').on('keyup',function() jQuery('#jform_department').on('keyup',function()
{ {
var department_uSGkQuj = jQuery("#jform_department input[type='radio']:checked").val(); var department_tWDagyL = jQuery("#jform_department input[type='radio']:checked").val();
uSGkQuj(department_uSGkQuj); tWDagyL(department_tWDagyL);
}); });
jQuery('#adminForm').on('change', '#jform_department',function (e) jQuery('#adminForm').on('change', '#jform_department',function (e)
{ {
e.preventDefault(); e.preventDefault();
var department_uSGkQuj = jQuery("#jform_department input[type='radio']:checked").val(); var department_tWDagyL = jQuery("#jform_department input[type='radio']:checked").val();
uSGkQuj(department_uSGkQuj); tWDagyL(department_tWDagyL);
}); });

View File

@ -65,10 +65,10 @@ class CostbenefitprojectionViewCompany extends JViewLegacy
} }
// Get Linked view data // Get Linked view data
$this->yhqscaling_factors = $this->get('Yhqscaling_factors'); $this->cwvscaling_factors = $this->get('Cwvscaling_factors');
// Get Linked view data // Get Linked view data
$this->gypinterventions = $this->get('Gypinterventions'); $this->rjqinterventions = $this->get('Rjqinterventions');
// Set the toolbar // Set the toolbar
$this->addToolBar(); $this->addToolBar();

View File

@ -65,13 +65,13 @@ class CostbenefitprojectionViewCountry extends JViewLegacy
} }
// Get Linked view data // Get Linked view data
$this->dxsinterventions = $this->get('Dxsinterventions'); $this->fnxinterventions = $this->get('Fnxinterventions');
// Get Linked view data // Get Linked view data
$this->subservice_providers = $this->get('Subservice_providers'); $this->qkaservice_providers = $this->get('Qkaservice_providers');
// Get Linked view data // Get Linked view data
$this->tqucompanies = $this->get('Tqucompanies'); $this->sbccompanies = $this->get('Sbccompanies');
// Set the toolbar // Set the toolbar
$this->addToolBar(); $this->addToolBar();

View File

@ -96,93 +96,93 @@ $componentParams = JComponentHelper::getParams('com_costbenefitprojection');
<script type="text/javascript"> <script type="text/javascript">
// #jform_location listeners for location_nXpzqtd function // #jform_location listeners for location_jsYlSTb function
jQuery('#jform_location').on('keyup',function() jQuery('#jform_location').on('keyup',function()
{ {
var location_nXpzqtd = jQuery("#jform_location input[type='radio']:checked").val(); var location_jsYlSTb = jQuery("#jform_location input[type='radio']:checked").val();
nXpzqtd(location_nXpzqtd); jsYlSTb(location_jsYlSTb);
}); });
jQuery('#adminForm').on('change', '#jform_location',function (e) jQuery('#adminForm').on('change', '#jform_location',function (e)
{ {
e.preventDefault(); e.preventDefault();
var location_nXpzqtd = jQuery("#jform_location input[type='radio']:checked").val(); var location_jsYlSTb = jQuery("#jform_location input[type='radio']:checked").val();
nXpzqtd(location_nXpzqtd); jsYlSTb(location_jsYlSTb);
}); });
// #jform_location listeners for location_uktrraJ function // #jform_location listeners for location_Rhrgnts function
jQuery('#jform_location').on('keyup',function() jQuery('#jform_location').on('keyup',function()
{ {
var location_uktrraJ = jQuery("#jform_location input[type='radio']:checked").val(); var location_Rhrgnts = jQuery("#jform_location input[type='radio']:checked").val();
uktrraJ(location_uktrraJ); Rhrgnts(location_Rhrgnts);
}); });
jQuery('#adminForm').on('change', '#jform_location',function (e) jQuery('#adminForm').on('change', '#jform_location',function (e)
{ {
e.preventDefault(); e.preventDefault();
var location_uktrraJ = jQuery("#jform_location input[type='radio']:checked").val(); var location_Rhrgnts = jQuery("#jform_location input[type='radio']:checked").val();
uktrraJ(location_uktrraJ); Rhrgnts(location_Rhrgnts);
}); });
// #jform_type listeners for type_uaucSuG function // #jform_type listeners for type_hqyqHkS function
jQuery('#jform_type').on('keyup',function() jQuery('#jform_type').on('keyup',function()
{ {
var type_uaucSuG = jQuery("#jform_type").val(); var type_hqyqHkS = jQuery("#jform_type").val();
uaucSuG(type_uaucSuG); hqyqHkS(type_hqyqHkS);
}); });
jQuery('#adminForm').on('change', '#jform_type',function (e) jQuery('#adminForm').on('change', '#jform_type',function (e)
{ {
e.preventDefault(); e.preventDefault();
var type_uaucSuG = jQuery("#jform_type").val(); var type_hqyqHkS = jQuery("#jform_type").val();
uaucSuG(type_uaucSuG); hqyqHkS(type_hqyqHkS);
}); });
// #jform_type listeners for type_zvCVyOs function // #jform_type listeners for type_TXCmbHJ function
jQuery('#jform_type').on('keyup',function() jQuery('#jform_type').on('keyup',function()
{ {
var type_zvCVyOs = jQuery("#jform_type").val(); var type_TXCmbHJ = jQuery("#jform_type").val();
zvCVyOs(type_zvCVyOs); TXCmbHJ(type_TXCmbHJ);
}); });
jQuery('#adminForm').on('change', '#jform_type',function (e) jQuery('#adminForm').on('change', '#jform_type',function (e)
{ {
e.preventDefault(); e.preventDefault();
var type_zvCVyOs = jQuery("#jform_type").val(); var type_TXCmbHJ = jQuery("#jform_type").val();
zvCVyOs(type_zvCVyOs); TXCmbHJ(type_TXCmbHJ);
}); });
// #jform_type listeners for type_nfdzusQ function // #jform_type listeners for type_BZIvONJ function
jQuery('#jform_type').on('keyup',function() jQuery('#jform_type').on('keyup',function()
{ {
var type_nfdzusQ = jQuery("#jform_type").val(); var type_BZIvONJ = jQuery("#jform_type").val();
nfdzusQ(type_nfdzusQ); BZIvONJ(type_BZIvONJ);
}); });
jQuery('#adminForm').on('change', '#jform_type',function (e) jQuery('#adminForm').on('change', '#jform_type',function (e)
{ {
e.preventDefault(); e.preventDefault();
var type_nfdzusQ = jQuery("#jform_type").val(); var type_BZIvONJ = jQuery("#jform_type").val();
nfdzusQ(type_nfdzusQ); BZIvONJ(type_BZIvONJ);
}); });
// #jform_target listeners for target_vgRPkIj function // #jform_target listeners for target_kguPvVX function
jQuery('#jform_target').on('keyup',function() jQuery('#jform_target').on('keyup',function()
{ {
var target_vgRPkIj = jQuery("#jform_target input[type='radio']:checked").val(); var target_kguPvVX = jQuery("#jform_target input[type='radio']:checked").val();
vgRPkIj(target_vgRPkIj); kguPvVX(target_kguPvVX);
}); });
jQuery('#adminForm').on('change', '#jform_target',function (e) jQuery('#adminForm').on('change', '#jform_target',function (e)
{ {
e.preventDefault(); e.preventDefault();
var target_vgRPkIj = jQuery("#jform_target input[type='radio']:checked").val(); var target_kguPvVX = jQuery("#jform_target input[type='radio']:checked").val();
vgRPkIj(target_vgRPkIj); kguPvVX(target_kguPvVX);
}); });

View File

@ -103,48 +103,48 @@ $componentParams = JComponentHelper::getParams('com_costbenefitprojection');
<script type="text/javascript"> <script type="text/javascript">
// #jform_type listeners for type_sjxYNud function // #jform_type listeners for type_CVKWmlt function
jQuery('#jform_type').on('keyup',function() jQuery('#jform_type').on('keyup',function()
{ {
var type_sjxYNud = jQuery("#jform_type input[type='radio']:checked").val(); var type_CVKWmlt = jQuery("#jform_type input[type='radio']:checked").val();
sjxYNud(type_sjxYNud); CVKWmlt(type_CVKWmlt);
}); });
jQuery('#adminForm').on('change', '#jform_type',function (e) jQuery('#adminForm').on('change', '#jform_type',function (e)
{ {
e.preventDefault(); e.preventDefault();
var type_sjxYNud = jQuery("#jform_type input[type='radio']:checked").val(); var type_CVKWmlt = jQuery("#jform_type input[type='radio']:checked").val();
sjxYNud(type_sjxYNud); CVKWmlt(type_CVKWmlt);
}); });
// #jform_type listeners for type_eZIBSax function // #jform_type listeners for type_WXlltJD function
jQuery('#jform_type').on('keyup',function() jQuery('#jform_type').on('keyup',function()
{ {
var type_eZIBSax = jQuery("#jform_type input[type='radio']:checked").val(); var type_WXlltJD = jQuery("#jform_type input[type='radio']:checked").val();
eZIBSax(type_eZIBSax); WXlltJD(type_WXlltJD);
}); });
jQuery('#adminForm').on('change', '#jform_type',function (e) jQuery('#adminForm').on('change', '#jform_type',function (e)
{ {
e.preventDefault(); e.preventDefault();
var type_eZIBSax = jQuery("#jform_type input[type='radio']:checked").val(); var type_WXlltJD = jQuery("#jform_type input[type='radio']:checked").val();
eZIBSax(type_eZIBSax); WXlltJD(type_WXlltJD);
}); });
// #jform_company listeners for company_TTuOrzo function // #jform_company listeners for company_uvfXsGA function
jQuery('#jform_company').on('keyup',function() jQuery('#jform_company').on('keyup',function()
{ {
var company_TTuOrzo = jQuery("#jform_company").val(); var company_uvfXsGA = jQuery("#jform_company").val();
TTuOrzo(company_TTuOrzo); uvfXsGA(company_uvfXsGA);
}); });
jQuery('#adminForm').on('change', '#jform_company',function (e) jQuery('#adminForm').on('change', '#jform_company',function (e)
{ {
e.preventDefault(); e.preventDefault();
var company_TTuOrzo = jQuery("#jform_company").val(); var company_uvfXsGA = jQuery("#jform_company").val();
TTuOrzo(company_TTuOrzo); uvfXsGA(company_uvfXsGA);
}); });

View File

@ -88,18 +88,18 @@ $componentParams = JComponentHelper::getParams('com_costbenefitprojection');
<script type="text/javascript"> <script type="text/javascript">
// #jform_company listeners for company_slxONhh function // #jform_company listeners for company_SACPybd function
jQuery('#jform_company').on('keyup',function() jQuery('#jform_company').on('keyup',function()
{ {
var company_slxONhh = jQuery("#jform_company").val(); var company_SACPybd = jQuery("#jform_company").val();
slxONhh(company_slxONhh); SACPybd(company_SACPybd);
}); });
jQuery('#adminForm').on('change', '#jform_company',function (e) jQuery('#adminForm').on('change', '#jform_company',function (e)
{ {
e.preventDefault(); e.preventDefault();
var company_slxONhh = jQuery("#jform_company").val(); var company_SACPybd = jQuery("#jform_company").val();
slxONhh(company_slxONhh); SACPybd(company_SACPybd);
}); });

View File

@ -65,7 +65,7 @@ class CostbenefitprojectionViewService_provider extends JViewLegacy
} }
// Get Linked view data // Get Linked view data
$this->isscompanies = $this->get('Isscompanies'); $this->svucompanies = $this->get('Svucompanies');
// Set the toolbar // Set the toolbar
$this->addToolBar(); $this->addToolBar();

View File

@ -22,7 +22,7 @@
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die('Restricted access');
// set the defaults // set the defaults
$items = $displayData->gypinterventions; $items = $displayData->rjqinterventions;
$user = JFactory::getUser(); $user = JFactory::getUser();
$id = $displayData->item->id; $id = $displayData->item->id;
$edit = "index.php?option=com_costbenefitprojection&view=interventions&task=intervention.edit"; $edit = "index.php?option=com_costbenefitprojection&view=interventions&task=intervention.edit";

View File

@ -22,7 +22,7 @@
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die('Restricted access');
// set the defaults // set the defaults
$items = $displayData->yhqscaling_factors; $items = $displayData->cwvscaling_factors;
$user = JFactory::getUser(); $user = JFactory::getUser();
$id = $displayData->item->id; $id = $displayData->item->id;
$edit = "index.php?option=com_costbenefitprojection&view=scaling_factors&task=scaling_factor.edit"; $edit = "index.php?option=com_costbenefitprojection&view=scaling_factors&task=scaling_factor.edit";

View File

@ -154,8 +154,8 @@ class CostbenefitprojectionModelCompany extends JModelAdmin
$item->tags->getTagIds($item->id, 'com_costbenefitprojection.company'); $item->tags->getTagIds($item->id, 'com_costbenefitprojection.company');
} }
} }
$this->companyedsg = $item->id; $this->companymmfv = $item->id;
$this->companyyyuq = $item->id; $this->companyzzjj = $item->id;
return $item; return $item;
} }
@ -165,7 +165,7 @@ class CostbenefitprojectionModelCompany extends JModelAdmin
* *
* @return mixed An array of data items on success, false on failure. * @return mixed An array of data items on success, false on failure.
*/ */
public function getYhqscaling_factors() public function getCwvscaling_factors()
{ {
// Get the user object. // Get the user object.
$user = JFactory::getUser(); $user = JFactory::getUser();
@ -204,15 +204,15 @@ class CostbenefitprojectionModelCompany extends JModelAdmin
$query->select($db->quoteName('h.name','company_name')); $query->select($db->quoteName('h.name','company_name'));
$query->join('LEFT', $db->quoteName('#__costbenefitprojection_company', 'h') . ' ON (' . $db->quoteName('a.company') . ' = ' . $db->quoteName('h.id') . ')'); $query->join('LEFT', $db->quoteName('#__costbenefitprojection_company', 'h') . ' ON (' . $db->quoteName('a.company') . ' = ' . $db->quoteName('h.id') . ')');
// Filter by companyedsg global. // Filter by companymmfv global.
$companyedsg = $this->companyedsg; $companymmfv = $this->companymmfv;
if (is_numeric($companyedsg )) if (is_numeric($companymmfv ))
{ {
$query->where('a.company = ' . (int) $companyedsg ); $query->where('a.company = ' . (int) $companymmfv );
} }
elseif (is_string($companyedsg)) elseif (is_string($companymmfv))
{ {
$query->where('a.company = ' . $db->quote($companyedsg)); $query->where('a.company = ' . $db->quote($companymmfv));
} }
else else
{ {
@ -255,7 +255,7 @@ class CostbenefitprojectionModelCompany extends JModelAdmin
* *
* @return mixed An array of data items on success, false on failure. * @return mixed An array of data items on success, false on failure.
*/ */
public function getGypinterventions() public function getRjqinterventions()
{ {
// Get the user object. // Get the user object.
$user = JFactory::getUser(); $user = JFactory::getUser();
@ -290,15 +290,15 @@ class CostbenefitprojectionModelCompany extends JModelAdmin
$query->select($db->quoteName('g.name','company_name')); $query->select($db->quoteName('g.name','company_name'));
$query->join('LEFT', $db->quoteName('#__costbenefitprojection_company', 'g') . ' ON (' . $db->quoteName('a.company') . ' = ' . $db->quoteName('g.id') . ')'); $query->join('LEFT', $db->quoteName('#__costbenefitprojection_company', 'g') . ' ON (' . $db->quoteName('a.company') . ' = ' . $db->quoteName('g.id') . ')');
// Filter by companyyyuq global. // Filter by companyzzjj global.
$companyyyuq = $this->companyyyuq; $companyzzjj = $this->companyzzjj;
if (is_numeric($companyyyuq )) if (is_numeric($companyzzjj ))
{ {
$query->where('a.company = ' . (int) $companyyyuq ); $query->where('a.company = ' . (int) $companyzzjj );
} }
elseif (is_string($companyyyuq)) elseif (is_string($companyzzjj))
{ {
$query->where('a.company = ' . $db->quote($companyyyuq)); $query->where('a.company = ' . $db->quote($companyzzjj));
} }
else else
{ {
@ -351,7 +351,7 @@ class CostbenefitprojectionModelCompany extends JModelAdmin
foreach ($items as $nr => &$item) foreach ($items as $nr => &$item)
{ {
// convert type // convert type
$item->type = $this->selectionTranslationGypinterventions($item->type, 'type'); $item->type = $this->selectionTranslationRjqinterventions($item->type, 'type');
} }
} }
@ -365,7 +365,7 @@ class CostbenefitprojectionModelCompany extends JModelAdmin
* *
* @return translatable string * @return translatable string
*/ */
public function selectionTranslationGypinterventions($value,$name) protected function selectionTranslationRjqinterventions($value,$name)
{ {
// Array of type language strings // Array of type language strings
if ($name == 'type') if ($name == 'type')
@ -860,7 +860,7 @@ class CostbenefitprojectionModelCompany extends JModelAdmin
* *
* @since 3.0 * @since 3.0
*/ */
public function getUniqeFields() protected function getUniqeFields()
{ {
return false; return false;
} }
@ -972,7 +972,7 @@ class CostbenefitprojectionModelCompany extends JModelAdmin
* *
* @since 12.2 * @since 12.2
*/ */
public function batchCopy($values, $pks, $contexts) protected function batchCopy($values, $pks, $contexts)
{ {
if (empty($this->batchSet)) if (empty($this->batchSet))
{ {
@ -1150,7 +1150,7 @@ class CostbenefitprojectionModelCompany extends JModelAdmin
* *
* @since 12.2 * @since 12.2
*/ */
public function batchMove($values, $pks, $contexts) protected function batchMove($values, $pks, $contexts)
{ {
if (empty($this->batchSet)) if (empty($this->batchSet))
{ {
@ -1431,7 +1431,7 @@ class CostbenefitprojectionModelCompany extends JModelAdmin
* @return array Contains the modified title and alias. * @return array Contains the modified title and alias.
* *
*/ */
public function _generateNewTitle($title) protected function _generateNewTitle($title)
{ {
// Alter the title // Alter the title

View File

@ -17,178 +17,178 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// Some Global Values // Some Global Values
jform_VYVXNfJGPt_required = false; jform_GoUKnYRWrn_required = false;
jform_VYVXNfJcvi_required = false; jform_GoUKnYRuhe_required = false;
jform_VYVXNfJuFB_required = false; jform_GoUKnYRlzC_required = false;
jform_VYVXNfJOxi_required = false; jform_GoUKnYRmUE_required = false;
jform_VYVXNfJFVS_required = false; jform_GoUKnYRvxB_required = false;
jform_VYVXNfJGAC_required = false; jform_GoUKnYRZZT_required = false;
jform_VYVXNfJxEE_required = false; jform_GoUKnYRXRy_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
{ {
var department_VYVXNfJ = jQuery("#jform_department input[type='radio']:checked").val(); var department_GoUKnYR = jQuery("#jform_department input[type='radio']:checked").val();
VYVXNfJ(department_VYVXNfJ); GoUKnYR(department_GoUKnYR);
var department_uSGkQuj = jQuery("#jform_department input[type='radio']:checked").val(); var department_tWDagyL = jQuery("#jform_department input[type='radio']:checked").val();
uSGkQuj(department_uSGkQuj); tWDagyL(department_tWDagyL);
}); });
// the VYVXNfJ function // the GoUKnYR function
function VYVXNfJ(department_VYVXNfJ) function GoUKnYR(department_GoUKnYR)
{ {
// set the function logic // set the function logic
if (department_VYVXNfJ == 2) if (department_GoUKnYR == 2)
{ {
jQuery('#jform_causesrisks').closest('.control-group').show(); jQuery('#jform_causesrisks').closest('.control-group').show();
if (jform_VYVXNfJGPt_required) if (jform_GoUKnYRWrn_required)
{ {
updateFieldRequired('causesrisks',0); updateFieldRequired('causesrisks',0);
jQuery('#jform_causesrisks').prop('required','required'); jQuery('#jform_causesrisks').prop('required','required');
jQuery('#jform_causesrisks').attr('aria-required',true); jQuery('#jform_causesrisks').attr('aria-required',true);
jQuery('#jform_causesrisks').addClass('required'); jQuery('#jform_causesrisks').addClass('required');
jform_VYVXNfJGPt_required = false; jform_GoUKnYRWrn_required = false;
} }
jQuery('#jform_percentfemale').closest('.control-group').show(); jQuery('#jform_percentfemale').closest('.control-group').show();
jQuery('#jform_percentmale').closest('.control-group').show(); jQuery('#jform_percentmale').closest('.control-group').show();
jQuery('#jform_productivity_losses').closest('.control-group').show(); jQuery('#jform_productivity_losses').closest('.control-group').show();
if (jform_VYVXNfJcvi_required) if (jform_GoUKnYRuhe_required)
{ {
updateFieldRequired('productivity_losses',0); updateFieldRequired('productivity_losses',0);
jQuery('#jform_productivity_losses').prop('required','required'); jQuery('#jform_productivity_losses').prop('required','required');
jQuery('#jform_productivity_losses').attr('aria-required',true); jQuery('#jform_productivity_losses').attr('aria-required',true);
jQuery('#jform_productivity_losses').addClass('required'); jQuery('#jform_productivity_losses').addClass('required');
jform_VYVXNfJcvi_required = false; jform_GoUKnYRuhe_required = false;
} }
jQuery('#jform_medical_turnovers_females').closest('.control-group').show(); jQuery('#jform_medical_turnovers_females').closest('.control-group').show();
if (jform_VYVXNfJuFB_required) if (jform_GoUKnYRlzC_required)
{ {
updateFieldRequired('medical_turnovers_females',0); updateFieldRequired('medical_turnovers_females',0);
jQuery('#jform_medical_turnovers_females').prop('required','required'); jQuery('#jform_medical_turnovers_females').prop('required','required');
jQuery('#jform_medical_turnovers_females').attr('aria-required',true); jQuery('#jform_medical_turnovers_females').attr('aria-required',true);
jQuery('#jform_medical_turnovers_females').addClass('required'); jQuery('#jform_medical_turnovers_females').addClass('required');
jform_VYVXNfJuFB_required = false; jform_GoUKnYRlzC_required = false;
} }
jQuery('#jform_medical_turnovers_males').closest('.control-group').show(); jQuery('#jform_medical_turnovers_males').closest('.control-group').show();
if (jform_VYVXNfJOxi_required) if (jform_GoUKnYRmUE_required)
{ {
updateFieldRequired('medical_turnovers_males',0); updateFieldRequired('medical_turnovers_males',0);
jQuery('#jform_medical_turnovers_males').prop('required','required'); jQuery('#jform_medical_turnovers_males').prop('required','required');
jQuery('#jform_medical_turnovers_males').attr('aria-required',true); jQuery('#jform_medical_turnovers_males').attr('aria-required',true);
jQuery('#jform_medical_turnovers_males').addClass('required'); jQuery('#jform_medical_turnovers_males').addClass('required');
jform_VYVXNfJOxi_required = false; jform_GoUKnYRmUE_required = false;
} }
jQuery('#jform_sick_leave_females').closest('.control-group').show(); jQuery('#jform_sick_leave_females').closest('.control-group').show();
if (jform_VYVXNfJFVS_required) if (jform_GoUKnYRvxB_required)
{ {
updateFieldRequired('sick_leave_females',0); updateFieldRequired('sick_leave_females',0);
jQuery('#jform_sick_leave_females').prop('required','required'); jQuery('#jform_sick_leave_females').prop('required','required');
jQuery('#jform_sick_leave_females').attr('aria-required',true); jQuery('#jform_sick_leave_females').attr('aria-required',true);
jQuery('#jform_sick_leave_females').addClass('required'); jQuery('#jform_sick_leave_females').addClass('required');
jform_VYVXNfJFVS_required = false; jform_GoUKnYRvxB_required = false;
} }
jQuery('#jform_sick_leave_males').closest('.control-group').show(); jQuery('#jform_sick_leave_males').closest('.control-group').show();
if (jform_VYVXNfJGAC_required) if (jform_GoUKnYRZZT_required)
{ {
updateFieldRequired('sick_leave_males',0); updateFieldRequired('sick_leave_males',0);
jQuery('#jform_sick_leave_males').prop('required','required'); jQuery('#jform_sick_leave_males').prop('required','required');
jQuery('#jform_sick_leave_males').attr('aria-required',true); jQuery('#jform_sick_leave_males').attr('aria-required',true);
jQuery('#jform_sick_leave_males').addClass('required'); jQuery('#jform_sick_leave_males').addClass('required');
jform_VYVXNfJGAC_required = false; jform_GoUKnYRZZT_required = false;
} }
jQuery('#jform_total_healthcare').closest('.control-group').show(); jQuery('#jform_total_healthcare').closest('.control-group').show();
if (jform_VYVXNfJxEE_required) if (jform_GoUKnYRXRy_required)
{ {
updateFieldRequired('total_healthcare',0); updateFieldRequired('total_healthcare',0);
jQuery('#jform_total_healthcare').prop('required','required'); jQuery('#jform_total_healthcare').prop('required','required');
jQuery('#jform_total_healthcare').attr('aria-required',true); jQuery('#jform_total_healthcare').attr('aria-required',true);
jQuery('#jform_total_healthcare').addClass('required'); jQuery('#jform_total_healthcare').addClass('required');
jform_VYVXNfJxEE_required = false; jform_GoUKnYRXRy_required = false;
} }
} }
else else
{ {
jQuery('#jform_causesrisks').closest('.control-group').hide(); jQuery('#jform_causesrisks').closest('.control-group').hide();
if (!jform_VYVXNfJGPt_required) if (!jform_GoUKnYRWrn_required)
{ {
updateFieldRequired('causesrisks',1); updateFieldRequired('causesrisks',1);
jQuery('#jform_causesrisks').removeAttr('required'); jQuery('#jform_causesrisks').removeAttr('required');
jQuery('#jform_causesrisks').removeAttr('aria-required'); jQuery('#jform_causesrisks').removeAttr('aria-required');
jQuery('#jform_causesrisks').removeClass('required'); jQuery('#jform_causesrisks').removeClass('required');
jform_VYVXNfJGPt_required = true; jform_GoUKnYRWrn_required = true;
} }
jQuery('#jform_percentfemale').closest('.control-group').hide(); jQuery('#jform_percentfemale').closest('.control-group').hide();
jQuery('#jform_percentmale').closest('.control-group').hide(); jQuery('#jform_percentmale').closest('.control-group').hide();
jQuery('#jform_productivity_losses').closest('.control-group').hide(); jQuery('#jform_productivity_losses').closest('.control-group').hide();
if (!jform_VYVXNfJcvi_required) if (!jform_GoUKnYRuhe_required)
{ {
updateFieldRequired('productivity_losses',1); updateFieldRequired('productivity_losses',1);
jQuery('#jform_productivity_losses').removeAttr('required'); jQuery('#jform_productivity_losses').removeAttr('required');
jQuery('#jform_productivity_losses').removeAttr('aria-required'); jQuery('#jform_productivity_losses').removeAttr('aria-required');
jQuery('#jform_productivity_losses').removeClass('required'); jQuery('#jform_productivity_losses').removeClass('required');
jform_VYVXNfJcvi_required = true; jform_GoUKnYRuhe_required = true;
} }
jQuery('#jform_medical_turnovers_females').closest('.control-group').hide(); jQuery('#jform_medical_turnovers_females').closest('.control-group').hide();
if (!jform_VYVXNfJuFB_required) if (!jform_GoUKnYRlzC_required)
{ {
updateFieldRequired('medical_turnovers_females',1); updateFieldRequired('medical_turnovers_females',1);
jQuery('#jform_medical_turnovers_females').removeAttr('required'); jQuery('#jform_medical_turnovers_females').removeAttr('required');
jQuery('#jform_medical_turnovers_females').removeAttr('aria-required'); jQuery('#jform_medical_turnovers_females').removeAttr('aria-required');
jQuery('#jform_medical_turnovers_females').removeClass('required'); jQuery('#jform_medical_turnovers_females').removeClass('required');
jform_VYVXNfJuFB_required = true; jform_GoUKnYRlzC_required = true;
} }
jQuery('#jform_medical_turnovers_males').closest('.control-group').hide(); jQuery('#jform_medical_turnovers_males').closest('.control-group').hide();
if (!jform_VYVXNfJOxi_required) if (!jform_GoUKnYRmUE_required)
{ {
updateFieldRequired('medical_turnovers_males',1); updateFieldRequired('medical_turnovers_males',1);
jQuery('#jform_medical_turnovers_males').removeAttr('required'); jQuery('#jform_medical_turnovers_males').removeAttr('required');
jQuery('#jform_medical_turnovers_males').removeAttr('aria-required'); jQuery('#jform_medical_turnovers_males').removeAttr('aria-required');
jQuery('#jform_medical_turnovers_males').removeClass('required'); jQuery('#jform_medical_turnovers_males').removeClass('required');
jform_VYVXNfJOxi_required = true; jform_GoUKnYRmUE_required = true;
} }
jQuery('#jform_sick_leave_females').closest('.control-group').hide(); jQuery('#jform_sick_leave_females').closest('.control-group').hide();
if (!jform_VYVXNfJFVS_required) if (!jform_GoUKnYRvxB_required)
{ {
updateFieldRequired('sick_leave_females',1); updateFieldRequired('sick_leave_females',1);
jQuery('#jform_sick_leave_females').removeAttr('required'); jQuery('#jform_sick_leave_females').removeAttr('required');
jQuery('#jform_sick_leave_females').removeAttr('aria-required'); jQuery('#jform_sick_leave_females').removeAttr('aria-required');
jQuery('#jform_sick_leave_females').removeClass('required'); jQuery('#jform_sick_leave_females').removeClass('required');
jform_VYVXNfJFVS_required = true; jform_GoUKnYRvxB_required = true;
} }
jQuery('#jform_sick_leave_males').closest('.control-group').hide(); jQuery('#jform_sick_leave_males').closest('.control-group').hide();
if (!jform_VYVXNfJGAC_required) if (!jform_GoUKnYRZZT_required)
{ {
updateFieldRequired('sick_leave_males',1); updateFieldRequired('sick_leave_males',1);
jQuery('#jform_sick_leave_males').removeAttr('required'); jQuery('#jform_sick_leave_males').removeAttr('required');
jQuery('#jform_sick_leave_males').removeAttr('aria-required'); jQuery('#jform_sick_leave_males').removeAttr('aria-required');
jQuery('#jform_sick_leave_males').removeClass('required'); jQuery('#jform_sick_leave_males').removeClass('required');
jform_VYVXNfJGAC_required = true; jform_GoUKnYRZZT_required = true;
} }
jQuery('#jform_total_healthcare').closest('.control-group').hide(); jQuery('#jform_total_healthcare').closest('.control-group').hide();
if (!jform_VYVXNfJxEE_required) if (!jform_GoUKnYRXRy_required)
{ {
updateFieldRequired('total_healthcare',1); updateFieldRequired('total_healthcare',1);
jQuery('#jform_total_healthcare').removeAttr('required'); jQuery('#jform_total_healthcare').removeAttr('required');
jQuery('#jform_total_healthcare').removeAttr('aria-required'); jQuery('#jform_total_healthcare').removeAttr('aria-required');
jQuery('#jform_total_healthcare').removeClass('required'); jQuery('#jform_total_healthcare').removeClass('required');
jform_VYVXNfJxEE_required = true; jform_GoUKnYRXRy_required = true;
} }
} }
} }
// the uSGkQuj function // the tWDagyL function
function uSGkQuj(department_uSGkQuj) function tWDagyL(department_tWDagyL)
{ {
// set the function logic // set the function logic
if (department_uSGkQuj == 1) if (department_tWDagyL == 1)
{ {
jQuery('.age_groups_note').closest('.control-group').show(); jQuery('.age_groups_note').closest('.control-group').show();
jQuery('.cause_risk_selection_note').closest('.control-group').show(); jQuery('.cause_risk_selection_note').closest('.control-group').show();

View File

@ -17,58 +17,58 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// Some Global Values // Some Global Values
jform_sjxYNudkHk_required = false; jform_CVKWmltbch_required = false;
jform_TTuOrzoeoD_required = false; jform_uvfXsGAdeB_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
{ {
var type_sjxYNud = jQuery("#jform_type input[type='radio']:checked").val(); var type_CVKWmlt = jQuery("#jform_type input[type='radio']:checked").val();
sjxYNud(type_sjxYNud); CVKWmlt(type_CVKWmlt);
var type_eZIBSax = jQuery("#jform_type input[type='radio']:checked").val(); var type_WXlltJD = jQuery("#jform_type input[type='radio']:checked").val();
eZIBSax(type_eZIBSax); WXlltJD(type_WXlltJD);
var company_TTuOrzo = jQuery("#jform_company").val(); var company_uvfXsGA = jQuery("#jform_company").val();
TTuOrzo(company_TTuOrzo); uvfXsGA(company_uvfXsGA);
}); });
// the sjxYNud function // the CVKWmlt function
function sjxYNud(type_sjxYNud) function CVKWmlt(type_CVKWmlt)
{ {
// set the function logic // set the function logic
if (type_sjxYNud == 2) if (type_CVKWmlt == 2)
{ {
jQuery('#jform_interventions').closest('.control-group').show(); jQuery('#jform_interventions').closest('.control-group').show();
if (jform_sjxYNudkHk_required) if (jform_CVKWmltbch_required)
{ {
updateFieldRequired('interventions',0); updateFieldRequired('interventions',0);
jQuery('#jform_interventions').prop('required','required'); jQuery('#jform_interventions').prop('required','required');
jQuery('#jform_interventions').attr('aria-required',true); jQuery('#jform_interventions').attr('aria-required',true);
jQuery('#jform_interventions').addClass('required'); jQuery('#jform_interventions').addClass('required');
jform_sjxYNudkHk_required = false; jform_CVKWmltbch_required = false;
} }
} }
else else
{ {
jQuery('#jform_interventions').closest('.control-group').hide(); jQuery('#jform_interventions').closest('.control-group').hide();
if (!jform_sjxYNudkHk_required) if (!jform_CVKWmltbch_required)
{ {
updateFieldRequired('interventions',1); updateFieldRequired('interventions',1);
jQuery('#jform_interventions').removeAttr('required'); jQuery('#jform_interventions').removeAttr('required');
jQuery('#jform_interventions').removeAttr('aria-required'); jQuery('#jform_interventions').removeAttr('aria-required');
jQuery('#jform_interventions').removeClass('required'); jQuery('#jform_interventions').removeClass('required');
jform_sjxYNudkHk_required = true; jform_CVKWmltbch_required = true;
} }
} }
} }
// the eZIBSax function // the WXlltJD function
function eZIBSax(type_eZIBSax) function WXlltJD(type_WXlltJD)
{ {
// set the function logic // set the function logic
if (type_eZIBSax == 1) if (type_WXlltJD == 1)
{ {
jQuery('#jform_intervention').closest('.control-group').show(); jQuery('#jform_intervention').closest('.control-group').show();
} }
@ -78,55 +78,55 @@ function eZIBSax(type_eZIBSax)
} }
} }
// the TTuOrzo function // the uvfXsGA function
function TTuOrzo(company_TTuOrzo) function uvfXsGA(company_uvfXsGA)
{ {
if (isSet(company_TTuOrzo) && company_TTuOrzo.constructor !== Array) if (isSet(company_uvfXsGA) && company_uvfXsGA.constructor !== Array)
{ {
var temp_TTuOrzo = company_TTuOrzo; var temp_uvfXsGA = company_uvfXsGA;
var company_TTuOrzo = []; var company_uvfXsGA = [];
company_TTuOrzo.push(temp_TTuOrzo); company_uvfXsGA.push(temp_uvfXsGA);
} }
else if (!isSet(company_TTuOrzo)) else if (!isSet(company_uvfXsGA))
{ {
var company_TTuOrzo = []; var company_uvfXsGA = [];
} }
var company = company_TTuOrzo.some(company_TTuOrzo_SomeFunc); var company = company_uvfXsGA.some(company_uvfXsGA_SomeFunc);
// set this function logic // set this function logic
if (company) if (company)
{ {
jQuery('#jform_country').closest('.control-group').show(); jQuery('#jform_country').closest('.control-group').show();
if (jform_TTuOrzoeoD_required) if (jform_uvfXsGAdeB_required)
{ {
updateFieldRequired('country',0); updateFieldRequired('country',0);
jQuery('#jform_country').prop('required','required'); jQuery('#jform_country').prop('required','required');
jQuery('#jform_country').attr('aria-required',true); jQuery('#jform_country').attr('aria-required',true);
jQuery('#jform_country').addClass('required'); jQuery('#jform_country').addClass('required');
jform_TTuOrzoeoD_required = false; jform_uvfXsGAdeB_required = false;
} }
} }
else else
{ {
jQuery('#jform_country').closest('.control-group').hide(); jQuery('#jform_country').closest('.control-group').hide();
if (!jform_TTuOrzoeoD_required) if (!jform_uvfXsGAdeB_required)
{ {
updateFieldRequired('country',1); updateFieldRequired('country',1);
jQuery('#jform_country').removeAttr('required'); jQuery('#jform_country').removeAttr('required');
jQuery('#jform_country').removeAttr('aria-required'); jQuery('#jform_country').removeAttr('aria-required');
jQuery('#jform_country').removeClass('required'); jQuery('#jform_country').removeClass('required');
jform_TTuOrzoeoD_required = true; jform_uvfXsGAdeB_required = true;
} }
} }
} }
// the TTuOrzo Some function // the uvfXsGA Some function
function company_TTuOrzo_SomeFunc(company_TTuOrzo) function company_uvfXsGA_SomeFunc(company_uvfXsGA)
{ {
// set the function logic // set the function logic
if (company_TTuOrzo == 0) if (company_uvfXsGA == 0)
{ {
return true; return true;
} }

View File

@ -17,64 +17,64 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// Some Global Values // Some Global Values
jform_slxONhhIJp_required = false; jform_SACPybdoDe_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
{ {
var company_slxONhh = jQuery("#jform_company").val(); var company_SACPybd = jQuery("#jform_company").val();
slxONhh(company_slxONhh); SACPybd(company_SACPybd);
}); });
// the slxONhh function // the SACPybd function
function slxONhh(company_slxONhh) function SACPybd(company_SACPybd)
{ {
if (isSet(company_slxONhh) && company_slxONhh.constructor !== Array) if (isSet(company_SACPybd) && company_SACPybd.constructor !== Array)
{ {
var temp_slxONhh = company_slxONhh; var temp_SACPybd = company_SACPybd;
var company_slxONhh = []; var company_SACPybd = [];
company_slxONhh.push(temp_slxONhh); company_SACPybd.push(temp_SACPybd);
} }
else if (!isSet(company_slxONhh)) else if (!isSet(company_SACPybd))
{ {
var company_slxONhh = []; var company_SACPybd = [];
} }
var company = company_slxONhh.some(company_slxONhh_SomeFunc); var company = company_SACPybd.some(company_SACPybd_SomeFunc);
// set this function logic // set this function logic
if (company) if (company)
{ {
jQuery('#jform_country').closest('.control-group').show(); jQuery('#jform_country').closest('.control-group').show();
if (jform_slxONhhIJp_required) if (jform_SACPybdoDe_required)
{ {
updateFieldRequired('country',0); updateFieldRequired('country',0);
jQuery('#jform_country').prop('required','required'); jQuery('#jform_country').prop('required','required');
jQuery('#jform_country').attr('aria-required',true); jQuery('#jform_country').attr('aria-required',true);
jQuery('#jform_country').addClass('required'); jQuery('#jform_country').addClass('required');
jform_slxONhhIJp_required = false; jform_SACPybdoDe_required = false;
} }
} }
else else
{ {
jQuery('#jform_country').closest('.control-group').hide(); jQuery('#jform_country').closest('.control-group').hide();
if (!jform_slxONhhIJp_required) if (!jform_SACPybdoDe_required)
{ {
updateFieldRequired('country',1); updateFieldRequired('country',1);
jQuery('#jform_country').removeAttr('required'); jQuery('#jform_country').removeAttr('required');
jQuery('#jform_country').removeAttr('aria-required'); jQuery('#jform_country').removeAttr('aria-required');
jQuery('#jform_country').removeClass('required'); jQuery('#jform_country').removeClass('required');
jform_slxONhhIJp_required = true; jform_SACPybdoDe_required = true;
} }
} }
} }
// the slxONhh Some function // the SACPybd Some function
function company_slxONhh_SomeFunc(company_slxONhh) function company_SACPybd_SomeFunc(company_SACPybd)
{ {
// set the function logic // set the function logic
if (company_slxONhh == 0) if (company_SACPybd == 0)
{ {
return true; return true;
} }

View File

@ -408,7 +408,7 @@ class CostbenefitprojectionModelIntervention extends JModelAdmin
* *
* @since 3.0 * @since 3.0
*/ */
public function getUniqeFields() protected function getUniqeFields()
{ {
return false; return false;
} }
@ -520,7 +520,7 @@ class CostbenefitprojectionModelIntervention extends JModelAdmin
* *
* @since 12.2 * @since 12.2
*/ */
public function batchCopy($values, $pks, $contexts) protected function batchCopy($values, $pks, $contexts)
{ {
if (empty($this->batchSet)) if (empty($this->batchSet))
{ {
@ -713,7 +713,7 @@ class CostbenefitprojectionModelIntervention extends JModelAdmin
* *
* @since 12.2 * @since 12.2
*/ */
public function batchMove($values, $pks, $contexts) protected function batchMove($values, $pks, $contexts)
{ {
if (empty($this->batchSet)) if (empty($this->batchSet))
{ {
@ -949,7 +949,7 @@ class CostbenefitprojectionModelIntervention extends JModelAdmin
* @return array Contains the modified title and alias. * @return array Contains the modified title and alias.
* *
*/ */
public function _generateNewTitle($title) protected function _generateNewTitle($title)
{ {
// Alter the title // Alter the title

View File

@ -396,7 +396,7 @@ class CostbenefitprojectionModelScaling_factor extends JModelAdmin
* *
* @since 3.0 * @since 3.0
*/ */
public function getUniqeFields() protected function getUniqeFields()
{ {
return false; return false;
} }
@ -508,7 +508,7 @@ class CostbenefitprojectionModelScaling_factor extends JModelAdmin
* *
* @since 12.2 * @since 12.2
*/ */
public function batchCopy($values, $pks, $contexts) protected function batchCopy($values, $pks, $contexts)
{ {
if (empty($this->batchSet)) if (empty($this->batchSet))
{ {
@ -687,7 +687,7 @@ class CostbenefitprojectionModelScaling_factor extends JModelAdmin
* *
* @since 12.2 * @since 12.2
*/ */
public function batchMove($values, $pks, $contexts) protected function batchMove($values, $pks, $contexts)
{ {
if (empty($this->batchSet)) if (empty($this->batchSet))
{ {
@ -903,7 +903,7 @@ class CostbenefitprojectionModelScaling_factor extends JModelAdmin
* @return array Contains the modified title and alias. * @return array Contains the modified title and alias.
* *
*/ */
public function _generateNewTitle($title) protected function _generateNewTitle($title)
{ {
// Alter the title // Alter the title

View File

@ -143,33 +143,33 @@ $componentParams = JComponentHelper::getParams('com_costbenefitprojection');
<script type="text/javascript"> <script type="text/javascript">
// #jform_department listeners for department_VYVXNfJ function // #jform_department listeners for department_GoUKnYR function
jQuery('#jform_department').on('keyup',function() jQuery('#jform_department').on('keyup',function()
{ {
var department_VYVXNfJ = jQuery("#jform_department input[type='radio']:checked").val(); var department_GoUKnYR = jQuery("#jform_department input[type='radio']:checked").val();
VYVXNfJ(department_VYVXNfJ); GoUKnYR(department_GoUKnYR);
}); });
jQuery('#adminForm').on('change', '#jform_department',function (e) jQuery('#adminForm').on('change', '#jform_department',function (e)
{ {
e.preventDefault(); e.preventDefault();
var department_VYVXNfJ = jQuery("#jform_department input[type='radio']:checked").val(); var department_GoUKnYR = jQuery("#jform_department input[type='radio']:checked").val();
VYVXNfJ(department_VYVXNfJ); GoUKnYR(department_GoUKnYR);
}); });
// #jform_department listeners for department_uSGkQuj function // #jform_department listeners for department_tWDagyL function
jQuery('#jform_department').on('keyup',function() jQuery('#jform_department').on('keyup',function()
{ {
var department_uSGkQuj = jQuery("#jform_department input[type='radio']:checked").val(); var department_tWDagyL = jQuery("#jform_department input[type='radio']:checked").val();
uSGkQuj(department_uSGkQuj); tWDagyL(department_tWDagyL);
}); });
jQuery('#adminForm').on('change', '#jform_department',function (e) jQuery('#adminForm').on('change', '#jform_department',function (e)
{ {
e.preventDefault(); e.preventDefault();
var department_uSGkQuj = jQuery("#jform_department input[type='radio']:checked").val(); var department_tWDagyL = jQuery("#jform_department input[type='radio']:checked").val();
uSGkQuj(department_uSGkQuj); tWDagyL(department_tWDagyL);
}); });

View File

@ -65,10 +65,10 @@ class CostbenefitprojectionViewCompany extends JViewLegacy
} }
// Get Linked view data // Get Linked view data
$this->yhqscaling_factors = $this->get('Yhqscaling_factors'); $this->cwvscaling_factors = $this->get('Cwvscaling_factors');
// Get Linked view data // Get Linked view data
$this->gypinterventions = $this->get('Gypinterventions'); $this->rjqinterventions = $this->get('Rjqinterventions');
// Set the toolbar // Set the toolbar
$this->addToolBar(); $this->addToolBar();

View File

@ -105,48 +105,48 @@ $componentParams = JComponentHelper::getParams('com_costbenefitprojection');
<script type="text/javascript"> <script type="text/javascript">
// #jform_type listeners for type_sjxYNud function // #jform_type listeners for type_CVKWmlt function
jQuery('#jform_type').on('keyup',function() jQuery('#jform_type').on('keyup',function()
{ {
var type_sjxYNud = jQuery("#jform_type input[type='radio']:checked").val(); var type_CVKWmlt = jQuery("#jform_type input[type='radio']:checked").val();
sjxYNud(type_sjxYNud); CVKWmlt(type_CVKWmlt);
}); });
jQuery('#adminForm').on('change', '#jform_type',function (e) jQuery('#adminForm').on('change', '#jform_type',function (e)
{ {
e.preventDefault(); e.preventDefault();
var type_sjxYNud = jQuery("#jform_type input[type='radio']:checked").val(); var type_CVKWmlt = jQuery("#jform_type input[type='radio']:checked").val();
sjxYNud(type_sjxYNud); CVKWmlt(type_CVKWmlt);
}); });
// #jform_type listeners for type_eZIBSax function // #jform_type listeners for type_WXlltJD function
jQuery('#jform_type').on('keyup',function() jQuery('#jform_type').on('keyup',function()
{ {
var type_eZIBSax = jQuery("#jform_type input[type='radio']:checked").val(); var type_WXlltJD = jQuery("#jform_type input[type='radio']:checked").val();
eZIBSax(type_eZIBSax); WXlltJD(type_WXlltJD);
}); });
jQuery('#adminForm').on('change', '#jform_type',function (e) jQuery('#adminForm').on('change', '#jform_type',function (e)
{ {
e.preventDefault(); e.preventDefault();
var type_eZIBSax = jQuery("#jform_type input[type='radio']:checked").val(); var type_WXlltJD = jQuery("#jform_type input[type='radio']:checked").val();
eZIBSax(type_eZIBSax); WXlltJD(type_WXlltJD);
}); });
// #jform_company listeners for company_TTuOrzo function // #jform_company listeners for company_uvfXsGA function
jQuery('#jform_company').on('keyup',function() jQuery('#jform_company').on('keyup',function()
{ {
var company_TTuOrzo = jQuery("#jform_company").val(); var company_uvfXsGA = jQuery("#jform_company").val();
TTuOrzo(company_TTuOrzo); uvfXsGA(company_uvfXsGA);
}); });
jQuery('#adminForm').on('change', '#jform_company',function (e) jQuery('#adminForm').on('change', '#jform_company',function (e)
{ {
e.preventDefault(); e.preventDefault();
var company_TTuOrzo = jQuery("#jform_company").val(); var company_uvfXsGA = jQuery("#jform_company").val();
TTuOrzo(company_TTuOrzo); uvfXsGA(company_uvfXsGA);
}); });

View File

@ -90,18 +90,18 @@ $componentParams = JComponentHelper::getParams('com_costbenefitprojection');
<script type="text/javascript"> <script type="text/javascript">
// #jform_company listeners for company_slxONhh function // #jform_company listeners for company_SACPybd function
jQuery('#jform_company').on('keyup',function() jQuery('#jform_company').on('keyup',function()
{ {
var company_slxONhh = jQuery("#jform_company").val(); var company_SACPybd = jQuery("#jform_company").val();
slxONhh(company_slxONhh); SACPybd(company_SACPybd);
}); });
jQuery('#adminForm').on('change', '#jform_company',function (e) jQuery('#adminForm').on('change', '#jform_company',function (e)
{ {
e.preventDefault(); e.preventDefault();
var company_slxONhh = jQuery("#jform_company").val(); var company_SACPybd = jQuery("#jform_company").val();
slxONhh(company_slxONhh); SACPybd(company_SACPybd);
}); });