Commit Graph
275 Commits
Author SHA1 Message Date
Bruno Busco aee9b7b437 Moved some application labels out of the framework
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882731 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 21:50:31 +00:00
Ashish Vijaywargiya 70548f0b98 Applied patch from jira issue OFBIZ-3077 - Error for productStoreId when click on productId link from showcart of purchase order.
Steps regenerate error:
1) Hit url: https://localhost:8443/ordermgr/control/orderentry
2) Select purchase order with supplier
3) Add product for order
4) Click on the productId from showcart page

it will generate error as following
org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen component://order/widget/ordermgr/OrderEntryCatalogScreens.xml#productdetail: java.lang.NullPointerException: Cannot get property 'productStoreId' on null object (Cannot get property 'productStoreId' on null object)

Notes from Mridul:
As Joe has already stated that we need to do few adjustments in the code based on presence of productStoreId. I would vote for:

   1. Showing all reviews.
   2. Skipping surveys.

The third section, which is the most important one and needs productStoreId is getProductVariantTree service invoked in ProductDetail.groovy (line 232). getProductVariantTree service needs productStoreId to get available inventory. In case of PO's we don't need to check for available inventory at all. Now for being able to use the same code to display product detail page in case of a PO, we will need to make modifications to getProductVariantTree service too, which can be done in two ways:

   1. Add a boolean IN attribute checkInventory to service definition, if its true check the available inventory and if false do not.
   2. A check on productStoreId in the implementation can serve our purpose too.

I like #1 more as it won't eliminate importance of productStoreId in case of a sales order. Looking forward to suggestions from community to handle this situation.

Thanks Amit for the contribution. Mridul Thanks a lot for providing useful notes for the implementation.
Guys, I appreciate your coordination on this!

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882618 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 15:54:39 +00:00
Ashish Vijaywargiya d1c4fc90ae Conditional check for billingAccount amount. If no account limit is set with party's billing account then 0.00 will be shown on checkout page. Thanks Akash for the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882127 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 12:30:58 +00:00
Scott Gray ca9d5f0b73 Use label for radio input text
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@836146 13f79535-47bb-0310-9956-ffa450edef68
2009-11-14 08:56:38 +00:00
Jacques Le Roux 1f91884e1e Avoid a bug in a peculiar case :
Create an order from order manager with a GZ-BASKET only
Print the PDF picksheet from the order, use Ctrl+clic (in FF) to return to the order on a new tab : bingo

With this change you don't get an error but an error message, far better for users

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@835421 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 15:53:49 +00:00
Scott Gray 8d27aa9be2 Replace some divs with labels for radio option descriptions
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@835330 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 10:50:47 +00:00
Scott Gray af95db299b Replace spans with labels for radio input descriptions, finally got tired of playing bullseye with the radio buttons
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@835327 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 10:44:37 +00:00
Ashish Vijaywargiya d48eee6986 Applied patch from jira issue OFBIZ-3173 - Better supportability for products of type MARKETING_PKG_AUTO in order processing and fulfillment process.
Following points are covered in this patch:
1) Show associated products for product of type "MARKETING_PKG_AUTO" on order items section of show cart page in order manager application.

2) Marketing packages should only shown backordered when ATP of product which compose Marketing packages product are less than quantity added in cart.

3) Pick sheets should show Products of type Marketing Packages along with the products which compose Marketing Packages.

4) Show link of production run created on order items section of Order detail page while placing order for product of type MARKETING_PKG_AUTO.

5) Product of type Marketing Packages should be shown on Verify Pick Screen along with Products they are composed of.

Thanks Divesh for the contribution - this is very nice addition to the trunk.
I would be more then happy to see comments / concern from - Jacopo? Scott? Anil? or others?

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@834479 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10 14:32:53 +00:00
Ashish Vijaywargiya c0d45d8521 Applied patch from jira issue: OFBIZ-3165 - Add additional screen for gift card certificate buying functionality by CSR in Order manager application in add item page.
1) Add additional screen for gift card certificate buying functionality by CSR in Order manager application in add item page

2) Also add feature to fill survey on same page.

3) Also if CSR selects "Create as new order" from Actions block for Gift card products then survey responses will be created automatically for the new order, which will be same as last order. 

