Author: diveshdutta Date: Sat Sep 17 06:31:35 2016 New Revision: 1761125 URL: http://svn.apache.org/viewvc?rev=1761125&view=rev Log: Improved: Convert search criteria on status into multi-select pattern for Facility component OFBIZ-7545 Added check box for status fields on Find Inventory Items and Find Shipment pages. Thanks: Mohammad for providing the patch and Swapnil Shah for reporting the issue.
Modified: ofbiz/trunk/applications/product/widget/facility/FacilityForms.xml ofbiz/trunk/applications/product/widget/facility/ShipmentForms.xml Modified: ofbiz/trunk/applications/product/widget/facility/FacilityForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/widget/facility/FacilityForms.xml?rev=1761125&r1=1761124&r2=1761125&view=diff ============================================================================== --- ofbiz/trunk/applications/product/widget/facility/FacilityForms.xml (original) +++ ofbiz/trunk/applications/product/widget/facility/FacilityForms.xml Sat Sep 17 06:31:35 2016 @@ -73,14 +73,14 @@ under the License. <field name="internalName"><text-find/></field> <field name="inventoryItemId"><text-find/></field> <field name="statusId"> - <drop-down allow-empty="true"> + <check all-checked="false"> <entity-options entity-name="StatusItem" key-field-name="statusId"> <entity-constraint name="statusTypeId" operator="equals" value="INV_NON_SER_STTS"/> </entity-options> <entity-options entity-name="StatusItem" key-field-name="statusId"> <entity-constraint name="statusTypeId" operator="equals" value="INV_SERIALIZED_STTS"/> </entity-options> - </drop-down> + </check> </field> <field name="serialNumber"><text-find/></field> <field name="softIdentifier"><text/></field> Modified: ofbiz/trunk/applications/product/widget/facility/ShipmentForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/widget/facility/ShipmentForms.xml?rev=1761125&r1=1761124&r2=1761125&view=diff ============================================================================== --- ofbiz/trunk/applications/product/widget/facility/ShipmentForms.xml (original) +++ ofbiz/trunk/applications/product/widget/facility/ShipmentForms.xml Sat Sep 17 06:31:35 2016 @@ -47,12 +47,12 @@ under the License. </drop-down> </field> <field name="statusId" title="${uiLabelMap.CommonStatus}"> - <drop-down allow-empty="true"> + <check all-checked="false"> <entity-options description="${description}" entity-name="StatusItem" key-field-name="statusId"> <entity-constraint name="statusTypeId" value="SHIPMENT_STATUS"/> <entity-order-by field-name="description"/> </entity-options> - </drop-down> + </check> </field> <field name="estimatedShipDate" title="${uiLabelMap.ProductEstimatedShipDate}"><date-find/></field> <field name="entryDate" title="${uiLabelMap.FormFieldTitle_entryDate}"><date-find/></field>