Commit Graph
17 Commits
Author SHA1 Message Date
Jacques Le Roux b9c3ddef08 2d part and end of an effort to remove trailing spaces
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg)

Of course this effort to remove trailing spaces has no functional implications.

Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {

So these changes are also in this commit, should not be a problem anyway.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
Jacques Le Roux 572b7683e0 All tabs to 4 spaces in *.groovy, *.java, *.xml : less problems in future with that aspect...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@737003 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 11:08:47 +00:00
David E. Jones 874f02e9da Manual merge of typecheckcleanup200810 branch as of rev 731346 in that branch, resolved all conflicts; with this BigDecimal is not the native type for many entity fields and is used for many calculations; some work is still needed in certain areas of the project but this covers the most critical ones; thanks especially to Scott for his work on this
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@731851 13f79535-47bb-0310-9956-ffa450edef68
2009-01-06 07:13:36 +00:00
Vikas Mayur b2a40a0be5 In shopping cart and summary, Discount is calculated as Sum of Order Adjustments. Patch from Brajesh Patel
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@676589 13f79535-47bb-0310-9956-ffa450edef68
2008-07-14 13:52:20 +00:00
Vikas Mayur 60beb82a67 Now Shopping Cart is working in One page Checkout.
Continued effort from Brajesh Patel, Sumit Pandit, Rishi Solanki and Santosh Malviya .....

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@673593 13f79535-47bb-0310-9956-ffa450edef68
2008-07-03 05:50:33 +00:00
Jacopo Cappellato ed67245ac0 Following discussion on the dev list, reverted commit done by Si Chen with rev. 646132: transactions ARE important for reading as well as writing, and should pretty much always be used.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@651193 13f79535-47bb-0310-9956-ffa450edef68
2008-04-24 08:13:52 +00:00
Si Chen ac1d8b5c73 turning off transactions for loading of cart from quote, since there does not seem to be any data being stored, and having a transaction consumes resources unnecessarily and could cause it to fail if there are many items on a quote
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@646132 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 23:21:14 +00:00
Anil Patel 01e6e01001 missed few files from previous commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@601255 13f79535-47bb-0310-9956-ffa450edef68
2007-12-05 08:49:11 +00:00
Timothy Ruppert 9e83eb06f1 Added service to get the cart-based index of the first cart item for a particular productId
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@567507 13f79535-47bb-0310-9956-ffa450edef68
2007-08-19 23:21:20 +00:00
Anil Patel 81d9782287 added currency formatted out values to getShoppingCartData. Lets thing to worry on client side.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565935 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 21:53:59 +00:00
Anil Patel 99dc1dcde1 adding service to return shoppingCart data.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565651 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 08:05:12 +00:00
David E. Jones 7d70c41c12 Did a big search/replace to change all xsd file refs from www.ofbiz.org to ofbiz.apache.org
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@539504 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 15:47:14 +00:00
Jacopo Cappellato f28e46cbe4 Fixed bug that was preventing the cancellation of an order item if the the ATP of the item was 0 or if the discontinuation date was passed.
Fixed by adding two optional parameters to the loadCartFromOrder (and to the ShoppingCart* methods as well) to skip the checks for inventory and discontinuation date while loading the cart in memory.
This should also help to fix OFBIZ-501.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@517183 13f79535-47bb-0310-9956-ffa450edef68
2007-03-12 11:38:10 +00:00
Jacques Le Roux dad67935f7 A (large) patch from Scott Gray "Update ASL header" (https://issues.apache.org/jira/browse/OFBIZ-637).
I put also some svn:ignore for shark build and lib diretories and assetmaint/build 

I did some by hand lately, too much to remember. They were files with old header but without copyright. A 1st attempt I suppose, will have to check this after this commit.

I add some problems to commit this patch in one piece because it's so huge (specially with Eclipse I had to turn to Tortoise) !

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499486 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 17:15:54 +00:00
Jacopo Cappellato 33c0910c88 Added optional input parameter to the cart service that assigns items to ship groups to make optional the removal of empty groups.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@433199 13f79535-47bb-0310-9956-ffa450edef68
2006-08-21 08:51:11 +00:00
Jacopo Cappellato dc9c759053 License change from MIT to ASL2.0 for the files of the order component.
Thanks to Ashish Vijaywargiya for the patch (Apache OFBIZ-87).


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@422819 13f79535-47bb-0310-9956-ffa450edef68
2006-07-17 19:47:26 +00:00
David E. Jones 94fe6d1cda Initial OFBiz import from revision 7923 of the old svn.ofbiz.org SVN repository.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@418498 13f79535-47bb-0310-9956-ffa450edef68
2006-07-01 19:05:20 +00:00