Description of the work:
Added defaultSequenceNum field for sort order in makeCategoryFeatureLists method for ParametricSearch.java.
If user want to display product feature in specific order for advanced search so this could be done through defaultSequenceNum. Currently product feature sort only basis of description in makeCategoryFeatureLists method.So if user set defaultSequenceNum field for ProductFeature, then productFeature can not sequence according to defaultSequenceNum for advanced search.
After adding defaultSequenceNum field in sort order, ProductFeature now also sort with respect to defaultSequenceNum.
Thanks Deepak & Rishi for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@936296 13f79535-47bb-0310-9956-ffa450edef68
It will work as follows;
We will set the special type price as 'MINIMUM_ORDER_PRICE' for a Product in ProductPrice entity. On the basis of it we will get the minimum order quantity of the product on the basis of this price and sale price.
Will get the minimum order quantity for product by division. For example we have selling price of product P1 is $10.00 and its MINIMUM_ORDER_PRICE is $100.00 then minimum order quantity for the product will be --> 100/10 ==> 10.
To achieve the above ;
write a getMinimumOrderQuantity() method in ShoppingCart.java which takes the itemBasePrice and productId as in parameter, and call it where we add, update the cart items and change the quantity to minmumOrderQuantity if it is less then minimum.
Thanks Deepak & Rishi for the contribution and others for providing valuable comments / suggestions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@936228 13f79535-47bb-0310-9956-ffa450edef68
Description of work:
Include DOCTYPE at the begining of html pages, that are render through cms.
Currently DOCTYPE is included in HtmlHead.ftl for cms.
By doing so the DOCT YPE is always included on the top of the page before rendering single HTML statement.
Thanks Deepak & Rishi for the contribution and Scott for the comments.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935886 13f79535-47bb-0310-9956-ffa450edef68
Medium set of changes; most very trivial (adding suppress serial, filling in Collection generics signature, removing or commenting out unused variables, etc.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935487 13f79535-47bb-0310-9956-ffa450edef68
OFBIZ-3682 - XHTML validation errors round 2 (workeffort)
https://issues.apache.org/jira/browse/OFBIZ-3682
XHTML validation errors
* Unclosed tags
* attributes without values (checked, selected, disabled, etc)
* attribute values without "
* Uppercase tags or attributes.
* Unencoded ampersands in urls.
Other errors:
WorkEffortSearchOptions.ftl
Line 162: Input is not allowed directly inside table.
WorkEffortCommEventForms.xml
Line 59: hidden field in sort order before banner creates a visible empty table.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935310 13f79535-47bb-0310-9956-ffa450edef68
OFBIZ-3685 - XHTML validation errors round 2 (order)
https://issues.apache.org/jira/browse/OFBIZ-3685
XHTML validation errors
* Unclosed tags
* attributes without values (checked, selected, disabled, etc)
* attribute values without "
* Uppercase tags or attributes.
* Unencoded ampersands in urls.
Other errors:
checkinits.ftl
Line 104, 171: duplicated id userLoginId
appendorderitem.ftl
Line 65: invalid a closing
editorderitems.ftl
Line 214: needed td close;
orderagreements.ftl
Line 35,55: hidden input must be inside td.
Line 37,67: attribute valign not valid for tr
orderinfo.ftl
Lines 22-88: form must be inside li.
Lines 232-248: form must be inside td.
orderpaymentinfo.ftl
LInes 122,123,124,155: wrong syntax -> class"label" should be -> class="label"
ordershippinginfo.ftl
Line 62: form must be inside li.
Line 296,297: label for attribute does not match input id
Lines 308, 310: label for attribute does not match select id
Line 318: duplicated unneeded id.
Line 319. 321: label for attribute does not match select id
Lines 499, 519: form must be inside td
Line 527: duplicated span open
Lines 521,546: form must be inside td
Line 552: duplicated span open
quoteInfo.ftl
Line 40: invalid /div
quoteRoles.ftl
Lines 24-44: avoid empty table
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935270 13f79535-47bb-0310-9956-ffa450edef68
Party was very clean; only a few minor changes - also added a @SupressWarnings("serial") in framework's MimeMessageWrapper (noticed when fixing iteration from this in Party).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935269 13f79535-47bb-0310-9956-ffa450edef68
OFBIZ-3690 - XHTML validation errors round 2 (accounting)
https://issues.apache.org/jira/browse/OFBIZ-3690
XHTML validation errors
* Unclosed tags
* attributes without values (checked, selected, disabled, etc)
* attribute values without "
* Uppercase tags or attributes.
* Unencoded ampersands in urls.
Other errors:
CostCenters.ftl
Lines 37,51: input must be inside td.
Lines 45,47: duplicated id, and invalid character "|"
EditCustomTimePeriods.ftl
Form must be outside table
CommisionReport.ftl
Line 77: invalid td outside tr and there is no open table at this point
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935260 13f79535-47bb-0310-9956-ffa450edef68