David E. Jones
742ef5cab3
Added an update method for OrderShipment, used when splitting ShipmentItems
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@569750 13f79535-47bb-0310-9956-ffa450edef68
2007-08-26 01:03:26 +00:00
David E. Jones
a119e17705
A bit of refactoring, but mostly implemented feature only previously implied to save the replacementOrderId on ReturnItemResponse, and attach to relevant ReturnItems
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@569386 13f79535-47bb-0310-9956-ffa450edef68
2007-08-24 13:49:21 +00:00
David E. Jones
75383942db
Small fix for certain funny orders with minimal item information
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@569385 13f79535-47bb-0310-9956-ffa450edef68
2007-08-24 13:46:21 +00:00
David E. Jones
8eaf97a5b6
Changed ShipmentReceipt processing code to properly update ReturnItem status and receivedQuantity values
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@568213 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 17:49:26 +00:00
Anil Patel
91a6d92df9
Compute and return shipping estimate even if there is not shippingContactMechId. Left some commented code with comments to help others review the modifications.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@568175 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 15:56:07 +00:00
David E. Jones
dd40404bae
Reformatting only, no functional changes
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@568167 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 15:29:27 +00:00
David E. Jones
02ec5b3a51
Small fix to break when an address is found rather than just at the end of the first iteration, making the loop meaningless
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@567662 13f79535-47bb-0310-9956-ffa450edef68
2007-08-20 12:04:37 +00:00
David E. Jones
f9d6efd656
A bit of refactoring to isolate shipping address setting in the cart, plus some general debug statements now mostly commented out to track down how it's used
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@567660 13f79535-47bb-0310-9956-ffa450edef68
2007-08-20 11:55:22 +00:00
David E. Jones
c2ff9a10ad
Corrected comment
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@567565 13f79535-47bb-0310-9956-ffa450edef68
2007-08-20 07:07:58 +00:00
David E. Jones
8d31464ca4
Added method to get total for all promotions in cart
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@567525 13f79535-47bb-0310-9956-ffa450edef68
2007-08-20 02:21:01 +00:00
David E. Jones
4180c1fafb
Changed getProductPromoUseTotalDiscount to consider all promos if the passed in ID is null
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@567522 13f79535-47bb-0310-9956-ffa450edef68
2007-08-20 02:13:27 +00:00
David E. Jones
6bfbcddc56
Changed to pass on and log more information related to errors; had some problems in code using this code that were masked by insufficient information
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@567520 13f79535-47bb-0310-9956-ffa450edef68
2007-08-20 02:02:50 +00:00
Timothy Ruppert
fc0340f833
Fixed typo in not using size from list
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@567508 13f79535-47bb-0310-9956-ffa450edef68
2007-08-19 23:30:19 +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
Jacopo Cappellato
863012ff02
Applied patch from Bilgim Ibryam to fix wrong billfromvendor for po created from quotes. OFBIZ-1181
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@567368 13f79535-47bb-0310-9956-ffa450edef68
2007-08-19 07:58:01 +00:00
David E. Jones
e3cc06b406
Undo changes from Adrian Crum in rev 567090; different way of addressing this is being discussed
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@567316 13f79535-47bb-0310-9956-ffa450edef68
2007-08-18 19:04:24 +00:00
Adrian Crum
73290f1b58
Moved the ecommain.css file to the ecommerce component. Existing installations will need to update the stylesheet field in their ProductStore entity.
...
Moved forum.properties file to the content component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@567090 13f79535-47bb-0310-9956-ffa450edef68
2007-08-17 17:22:04 +00:00
Adrian Crum
b5fcf837b9
Trivial code cleanups from Bilgin Ibryam, OFBIZ-1212.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@567087 13f79535-47bb-0310-9956-ffa450edef68
2007-08-17 17:02:55 +00:00
Jacopo Cappellato
1cb87d6e78
Implemented util methods to get the total shippable quantitiy from all the ship groups of an order.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@567065 13f79535-47bb-0310-9956-ffa450edef68
2007-08-17 15:15:19 +00:00
David E. Jones
4889829faf
Some changes to more robustly get an address for recalculating tax, AND made it optional so that if there is no address (which we technically allow in OFBiz) it won't blow up but instead just won't recalculate tax; note that orders in that category generally don't have tax in the first place; this was reported in Jira #OFBIZ-1198; also added note for handling face-to-face or immediately fulfilled orders, which would also be applicable for rental orders... ie that special case needs to be identified by appropriate criteria and handled as needed here in the OrderServices.recalcOrderTax method AND in the related method that works on the cart when an order is placed, namely CheckOutHelper.makeTaxContext
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@566719 13f79535-47bb-0310-9956-ffa450edef68
2007-08-16 13:50:38 +00:00
David E. Jones
c187e6c246
Small change so it doesn't blow up... didn't test to see if this works as desired though
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@566715 13f79535-47bb-0310-9956-ffa450edef68
2007-08-16 13:46:41 +00:00
Si Chen
870774a46c
OFBIZ-1205 contribution from Leon Torres. Fixes unresolved issue of how to select a facilityId for default purchase order shopping cart.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@566369 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 22:41:37 +00:00
Hans Bakker
c995e02a6a
OFBIZ 1171, patch from Bilgin Ibryam to allow reservations also on quotes.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@566181 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 14:17:37 +00:00
Jacopo Cappellato
5d5f97daca
Added more debug messages and fixes for NPE to the service used to import orders from eBay.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@566099 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 10:48:45 +00:00
Jacopo Cappellato
0082807e34
Fixed (odd) error I did in the product id resolution routine for imported orders from eBay.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@566047 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 07:58:49 +00:00
Anil Patel
523f13c137
check StatusValidChange only if statusId is coming in Parameter
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565988 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 00:32:45 +00:00
Anil Patel
f7bb4c0692
I think StatusValidChange check makes sense only if we are modifying statusId.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565987 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 00:25:30 +00:00
Anil Patel
dca3e2f839
Now updateReturnHeader checks if the status change is valid.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565985 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 00:11:22 +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
David E. Jones
f609a0e2ee
Changed this to be a button since it is DEFNITELY NOT a tab
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565729 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 12:39:06 +00:00
Anil Patel
bdfaf5d5ac
Now adding Refurbished item to replacement order only if its in stock.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565704 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 11:15:12 +00:00
David E. Jones
9efdef1c5e
Fixed issue with setting status to accepted and setting the paymentMethodId in the same call; also other small cleanups
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565652 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 08:10:49 +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
e2ab638f43
Changed to use entity-condition instead of evaluating conditions in memory after a wider query
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565647 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 07:20:45 +00:00
Jacopo Cappellato
ef2b12d296
Implemented service to create several test sales orders with random products in them.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565129 13f79535-47bb-0310-9956-ffa450edef68
2007-08-12 20:12:36 +00:00
Jacques Le Roux
6b10f1ecd6
The seca part of the patch from Bilgin Ibryam "Quote WorkEffort bug" ( https://issues.apache.org/jira/browse/OFBIZ-1180 )
...
I'm currently working on a solution more general than the one Bilgin proposed in his patch (it might be applied temporarily if needed).
I want to add a target-type tag to the alt-target tag. But it's not as easy as I thought because alt-target is a list. I wonder also if I should have worked this on the other side of extends : keeping the target of the calling forms. I chose this way because it seemed more general to me. Please correct me if I'm wrong.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565083 13f79535-47bb-0310-9956-ffa450edef68
2007-08-12 16:12:10 +00:00
Jacques Le Roux
ea8c8f8633
A patch from David Shere "Automatic fill-in date on ImportOrdersFromEbay" ( https://issues.apache.org/jira/browse/OFBIZ-1196 )
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564966 13f79535-47bb-0310-9956-ffa450edef68
2007-08-11 20:19:45 +00:00
David E. Jones
b1832d49f8
Added method to see if an order has physical product items
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564521 13f79535-47bb-0310-9956-ffa450edef68
2007-08-10 09:07:18 +00:00
Jacopo Cappellato
13769d5fe9
Applied fix from David Shere OFBIZ-1190 for the wrong amount passed to the cart by the eBay import service.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564503 13f79535-47bb-0310-9956-ffa450edef68
2007-08-10 08:15:07 +00:00
Si Chen
a49bc5827d
Commenting out the autoCancelOrderItems service by default. Only some businesses do this, and most of the others are usually shocked if this happened, so it should not be part of seed data and default behavior
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564444 13f79535-47bb-0310-9956-ffa450edef68
2007-08-10 00:56:22 +00:00
Jacopo Cappellato
b9fd7efa6a
Improved fix for validation error when no address is available; thanks to Bilgin Ibryam for the review OFBIZ-1192
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564373 13f79535-47bb-0310-9956-ffa450edef68
2007-08-09 20:26:41 +00:00
Anil Patel
3d8775574f
Adding a service to check if orderItem is on BackOrder.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564359 13f79535-47bb-0310-9956-ffa450edef68
2007-08-09 19:53:35 +00:00
Jacopo Cappellato
951970eb25
Fixed bug reported by Bilgin Ibryam in OFBIZ-1192: error generated by FOP if the list of addresses is null for a sales order.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564187 13f79535-47bb-0310-9956-ffa450edef68
2007-08-09 12:35:02 +00:00
David E. Jones
8f02162198
Small change to not try to change the status to itself
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@563918 13f79535-47bb-0310-9956-ffa450edef68
2007-08-08 15:37:55 +00:00
Jacopo Cappellato
c644d108e5
Needed to set the workEffortId during order entry (forgot to commit in my previous commit).
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@563544 13f79535-47bb-0310-9956-ffa450edef68
2007-08-07 16:16:35 +00:00
Jacopo Cappellato
ebd7e83536
Added ability to set a work effort id at the beginning of the order entry (backend); it will generate a record in the OrderHeaderWorkEffort entity.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@563525 13f79535-47bb-0310-9956-ffa450edef68
2007-08-07 15:34:47 +00:00
Jacopo Cappellato
32cf4bd1e8
Fix for automatic eBay order completion upon ofbiz shipment.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@563059 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 08:02:26 +00:00
Jacques Le Roux
2ca4544d8c
Closes "Convert all remaining tag head1, head2, head3 to h1, h2, h3 in eCommerce" ( https://issues.apache.org/jira/browse/OFBIZ-1183 )
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@562934 13f79535-47bb-0310-9956-ffa450edef68
2007-08-05 19:18:22 +00:00
Jacopo Cappellato
747abc2553
Misc fixes for the eBay import interface.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@562917 13f79535-47bb-0310-9956-ffa450edef68
2007-08-05 17:48:06 +00:00
Jacopo Cappellato
ab285739be
Misc improvements and fixes to the eBay import interface.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@562914 13f79535-47bb-0310-9956-ffa450edef68
2007-08-05 17:17:49 +00:00