2015-12-01 05:06:34 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<form
|
|
|
|
addrulepath="/administrator/components/com_costbenefitprojection/models/rules"
|
|
|
|
addfieldpath="/administrator/components/com_costbenefitprojection/models/fields"
|
|
|
|
>
|
|
|
|
<fieldset name="details">
|
2016-01-14 07:44:50 +00:00
|
|
|
<!-- Default Fields. -->
|
|
|
|
<!-- Id Field. Type: Text (joomla) -->
|
2015-12-01 05:06:34 +00:00
|
|
|
<field
|
|
|
|
name="id"
|
|
|
|
type="text" class="readonly" label="JGLOBAL_FIELD_ID_LABEL"
|
|
|
|
description ="JGLOBAL_FIELD_ID_DESC" size="10" default="0"
|
|
|
|
readonly="true"
|
|
|
|
/>
|
2016-01-14 07:44:50 +00:00
|
|
|
<!-- Date Created Field. Type: Calendar (joomla) -->
|
2015-12-01 05:06:34 +00:00
|
|
|
<field
|
|
|
|
name="created"
|
|
|
|
type="calendar"
|
|
|
|
label="COM_COSTBENEFITPROJECTION_INTERVENTION_CREATED_DATE_LABEL"
|
|
|
|
description="COM_COSTBENEFITPROJECTION_INTERVENTION_CREATED_DATE_DESC"
|
|
|
|
size="22"
|
|
|
|
format="%Y-%m-%d %H:%M:%S"
|
|
|
|
filter="user_utc"
|
|
|
|
/>
|
2016-01-14 07:44:50 +00:00
|
|
|
<!-- User Created Field. Type: User (joomla) -->
|
2015-12-01 05:06:34 +00:00
|
|
|
<field
|
|
|
|
name="created_by"
|
|
|
|
type="user"
|
|
|
|
label="COM_COSTBENEFITPROJECTION_INTERVENTION_CREATED_BY_LABEL"
|
|
|
|
description="COM_COSTBENEFITPROJECTION_INTERVENTION_CREATED_BY_DESC"
|
|
|
|
/>
|
2016-01-14 07:44:50 +00:00
|
|
|
<!-- Published Field. Type: List (joomla) -->
|
2015-12-01 05:06:34 +00:00
|
|
|
<field name="published" type="list" label="JSTATUS"
|
|
|
|
description="JFIELD_PUBLISHED_DESC" class="chzn-color-state"
|
|
|
|
filter="intval" size="1" default="1" >
|
|
|
|
<option value="1">
|
|
|
|
JPUBLISHED</option>
|
|
|
|
<option value="0">
|
|
|
|
JUNPUBLISHED</option>
|
|
|
|
<option value="2">
|
|
|
|
JARCHIVED</option>
|
|
|
|
<option value="-2">
|
|
|
|
JTRASHED</option>
|
|
|
|
</field>
|
2016-01-14 07:44:50 +00:00
|
|
|
<!-- Date Modified Field. Type: Calendar (joomla) -->
|
2015-12-01 05:06:34 +00:00
|
|
|
<field name="modified" type="calendar" class="readonly"
|
2016-06-27 10:46:34 +00:00
|
|
|
label="COM_COSTBENEFITPROJECTION_INTERVENTION_MODIFIED_DATE_LABEL" description="COM_COSTBENEFITPROJECTION_INTERVENTION_MODIFIED_DATE_DESC"
|
2015-12-01 05:06:34 +00:00
|
|
|
size="22" readonly="true" format="%Y-%m-%d %H:%M:%S" filter="user_utc" />
|
2016-01-14 07:44:50 +00:00
|
|
|
<!-- User Modified Field. Type: User (joomla) -->
|
2015-12-01 05:06:34 +00:00
|
|
|
<field name="modified_by" type="user"
|
2016-06-27 10:46:34 +00:00
|
|
|
label="COM_COSTBENEFITPROJECTION_INTERVENTION_MODIFIED_BY_LABEL"
|
|
|
|
description="COM_COSTBENEFITPROJECTION_INTERVENTION_MODIFIED_BY_DESC"
|
2015-12-01 05:06:34 +00:00
|
|
|
class="readonly"
|
|
|
|
readonly="true"
|
|
|
|
filter="unset"
|
|
|
|
/>
|
2016-01-14 07:44:50 +00:00
|
|
|
<!-- Ordering Field. Type: Numbers (joomla) -->
|
2015-12-01 05:06:34 +00:00
|
|
|
<field
|
|
|
|
name="ordering"
|
|
|
|
type="number"
|
|
|
|
class="inputbox validate-ordering"
|
|
|
|
label="COM_COSTBENEFITPROJECTION_INTERVENTION_ORDERING_LABEL"
|
|
|
|
description=""
|
|
|
|
default="0"
|
|
|
|
size="6"
|
|
|
|
required="false"
|
|
|
|
/>
|
2016-01-14 07:44:50 +00:00
|
|
|
<!-- Version Field. Type: Text (joomla) -->
|
2015-12-01 05:06:34 +00:00
|
|
|
<field
|
|
|
|
name="version"
|
|
|
|
type="text"
|
|
|
|
class="readonly"
|
|
|
|
label="COM_COSTBENEFITPROJECTION_INTERVENTION_VERSION_LABEL"
|
|
|
|
description="COM_COSTBENEFITPROJECTION_INTERVENTION_VERSION_DESC"
|
|
|
|
size="6"
|
|
|
|
readonly="true"
|
|
|
|
filter="unset"
|
|
|
|
/>
|
2016-01-14 07:44:50 +00:00
|
|
|
<!-- Dynamic Fields. -->
|
|
|
|
<!-- Name Field. Type: Text. (joomla) -->
|
2015-12-01 05:06:34 +00:00
|
|
|
<field
|
|
|
|
type="text"
|
|
|
|
name="name"
|
|
|
|
label="COM_COSTBENEFITPROJECTION_INTERVENTION_NAME_LABEL"
|
|
|
|
size="40"
|
|
|
|
maxlength="150"
|
|
|
|
description="COM_COSTBENEFITPROJECTION_INTERVENTION_NAME_DESCRIPTION"
|
|
|
|
class="text_area"
|
|
|
|
readonly="false"
|
|
|
|
disabled="false"
|
|
|
|
required="true"
|
|
|
|
filter="STRING"
|
2018-05-05 13:43:04 +00:00
|
|
|
message="COM_COSTBENEFITPROJECTION_INTERVENTION_NAME_MESSAGE"
|
2015-12-01 05:06:34 +00:00
|
|
|
hint="COM_COSTBENEFITPROJECTION_INTERVENTION_NAME_HINT"
|
|
|
|
/>
|
2016-01-14 07:44:50 +00:00
|
|
|
<!-- Company Field. Type: Company. (custom) -->
|
2015-12-01 05:06:34 +00:00
|
|
|
<field
|
|
|
|
type="company"
|
|
|
|
name="company"
|
|
|
|
label="COM_COSTBENEFITPROJECTION_INTERVENTION_COMPANY_LABEL"
|
|
|
|
class="list_class"
|
|
|
|
multiple="false"
|
|
|
|
default="0"
|
|
|
|
button="true"
|
|
|
|
/>
|
2016-01-14 07:44:50 +00:00
|
|
|
<!-- Type Field. Type: Radio. (joomla) -->
|
2015-12-01 05:06:34 +00:00
|
|
|
<field
|
|
|
|
type="radio"
|
|
|
|
name="type"
|
|
|
|
label="COM_COSTBENEFITPROJECTION_INTERVENTION_TYPE_LABEL"
|
|
|
|
description="COM_COSTBENEFITPROJECTION_INTERVENTION_TYPE_DESCRIPTION"
|
|
|
|
class="btn-group"
|
|
|
|
default="1"
|
|
|
|
required="true">
|
2016-01-14 07:44:50 +00:00
|
|
|
<!-- Option Set. -->
|
2015-12-01 05:06:34 +00:00
|
|
|
<option value="1">
|
|
|
|
COM_COSTBENEFITPROJECTION_INTERVENTION_SINGLE</option>
|
|
|
|
<option value="2">
|
|
|
|
COM_COSTBENEFITPROJECTION_INTERVENTION_CLUSTER</option>
|
|
|
|
</field>
|
2016-01-14 07:44:50 +00:00
|
|
|
<!-- Coverage Field. Type: Integer. (joomla) -->
|
2015-12-01 05:06:34 +00:00
|
|
|
<field
|
|
|
|
type="integer"
|
|
|
|
name="coverage"
|
|
|
|
label="COM_COSTBENEFITPROJECTION_INTERVENTION_COVERAGE_LABEL"
|
|
|
|
description="COM_COSTBENEFITPROJECTION_INTERVENTION_COVERAGE_DESCRIPTION"
|
|
|
|
required="true"
|
|
|
|
first="10"
|
|
|
|
last="100"
|
|
|
|
step="10"
|
|
|
|
/>
|
2016-01-14 07:44:50 +00:00
|
|
|
<!-- Description Field. Type: Textarea. (joomla) -->
|
2015-12-01 05:06:34 +00:00
|
|
|
<field
|
|
|
|
type="textarea"
|
|
|
|
name="description"
|
|
|
|
label="COM_COSTBENEFITPROJECTION_INTERVENTION_DESCRIPTION_LABEL"
|
|
|
|
rows="11"
|
|
|
|
cols="10"
|
|
|
|
description="COM_COSTBENEFITPROJECTION_INTERVENTION_DESCRIPTION_DESCRIPTION"
|
|
|
|
class="text_area span12"
|
|
|
|
filter="HTML"
|
|
|
|
hint="COM_COSTBENEFITPROJECTION_INTERVENTION_DESCRIPTION_HINT"
|
|
|
|
/>
|
2016-05-10 16:36:09 +00:00
|
|
|
<!-- Duration Field. Type: Integer. (joomla) -->
|
2016-01-14 07:44:50 +00:00
|
|
|
<field
|
2016-05-10 16:36:09 +00:00
|
|
|
type="integer"
|
|
|
|
name="duration"
|
|
|
|
label="COM_COSTBENEFITPROJECTION_INTERVENTION_DURATION_LABEL"
|
|
|
|
default="1"
|
|
|
|
description="COM_COSTBENEFITPROJECTION_INTERVENTION_DURATION_DESCRIPTION"
|
|
|
|
required="true"
|
|
|
|
first="1"
|
|
|
|
last="30"
|
|
|
|
step="1"
|
2016-01-14 07:44:50 +00:00
|
|
|
/>
|
2018-05-05 13:43:04 +00:00
|
|
|
<!-- Not_required Field. Type: Hidden. (joomla) -->
|
2016-05-10 16:36:09 +00:00
|
|
|
<field
|
2018-05-05 13:43:04 +00:00
|
|
|
type="hidden"
|
|
|
|
name="not_required"
|
|
|
|
default="[]"
|
|
|
|
/>
|
2016-01-14 07:44:50 +00:00
|
|
|
<!-- Intervention Field. Type: Repeatable. (joomla) -->
|
2015-12-01 05:06:34 +00:00
|
|
|
<field
|
|
|
|
type="repeatable"
|
|
|
|
name="intervention"
|
2018-05-05 13:43:04 +00:00
|
|
|
label="COM_COSTBENEFITPROJECTION_INTERVENTION_INTERVENTION_LABEL"
|
2015-12-01 05:06:34 +00:00
|
|
|
description="COM_COSTBENEFITPROJECTION_INTERVENTION_INTERVENTION_DESCRIPTION"
|
|
|
|
id="intervention"
|
|
|
|
class="interventions"
|
|
|
|
select="COM_COSTBENEFITPROJECTION_INTERVENTION_INTERVENTION_SELECT"
|
|
|
|
icon="list"
|
|
|
|
maximum="100">
|
|
|
|
<fields name="intervention_fields" label="">
|
|
|
|
<fieldset hidden="true" name="intervention_modal" repeat="true">
|
2016-01-14 07:44:50 +00:00
|
|
|
<!-- Causerisk Field. Type: Causesrisks. (custom) -->
|
2015-12-01 05:06:34 +00:00
|
|
|
<field
|
|
|
|
type="causesrisks"
|
|
|
|
name="causerisk"
|
|
|
|
label="COM_COSTBENEFITPROJECTION_INTERVENTION_CAUSERISK_LABEL"
|
|
|
|
class="list_class causewidth"
|
|
|
|
multiple="false"
|
|
|
|
default="0"
|
2018-05-05 13:43:04 +00:00
|
|
|
required="false"
|
2015-12-01 05:06:34 +00:00
|
|
|
button="false"
|
|
|
|
/>
|
2016-01-14 07:44:50 +00:00
|
|
|
<!-- Cpe Field. Type: Text. (joomla) -->
|
2015-12-01 05:06:34 +00:00
|
|
|
<field
|
|
|
|
type="text"
|
|
|
|
name="cpe"
|
|
|
|
label="COM_COSTBENEFITPROJECTION_INTERVENTION_CPE_LABEL"
|
|
|
|
size="10"
|
|
|
|
maxlength="50"
|
|
|
|
description="COM_COSTBENEFITPROJECTION_INTERVENTION_CPE_DESCRIPTION"
|
|
|
|
class="text_area"
|
2018-05-05 13:43:04 +00:00
|
|
|
required="false"
|
2015-12-01 05:06:34 +00:00
|
|
|
filter="INT"
|
|
|
|
/>
|
2016-01-14 07:44:50 +00:00
|
|
|
<!-- Mbr Field. Type: Text. (joomla) -->
|
2015-12-01 05:06:34 +00:00
|
|
|
<field
|
|
|
|
type="text"
|
|
|
|
name="mbr"
|
|
|
|
label="COM_COSTBENEFITPROJECTION_INTERVENTION_MBR_LABEL"
|
|
|
|
size="10"
|
|
|
|
maxlength="50"
|
|
|
|
description="COM_COSTBENEFITPROJECTION_INTERVENTION_MBR_DESCRIPTION"
|
|
|
|
class="text_area"
|
2018-05-05 13:43:04 +00:00
|
|
|
required="false"
|
2015-12-01 05:06:34 +00:00
|
|
|
filter="INT"
|
|
|
|
/>
|
2016-01-14 07:44:50 +00:00
|
|
|
<!-- Mtr Field. Type: Text. (joomla) -->
|
2015-12-01 05:06:34 +00:00
|
|
|
<field
|
|
|
|
type="text"
|
|
|
|
name="mtr"
|
|
|
|
label="COM_COSTBENEFITPROJECTION_INTERVENTION_MTR_LABEL"
|
|
|
|
size="10"
|
|
|
|
maxlength="50"
|
|
|
|
description="COM_COSTBENEFITPROJECTION_INTERVENTION_MTR_DESCRIPTION"
|
|
|
|
class="text_area"
|
2018-05-05 13:43:04 +00:00
|
|
|
required="false"
|
2015-12-01 05:06:34 +00:00
|
|
|
filter="INT"
|
|
|
|
/>
|
|
|
|
</fieldset>
|
|
|
|
</fields>
|
|
|
|
</field>
|
2016-01-14 07:44:50 +00:00
|
|
|
<!-- Interventions Field. Type: Interventions. (custom) -->
|
|
|
|
<field
|
|
|
|
type="interventions"
|
|
|
|
name="interventions"
|
|
|
|
label="COM_COSTBENEFITPROJECTION_INTERVENTION_INTERVENTIONS_LABEL"
|
|
|
|
class="list_class"
|
|
|
|
multiple="true"
|
|
|
|
required="true"
|
|
|
|
button="false"
|
|
|
|
/>
|
2016-05-10 16:36:09 +00:00
|
|
|
<!-- Reference Field. Type: Textarea. (joomla) -->
|
2015-12-01 05:06:34 +00:00
|
|
|
<field
|
2016-05-10 16:36:09 +00:00
|
|
|
type="textarea"
|
|
|
|
name="reference"
|
|
|
|
label="COM_COSTBENEFITPROJECTION_INTERVENTION_REFERENCE_LABEL"
|
|
|
|
rows="10"
|
|
|
|
cols="5"
|
|
|
|
description="COM_COSTBENEFITPROJECTION_INTERVENTION_REFERENCE_DESCRIPTION"
|
|
|
|
class="text_area span12"
|
|
|
|
filter="HTML"
|
|
|
|
hint="COM_COSTBENEFITPROJECTION_INTERVENTION_REFERENCE_HINT"
|
2015-12-01 05:06:34 +00:00
|
|
|
/>
|
2018-05-05 13:43:04 +00:00
|
|
|
<!-- Share Field. Type: List. (joomla) -->
|
2015-12-01 05:06:34 +00:00
|
|
|
<field
|
2018-05-05 13:43:04 +00:00
|
|
|
type="list"
|
|
|
|
name="share"
|
|
|
|
label="COM_COSTBENEFITPROJECTION_INTERVENTION_SHARE_LABEL"
|
|
|
|
description="COM_COSTBENEFITPROJECTION_INTERVENTION_SHARE_DESCRIPTION"
|
|
|
|
class="list_class"
|
|
|
|
multiple="false"
|
|
|
|
filter="INT"
|
|
|
|
required="true"
|
|
|
|
default="3">
|
|
|
|
<!-- Option Set. -->
|
|
|
|
<option value="3">
|
|
|
|
COM_COSTBENEFITPROJECTION_INTERVENTION_ALL_SERVICE_PROVIDERS_AND_ADMIN</option>
|
|
|
|
<option value="2">
|
|
|
|
COM_COSTBENEFITPROJECTION_INTERVENTION_ONLY_MY_SERVICE_PROVIDER</option>
|
|
|
|
<option value="1">
|
|
|
|
COM_COSTBENEFITPROJECTION_INTERVENTION_ONLY_ME</option>
|
|
|
|
</field>
|
|
|
|
<!-- Country Field. Type: Countries. (custom) -->
|
|
|
|
<field
|
|
|
|
type="countries"
|
|
|
|
name="country"
|
|
|
|
label="COM_COSTBENEFITPROJECTION_INTERVENTION_COUNTRY_LABEL"
|
|
|
|
description="COM_COSTBENEFITPROJECTION_INTERVENTION_COUNTRY_DESCRIPTION"
|
|
|
|
class="list_class"
|
|
|
|
multiple="false"
|
|
|
|
default="0"
|
|
|
|
required="true"
|
2015-12-01 05:06:34 +00:00
|
|
|
/>
|
|
|
|
</fieldset>
|
|
|
|
|
2016-01-14 07:44:50 +00:00
|
|
|
<!-- Access Control Fields. -->
|
2015-12-01 05:06:34 +00:00
|
|
|
<fieldset name="accesscontrol">
|
2016-01-14 07:44:50 +00:00
|
|
|
<!-- Asset Id Field. Type: Hidden (joomla) -->
|
2015-12-01 05:06:34 +00:00
|
|
|
<field
|
|
|
|
name="asset_id"
|
|
|
|
type="hidden"
|
|
|
|
filter="unset"
|
|
|
|
/>
|
2016-01-14 07:44:50 +00:00
|
|
|
<!-- Rules Field. Type: Rules (joomla) -->
|
2015-12-01 05:06:34 +00:00
|
|
|
<field
|
|
|
|
name="rules"
|
|
|
|
type="rules"
|
|
|
|
label="Permissions in relation to this intervention"
|
|
|
|
translate_label="false"
|
|
|
|
filter="rules"
|
|
|
|
validate="rules"
|
|
|
|
class="inputbox"
|
|
|
|
component="com_costbenefitprojection"
|
|
|
|
section="intervention"
|
|
|
|
/>
|
|
|
|
</fieldset>
|
|
|
|
</form>
|