2023-10-05 14:51:28 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2023-10-05 02:28:17 +02:00
|
|
|
<form>
|
2023-10-14 21:15:09 +02:00
|
|
|
<fieldset
|
|
|
|
name="details"
|
|
|
|
label="COM_DEPOT_DETAILS"
|
|
|
|
addruleprefix="KW4NZ\Component\Depot\Administrator\Rule"
|
|
|
|
addfieldprefix="KW4NZ\Component\Depot\Administrator\Field"
|
|
|
|
>
|
|
|
|
<field
|
|
|
|
name="component_name"
|
|
|
|
type="text"
|
|
|
|
label="COM_DEPOT_FIELD_COMPONENT_NAME_LABEL"
|
|
|
|
description="COM_DEPOT_FIELD_COMPONENT_NAME_DESC"
|
|
|
|
required="true"
|
|
|
|
autofocus="1"
|
|
|
|
/>
|
|
|
|
<field
|
|
|
|
name="quantity"
|
|
|
|
type="number"
|
|
|
|
label="COM_DEPOT_FIELD_QUANTITY_LABEL"
|
|
|
|
description="COM_DEPOT_FIELD_QUANTITY_DESC"
|
|
|
|
default="0"
|
|
|
|
/>
|
|
|
|
<field
|
|
|
|
name="quantity_exp"
|
|
|
|
type="number"
|
|
|
|
label="COM_DEPOT_FIELD_QUANTITY_EXP_LABEL"
|
|
|
|
description="COM_DEPOT_FIELD_QUANTITY_EXP_DESC"
|
|
|
|
default="0"
|
|
|
|
/>
|
|
|
|
<field
|
|
|
|
name="alias"
|
|
|
|
type="text"
|
|
|
|
label="JFIELD_ALIAS_LABEL"
|
|
|
|
description="JFIELD_ALIAS_DESC"
|
|
|
|
hint="COM_DEPOT_FIELD_ALIAS_PLACEHOLDER"
|
|
|
|
size="40"
|
|
|
|
/>
|
|
|
|
<field
|
|
|
|
name="manufacturer_id"
|
|
|
|
type="sql"
|
|
|
|
label="COM_DEPOT_FIELD_SELECT_MANUFACTURER"
|
|
|
|
query="SELECT id, CONCAT( name_short, ' (', name_long, ')') AS title FROM #__depot_manufacturer ORDER BY title"
|
|
|
|
key_field="id"
|
|
|
|
value_field="title"
|
|
|
|
required="true"
|
|
|
|
>
|
|
|
|
<option value="">COM_DEPOT_SELECT_YOUR_OPTION</option>
|
|
|
|
</field>
|
|
|
|
<field
|
|
|
|
name="state"
|
|
|
|
type="list"
|
|
|
|
label="JSTATUS"
|
|
|
|
class="form-select-color-state"
|
|
|
|
default="1"
|
|
|
|
validate="options"
|
|
|
|
>
|
|
|
|
<option value="1">JPUBLISHED</option>
|
|
|
|
<option value="0">JUNPUBLISHED</option>
|
|
|
|
<option value="2">JARCHIVED</option>
|
|
|
|
<option value="-2">JTRASHED</option>
|
|
|
|
</field>
|
|
|
|
</fieldset>
|
2023-10-15 11:40:55 +02:00
|
|
|
<fieldset
|
|
|
|
name="statistics"
|
|
|
|
label="COM_DEPOT_FIELD_STATISTICS"
|
|
|
|
>
|
|
|
|
<field
|
|
|
|
name="id"
|
|
|
|
type="text"
|
|
|
|
label="JGLOBAL_FIELD_ID_LABEL"
|
|
|
|
class="readonly"
|
|
|
|
default="0"
|
|
|
|
readonly="true"
|
|
|
|
/>
|
|
|
|
<field
|
|
|
|
name="created"
|
|
|
|
type="calendar"
|
|
|
|
label="COM_DEPOT_FIELD_CREATED_LABEL"
|
|
|
|
class="readonly"
|
|
|
|
translateformat="true"
|
|
|
|
showtime="true"
|
|
|
|
readonly="true"
|
|
|
|
filter="user_utc"
|
|
|
|
/>
|
|
|
|
<field
|
|
|
|
name="created_by"
|
|
|
|
type="user"
|
|
|
|
label="COM_DEPOT_FIELD_CREATED_BY_LABEL"
|
|
|
|
class="readonly"
|
|
|
|
readonly="true"
|
|
|
|
/>
|
|
|
|
<field
|
|
|
|
name="modified"
|
|
|
|
type="calendar"
|
|
|
|
label="COM_DEPOT_FIELD_MODIFIED_LABEL"
|
|
|
|
class="readonly"
|
|
|
|
translateformat="true"
|
|
|
|
showtime="true"
|
|
|
|
readonly="true"
|
|
|
|
filter="user_utc"
|
|
|
|
/>
|
|
|
|
<field
|
|
|
|
name="modified_by"
|
|
|
|
type="user"
|
|
|
|
label="COM_DEPOT_FIELD_MODIFIED_BY_LABEL"
|
|
|
|
class="readonly"
|
|
|
|
readonly="true"
|
|
|
|
/>
|
|
|
|
</fieldset>
|
2023-10-05 02:28:17 +02:00
|
|
|
</form>
|