Thanks Arun / Divesh for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@833323 13f79535-47bb-0310-9956-ffa450edef68
2009-11-06 09:00:16 +00:00
Jacques Le Roux e739fc04b9 A slightly modified patch from Deepak Dixit "List boxes are not displayed properly in bizznesstime theme." (https://issues.apache.org/jira/browse/OFBIZ-3134) - OFBIZ-3134
I simply used the same syntax than in other themes (XHTML)
+ added =multiple (XHTML compliant) where needed
+ fixed in product quick admin (wrong syntax multiple=true)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@831801 13f79535-47bb-0310-9956-ffa450edef68
2009-11-02 06:15:12 +00:00
Jacques Le Roux 3d247fbaca A patch from Deepak Dixit "Html cleanup of keyword search boxes." (https://issues.apache.org/jira/browse/OFBIZ-2986) - OFBIZ-2986
For the order component.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@830679 13f79535-47bb-0310-9956-ffa450edef68
2009-10-28 17:20:11 +00:00
Jacques Le Roux 061b06acf1 Please gents, no words sentences, thanks
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829875 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26 17:41:41 +00:00
Jacques Le Roux de8c54571b A patch from Rohit Jain "HTML cleanup for orderHeaderInfo.ftl file." (https://issues.apache.org/jira/browse/OFBIZ-3005) - OFBIZ-3005
orderHeaderInfo.ftl file used in order entry process.
In this file table used for non tabular data and its and markup of this file not correct.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829421 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 17:43:12 +00:00
Jacques Le Roux b05b9e6f8f Fix a "bug" : HTML code was shown as is and not as an URL text
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829416 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 17:38:19 +00:00
Bruno Busco f33c01737f Part of OFBIZ-3067 - Menus and form widget files location
Order component
Moved forms from webapp to widget folder
Removed empty folders

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829377 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 14:29:27 +00:00
Bruno Busco 62652236c1 Cleanup of the screenlet title in all FTL files.
Removed all occurrences of <div class="screenlet-header"><div class="boxhead"></div></div>
Replaced with the new
<div class="screenlet-title-bar"><div class="h3"></div></div>

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@821476 13f79535-47bb-0310-9956-ffa450edef68
2009-10-04 08:04:35 +00:00
Bruno Busco 27d52b9c01 Cleaned up several ftl screenlets markup.
Changed from <div class="screenlet-header"> to <div class="screenlet-title-bar">.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@821281 13f79535-47bb-0310-9956-ffa450edef68
2009-10-03 09:30:48 +00:00
Bruno Busco 486c8f477c Cleaned up several ftl screenlets markup.
Changed from <div class="screenlet-header"> to <div class="screenlet-title-bar">.
Replaced <div class="boxhead"> with <div class="h3">.
This fixes also a white text on white background issue with bluelight theme reported by Matthieu Bollot in the dev ML.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@821197 13f79535-47bb-0310-9956-ffa450edef68
2009-10-02 23:00:22 +00:00
Jacques Le Roux 71046660f1 A patch from Prateek Jain "Make ATP/QOH button in purchase order independent of productStore" (https://issues.apache.org/jira/browse/OFBIZ-2967) - OFBIZ-2967
When we click on ATP/'Qoh button in purchase order for a particular order item it gives error that facility id is not present.Ideally in case of purchase order it should not be dependent on productStore. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@818715 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 04:34:57 +00:00
Ashish Vijaywargiya 6bec388b92 Applied patch from jira issue - OFBIZ-2966 - User Friendly Urls on Breadcrumbs of ecommerce/order manager.
Thanks Chirag and Rishi for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@818457 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 12:14:33 +00:00
Ashish Vijaywargiya bc1b7e4e26 No functional change -formating fixes from Sumit Pandit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@816530 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 08:29:16 +00:00
Vikas Mayur a67f6c9939 Applied a combined patch from Eric DE MAULDE and Deepak Dixit where the former is related to fix to the tag and latter is related to markup improvements. For details refer
to jira issue OFBIZ-2935 (https://issues.apache.org/jira/browse/OFBIZ-2935)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@814542 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14 09:31:43 +00:00
Jacopo Cappellato a38f8202aa New util method to find out if a "type" record has a given ancestor.
The method is also used to clean the code related to the two existing marketing package types (that have now in common the same parent).
This will make the framework more flexible because you will be able to create a new product subtype and the system will treat them as its parent type; then you can add custom code to treat it in the special way (if needed). This pattern can be extended in other areas of the system, starting from product types (right now it is also applied to marketing packages).
Thanks to Mridul Pathak for the patch - OFBIZ-2902

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@813413 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 13:02:33 +00:00
Jacques Le Roux 23bdeecc27 Improvment on 811860 (show the pages dropdown only if needed)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811865 13f79535-47bb-0310-9956-ffa450edef68
2009-09-06 19:14:58 +00:00
Jacques Le Roux a2b400a265 A suggested fix by Ruth Hoffman at "categorydetail.ftl page select drop-down and pagination is not compatible with new screen called categorydetailmatrix.ftl. [Screen uses 3 columns per row to display products vs 1 column per row from older versions.]" (https://issues.apache.org/jira/browse/OFBIZ-2596) - OFBIZ-2596
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811860 13f79535-47bb-0310-9956-ffa450edef68
2009-09-06 19:04:43 +00:00
Jacques Le Roux 058dab0279 Complete r811708
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811714 13f79535-47bb-0310-9956-ffa450edef68
2009-09-05 21:12:31 +00:00
Jacques Le Roux 86eecea9a7 Fix "popup window for image opens then closes immediately" (https://issues.apache.org/jira/browse/OFBIZ-2805) - OFBIZ-2805
Introduce a label in CommonUiLabels.xml

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811528 13f79535-47bb-0310-9956-ffa450edef68
2009-09-04 20:01:08 +00:00
Jacques Le Roux 1a1903f2e9 A patch from Carsten Schinzer "ordermgr webapp - catalog - productsummary contains hard coded labels" (https://issues.apache.org/jira/browse/OFBIZ-OFBIZ-2856) - OFBIZ-2856
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@810814 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 08:41:24 +00:00
Vikas Mayur d343f704b4 Fixed order entry cart page, item backordered information should be shown only for sales order. Applied patch from Ratnesh Upadhyay, part of OFBIZ-2863 (https://issues.apache.org/jira/browse/OFBIZ-2863)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@807946 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 09:52:36 +00:00
Jacques Le Roux 7befd1d25e no tabs but 4 spaces in code files (*.ftl, *.gro*, *.java, *.xml)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804935 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 11:01:25 +00:00
Vikas Mayur 25792d1c84 Minor changes to Shortcuts block on Order Entry Cart page to always show the Create Customer link. Earlier this link was displayed only if there were items in the cart.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@798793 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 06:42:59 +00:00
Joseph Eckard 05b4cb624c missed the checkoutsetupform in the orderterm changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@797544 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 15:54:45 +00:00
Joseph Eckard be33a5d47d refactor of addOrderTerm / removeOrderTerm events and associated web artifacts to work as intended; now sets termValue and termDays parameters
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@797535 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 15:34:02 +00:00
Vikas Mayur 7794138ba6 Minor Improvements: Using Order Entry process when user add an item to cart and if the quantity added is greater then ATP then the item is highlighted as Backordered in red
along with the quantities that will go on backorder in the cart. Patch from Arun Patidar. 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@797360 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 08:38:27 +00:00
Scott Gray 68f180a494 OFBIZ-2625 Ability to perform product comparisons in ecommerce and during order entry in ordermgr.
Compares things like name, price, description, long description, brand name and standard, distinguishing and optional features.

Could do with some styling and would be nice to add customer ratings in there as well.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@797259 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23 23:28:32 +00:00
Joseph Eckard 125126b6db Changes to ShoppingCart & order entry to allow PO entry without requiring a ProductStore; updated seed data to remove productStoreId from the OrderEntry website
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@795883 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 15:52:05 +00:00
David E. Jones d4a40bea0a Changed to not blow up if giftEnable is not specified
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792631 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 18:49:56 +00:00
Vikas Mayur 41f6476815 While placing an order through order manager user can add shipping notes. These notes are saved similar to internal order notes but shipping notes are public while internal
order notes are private. Patch from Akash Jain.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792402 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 05:22:02 +00:00
Hans Bakker aba849d199 Thanks to Scott we now use the indicator of the productstore to show/hide the giftwrap options anywhere
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@790801 13f79535-47bb-0310-9956-ffa450edef68
2009-07-03 06:28:16 +00:00
Hans Bakker 5c95e78d1f forgot a gift text showing up when the option is set to 'n'
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@790783 13f79535-47bb-0310-9956-ffa450edef68
2009-07-03 03:19:07 +00:00
Hans Bakker 76b8c7354d introduce a 'gift enable' with default = Y in the order.properties file and pos, ecommerce and ordermgr itself use it
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@790517 13f79535-47bb-0310-9956-ffa450edef68
2009-07-02 09:25:14 +00:00
Vikas Mayur 582a739dcf Added a button Qoh/Atp adjacent to product lookup on cart page on order manager which will show QOH and ATP for the entered product. This button will only be available for
Purchase Orders screen. Applied patch from Akash Jain, part of OFBIZ-2670 (https://issues.apache.org/jira/browse/OFBIZ-2670) 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789696 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 12:43:47 +00:00
Anil Patel 19c6892d12 Minor markup fix. Use input of type submit instead of <a> to submit form.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789543 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 03:29:25 +00:00
Vikas Mayur afe573e7b0 Internal Notes can be added while placing an order through order manager.
Applied patch from Sharad Gupta, part of OFBIZ-2669 (https://issues.apache.org/jira/browse/OFBIZ-2669)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789344 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 14:33:32 +00:00
Anil Patel f93a7951a8 Markup reformatted.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789173 13f79535-47bb-0310-9956-ffa450edef68
2009-06-28 23:15:22 +00:00
Anil Patel bdf4583ed7 enhanced markup.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789098 13f79535-47bb-0310-9956-ffa450edef68
2009-06-28 13:43:48 +00:00
Vikas Mayur 579a10f19b Supplier drop-down on Order Entry page now also display supplier partyId along with the supplier name. The new list is alphabetically sorted on supplier name.
Applied patch from Akash Jain, part of OFBIZ-2663 (https://issues.apache.org/jira/browse/OFBIZ-2663). 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@788929 13f79535-47bb-0310-9956-ffa450edef68
2009-06-27 06:44:55 +00:00
Ashish Vijaywargiya 3b14c62d8a Part of Html markup cleanup.
Patch from Rob.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@788570 13f79535-47bb-0310-9956-ffa450edef68
2009-06-26 04:41:08 +00:00
Anil Patel 5e8c9ece07 sorry.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@788405 13f79535-47bb-0310-9956-ffa450edef68
2009-06-25 15:50:42 +00:00
Anil Patel 86c6f4813f html markup cleaned up.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@788373 13f79535-47bb-0310-9956-ffa450edef68
2009-06-25 14:56:35 +00:00