ADD stock location field

This commit is contained in:
Thomas Kuschel 2023-10-15 12:27:09 +02:00
parent 6845e087f2
commit e39dcaf35c
2 changed files with 12 additions and 0 deletions

View File

@ -47,6 +47,17 @@
> >
<option value="">COM_DEPOT_SELECT_YOUR_OPTION</option> <option value="">COM_DEPOT_SELECT_YOUR_OPTION</option>
</field> </field>
<field
name="stock_id"
type="sql"
label="COM_DEPOT_FIELD_SELECT_STOCK"
query="SELECT id, name FROM #__depot_stock ORDER BY name"
key_field="id"
value_field="name"
required="true"
>
<option value="">COM_DEPOT_SELECT_YOUR_OPTION</option>
</field>
<field <field
name="state" name="state"
type="list" type="list"

View File

@ -17,6 +17,7 @@ COM_DEPOT_FIELD_QUANTITY_DESC="Enter here the current number of components"
COM_DEPOT_FIELD_QUANTITY_EXP_LABEL="Quantity Exponent" COM_DEPOT_FIELD_QUANTITY_EXP_LABEL="Quantity Exponent"
COM_DEPOT_FIELD_QUANTITY_EXP_DESC="Exponent (10^x of the number, usually 0, i.e. 10⁰)" COM_DEPOT_FIELD_QUANTITY_EXP_DESC="Exponent (10^x of the number, usually 0, i.e. 10⁰)"
COM_DEPOT_FIELD_SELECT_MANUFACTURER="Manufacturer" COM_DEPOT_FIELD_SELECT_MANUFACTURER="Manufacturer"
COM_DEPOT_FIELD_SELECT_STOCK="Stock Location"
COM_DEPOT_LEGEND_DETAILS="Component Details" COM_DEPOT_LEGEND_DETAILS="Component Details"
COM_DEPOT_LEGEND_STATISTICS="Component Statistics" COM_DEPOT_LEGEND_STATISTICS="Component Statistics"
COM_DEPOT_SELECT_YOUR_OPTION="Select your option" COM_DEPOT_SELECT_YOUR_OPTION="Select your option"