Commit Graph
991 Commits
Author SHA1 Message Date
Jacques Le Roux 84fb49d051 A patch from Wai "missing request-maps for search related buttons" (https://issues.apache.org/jira/browse/OFBIZ-3929) - OFBIZ-3929
Missing request-maps in ordermgr controller.xml:
clearSearchOptionsHistoryList
setCurrentSearchFromHistory
setCurrentSearchFromHistoryAndSearch

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995686 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10 07:13:41 +00:00
Ashish Vijaywargiya 9adc1e0669 Applied patch from jira issue - OFBIZ-3924 - Bug on creating Communication event for order return emails(return accept, return complete and return cancel).
Bug on creating Communication event for order return emails(return accept, return complete and return cancel). Attached return pdf along with return emails.

Thanks Anurag for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@993387 13f79535-47bb-0310-9956-ffa450edef68
2010-09-07 15:03:20 +00:00
Ashish Vijaywargiya 4474b06d4f Applied patch from jira issue OFBIZ-3921 - Return PDF should contain reason of return.
Thanks Anurag for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@992244 13f79535-47bb-0310-9956-ffa450edef68
2010-09-03 09:48:07 +00:00
Hans Bakker 552ab71a62 make the access of productData and content use the cache. This wil result in a 20% speed increase of the ecommerce homepage
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@988893 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 08:45:08 +00:00
Ashish Vijaywargiya 67a7985925 Changing the sorting order(storeName -> productStoreId, storeName) of Product Store. In general for testing purpose we create sales order for an Ecommerce store from the back office ordermgr application, so each time we select the Ecommerce ProductStore first to have all the upcoming steps work without any issues. Now after this change the "OFBiz E-Commerce Store" should come first on OrderEntry screen.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@987996 13f79535-47bb-0310-9956-ffa450edef68
2010-08-23 05:04:53 +00:00
Jacques Le Roux 008c6f660b Fix a bug reported by rrhati on user ML: Error message while adding to cart from ecommerce's promotion detail page
I get a error that "ERROR: No promotion found with ID [] " when I click on "add to cart" on the promotional items from the promotiondetail page. Have a look at the screenshots at 
http://ofbiz.135035.n4.nabble.com/Error-message-while-adding-to-cart-from-ecommerce-s-promotion-detail-page-td2320794.html#a2321147

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@985473 13f79535-47bb-0310-9956-ffa450edef68
2010-08-14 12:06:48 +00:00
Adam Heath b273b52dad Finally created a script to find and fix tons of missing final newlines.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@982870 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 04:46:48 +00:00
Scott Gray 327081a1bb Replaced all usage of CommonWorkers.hasParentType(...) with the EntityTypeUtil version.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@981447 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02 10:48:06 +00:00
Jacopo Cappellato 8c0e270f51 Added ability to create new shipment groups to an existing order. This also fixes a bug mentioned in one of the comments to "OFBIZ-1809" (duplicated ship groups were assigned to newly created items when they were not assigned to the first ship group). Misc code formatting fixes that I did while wading thru the code.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@980655 13f79535-47bb-0310-9956-ffa450edef68
2010-07-30 05:37:28 +00:00
Scott Gray 0a09814ebf URLs defined as javascript variables shouldn't be xhtml encoded because when they are assigned to an element's url attribute (action, href, etc.) the browser doesn't decode them before using them.
Applied patch from Deepak Dixit OFBIZ-3860 and additionally fixed some others that I found.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@963915 13f79535-47bb-0310-9956-ffa450edef68
2010-07-14 00:38:19 +00:00
Erwan de Ferrieres 722c243ac0 OFBIZ-3849 - Removed hard coded year and month from 'Order Entry Payment Settings' screen for credit card
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@960997 13f79535-47bb-0310-9956-ffa450edef68
2010-07-06 19:52:34 +00:00
Jacques Le Roux 7953289430 I don't know how this line was removed anyway I re-add it (found by chance while backporting to R4.0)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@958521 13f79535-47bb-0310-9956-ffa450edef68
2010-06-28 09:51:16 +00:00
Jacques Le Roux a12192be22 Finally I thought that there are no good reasons to show canceled values: this amends r958343
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@958514 13f79535-47bb-0310-9956-ffa450edef68
2010-06-28 09:36:28 +00:00
Jacques Le Roux 8cf49bf87d The Sales by Store Report was wrong has it did not use a complex alias for quantityOrdered (OrderItem.quantity - OrderItem.cancelQuantity) but only OrderItem.quantity. Thus canceled quantities were not taken into account.
A little drawback is that if there are 0 values sold this values show. But actually it's not a problem since it informs the user that all quantities ordered for this product has been canceled

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@958343 13f79535-47bb-0310-9956-ffa450edef68
2010-06-27 07:42:46 +00:00
David E. Jones cd4ba0840f Added code to get tax id in more circumstances in the PDF company header
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@957870 13f79535-47bb-0310-9956-ffa450edef68
2010-06-25 10:07:38 +00:00
Jacques Le Roux ea5e0ae9f6 Revert r957221 based on community consensus
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@957430 13f79535-47bb-0310-9956-ffa450edef68
2010-06-24 06:28:42 +00:00
Jacques Le Roux 6b9d0f5139 Fix: "FIXME Problem here the input field is shared", now use also a layered lookup, only remains the order item (a bit more convoluted)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@957221 13f79535-47bb-0310-9956-ffa450edef68
2010-06-23 14:36:31 +00:00
Jacques Le Roux b6030fa93c Product.productTypeId may not exist in a custom application
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@957160 13f79535-47bb-0310-9956-ffa450edef68
2010-06-23 11:16:33 +00:00
David E. Jones b441416115 Small change to not blow up if orderHeader.salesChannelEnumId is not set in the order manager order detail screen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@956858 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 12:03:59 +00:00
Vikas Mayur f2e47a18c5 Fixed an issue when SupplierProduct.minimumOrderQuantity was not displayed on the bulk product lookup screen in order entry.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@956558 13f79535-47bb-0310-9956-ffa450edef68
2010-06-21 13:01:35 +00:00
Scott Gray 375eec00c2 Update catalog urls to use the new OfbizCatalogUrl directive
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@956485 13f79535-47bb-0310-9956-ffa450edef68
2010-06-21 08:05:07 +00:00
David E. Jones aba8b28655 Improved missing party handling for order view, especially purchase orders; also in the CompanyHeader improved getting bill to customer so it doesn't do the same thing over and over, and it could possibly be simplified more but should have a better fallback for future changes with the current two possible ways of getting it
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@956402 13f79535-47bb-0310-9956-ffa450edef68
2010-06-20 20:12:27 +00:00
Jacques Le Roux 9ef845d0ad A patch from BJ Freeman "complete web.xml for error reporting" (https://issues.apache.org/jira/browse/OFBIZ-3820) - OFBIZ-3820
BJ: when there is an error, the control servlet looks for an error path in <param-name>allowedPaths</param-name>
it does not find one throwing an exception which buries the orginal error.
instead of changing the code it is just easier to add the /error: path.
then the real error gets reported correctly.

JLR: This will maybe help to better understand some errors on demo servers, and can't hurt

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@954135 13f79535-47bb-0310-9956-ffa450edef68
2010-06-12 20:47:08 +00:00
Jacques Le Roux 19820b64c6 Fix "Securing URL's issue in editorderitems.ftl and ordercontactinfo.ftl" (https://issues.apache.org/jira/browse/OFBIZ-2514) - OFBIZ-2514
I did not find any other remaining errors

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@951098 13f79535-47bb-0310-9956-ffa450edef68
2010-06-03 18:23:53 +00:00
Jacques Le Roux 47b0020afe A patch from Ankit Jain, removes useless redundant <request-map uri="authview">, it's now in the common controller(https://issues.apache.org/jira/browse/OFBIZ-3469) - OFBIZ-3469
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@949142 13f79535-47bb-0310-9956-ffa450edef68
2010-05-28 10:30:46 +00:00
Jacques Le Roux 2a1a5aee14 We don't need
<copyright>Copyright 2001-.* The Apache Software Foundation</copyright>
<copyright><year>.*</year><holder>Apache Foundation</holder></copyright>
<copyright><year>.*</year><holder>Apache Foundation.</holder></copyright>
<owner>Copyright 2001-.* The Apache Software Foundation</owner>

Less to update every year!

Thanks to BJ 1st effort at "update files from 2009 to 2010" (https://issues.apache.org/jira/browse/OFBIZ-3783) - OFBIZ-3783

Note: there are been a lot of efforts in 2009: there are plenty of data dated from this year!

I hope I did not broke anything (should not, but of course I did not try all changes...) Anyway, this can be easily reverted...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948846 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 14:23:22 +00:00
Jacques Le Roux 2b49c6049d Some languages don't use # for number http://en.wikipedia.org/wiki/Number_sign
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@947485 13f79535-47bb-0310-9956-ffa450edef68
2010-05-23 20:18:07 +00:00
Jacques Le Roux cb591b9c6a Some languages don't use # for number http://en.wikipedia.org/wiki/Number_sign
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@947483 13f79535-47bb-0310-9956-ffa450edef68
2010-05-23 20:15:49 +00:00
Erwan de Ferrieres 375e08974c XHTML validation errors round 2++ (order) OFBIZ-3751 (https://issues.apache.org/jira/browse/OFBIZ-3751)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@946313 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 18:00:43 +00:00
Hans Bakker 5c8df09820 add an empty value on the country selection dropdown of the orderfind screen so the default screen shows all orders
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@945008 13f79535-47bb-0310-9956-ffa450edef68
2010-05-17 07:53:28 +00:00
Hans Bakker 199a554001 reverted part of previous commit, not wanted (yet)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@945006 13f79535-47bb-0310-9956-ffa450edef68
2010-05-17 07:51:20 +00:00
Hans Bakker 58deb9850d creation of new purchase order from existing order resulted in a NPE because the productstore is missing: fixed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@945000 13f79535-47bb-0310-9956-ffa450edef68
2010-05-17 07:22:30 +00:00
Scott Gray 6d2ff016a9 Removed use of deprecated method ProductWorker.getProductvirtualVariantMethod(Delegator, String)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@944177 13f79535-47bb-0310-9956-ffa450edef68
2010-05-14 09:46:46 +00:00
Adam Heath 3920f42382 Protect party note display when there is no party attached to the note.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@943272 13f79535-47bb-0310-9956-ffa450edef68
2010-05-11 20:25:53 +00:00
Adam Heath 36d9dd9821 The call to getPartyNameForDate was broken into multiple lines, so
combine them together.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@943271 13f79535-47bb-0310-9956-ffa450edef68
2010-05-11 20:25:47 +00:00
Scott Gray 0f30714350 Set svn properties on all freemarker files that were missing them
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@942386 13f79535-47bb-0310-9956-ffa450edef68
2010-05-08 13:51:19 +00:00
Jacopo Cappellato d8f89793a3 Small fix to prevent a NPE if the store is not set in an order header.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@941785 13f79535-47bb-0310-9956-ffa450edef68
2010-05-06 15:56:40 +00:00
Jacopo Cappellato 88cc80598c Added screen (similar to the existing one for order confirmation) to manually send an order completion email. The code shared by the two screens could be improved to make it more reusable.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@941732 13f79535-47bb-0310-9956-ffa450edef68
2010-05-06 13:55:48 +00:00
Hans Bakker b63f00d516 be able to enter a shipping extimate per shipping group on purchase order entry
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@940803 13f79535-47bb-0310-9956-ffa450edef68
2010-05-04 11:00:44 +00:00
Jacques Le Roux df40275120 A completed patch from Sascha Rodekamp "Lookup Layer Search of a Varient Product" (https://issues.apache.org/jira/browse/OFBIZ-3746) - OFBIZ-3746
Fix the variant issue in product lookups
Remove the temporary window presentation workaround (done at r939232)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@940410 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 10:37:33 +00:00
Bruno Busco ea1a5dbe67 A patch from Blas Rodriguez Somoza
OFBIZ-3701 - Errors (with visible stacktraces) in screen: Order -> Order List -> Select (a sales order) -> Edit items
https://issues.apache.org/jira/browse/OFBIZ-3701
Fixed two errors in "edit items" from a sales order with visible stacktraces
Error 1 - Expression orderItemStatus.statusDatetime is undefined on line 133, column 37 in component://order/webapp/ordermgr/order/editorderitems.ftl
Error 2 - Expression catalogCol is undefined on line 37, column 18 in component://order/webapp/ordermgr/order/appendorderitem.ftl.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@939938 13f79535-47bb-0310-9956-ffa450edef68
2010-05-01 07:12:21 +00:00
Vikas Mayur b0f17cbd77 I think it would be a good idea to show Category Name instead of Category description. The chances are that the former
would be present in most of the cases. This fix an issue with the quick add feature on order manager where the drop for 
quick add categories wasn't showing any thing because the description is not present on the quick add categories. This 
eventually fixes the same issue in the ecommerce because the ecommerce inherits this feature from order manager.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@939937 13f79535-47bb-0310-9956-ffa450edef68
2010-05-01 07:04:06 +00:00
Bruno Busco c129c215e8 A patch from Blas Rodriguez Somoza
OFBIZ-3732 - XHTML validation errors round 2+ (order)
https://issues.apache.org/jira/browse/OFBIZ-3721
billsettings.ftl
attributes without values

orderagreements.ftl
Removed catalog select when there are no catalogs available.

shipsettings.ftl
attributes without values

showcart.ftl
attributes without values

configproductdetail.ftl
attributes without values

quickReturn.ftl
attributes without values

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@939760 13f79535-47bb-0310-9956-ffa450edef68
2010-04-30 17:52:08 +00:00
Jacques Le Roux 92699050d0 A temporary workaround for the problem reported by Sam Hamilton at https://issues.apache.org/jira/browse/OFBIZ-3746: "Lookup Layer Search of a Variants Product"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@939232 13f79535-47bb-0310-9956-ffa450edef68
2010-04-29 08:47:57 +00:00
Scott Gray 52b08f4574 Removed all references to the deprecated GenericDelegator method findAll(String)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@938947 13f79535-47bb-0310-9956-ffa450edef68
2010-04-28 11:30:23 +00:00
Vikas Mayur d3fcee2891 Fixed a typo varient -> variant in the comment. Also did minor formatting to the code.
if( -> if (
methodDeclaration () -> methodDeclaration() etc.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@937953 13f79535-47bb-0310-9956-ffa450edef68
2010-04-26 07:49:58 +00:00
Bilgin Ismet Ibryam c0f88d6715 Added externalLoginKey parameter to invoice PDF link in order view screen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@937266 13f79535-47bb-0310-9956-ffa450edef68
2010-04-23 12:35:58 +00:00
Ashish Vijaywargiya a9d1a7a8f5 Applied patch from jira issue: OFBIZ-3633 - Minimum order quantity.
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
2010-04-21 09:36:40 +00:00
Bruno Busco 35ac7ec381 A slightly changed (tabs replaced with spaces) patch from Blas Rodriguez Somoza
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
2010-04-17 22:26:44 +00:00
Joseph Eckard 6f30dd1146 cleaned up order header adjustment display
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935032 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 18:27:05 +00:00