Commit Graph
886 Commits
Author SHA1 Message Date
Ashish Vijaywargiya 03db8d14b2 Enabling the new java based implementation by default.
Reason of enabling this new implementation is that we should get bugs in extensive testing and code will become more stable.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@780321 13f79535-47bb-0310-9956-ffa450edef68
2009-05-30 20:53:04 +00:00
Anil Patel 8a25f975d9 cleaned up html. buttons before and after table are little bit squeezed. I'll fix it very soon.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@780093 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 20:17:28 +00:00
Jacopo Cappellato 751513279b Quick fix for a display error in the quote totals happening when the amount was set to 0.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@780005 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 14:52:08 +00:00
Vikas Mayur f9810fbfee Improve the Return Status process so that it also take into account the ReturnItem status change.
Slightly modified patch from Awdesh Singh Parihar, part of OFBIZ-2541 (https://issues.apache.org/jira/browse/OFBIZ-2541)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@779926 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 10:54:48 +00:00
Ashish Vijaywargiya beb12298fc For now we are enabling link to checkout using Google Checkout.
For using this feature you may need to create Merchant Account in the Google Checkout area.

We can disable this links if anyone think otherwise but the idea of keeping these links on ecommerce is that the End User knows that this feature also exists in OFBiz and could use it accordingly.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@779910 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 10:02:35 +00:00
Vikas Mayur 8832c29f8d Localized Unit Price input field in showcartitems.ftl. Patch from Mridul Pathak, part of OFBIZ-2530 (https://issues.apache.org/jira/browse/OFBIZ-2530)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@779221 13f79535-47bb-0310-9956-ffa450edef68
2009-05-27 16:06:48 +00:00
Vikas Mayur 834e219ba9 Minor fixes to the service printPickSheets to throw user friendly error message when user enter either zero or negative value for number of ordersfor printing a pick sheet, for a group
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@779159 13f79535-47bb-0310-9956-ffa450edef68
2009-05-27 13:18:03 +00:00
Vikas Mayur 9f62609aaa Securing URLs in FTL for adding, updating and deleting adjustments. Patch from Pranay Pandey, part of OFBIZ-2514 (https://issues.apache.org/jira/browse/OFBIZ-2514)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@778653 13f79535-47bb-0310-9956-ffa450edef68
2009-05-26 11:21:22 +00:00
Vikas Mayur c00fc7df8f Optional input field where user can specify an orderId while creating a purchase order from Requirements.
Patch from Mridul Pathak and Bharat Soni, part of OFBIZ-2519 (https://issues.apache.org/jira/browse/OFBIZ-2519) 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@778625 13f79535-47bb-0310-9956-ffa450edef68
2009-05-26 08:52:14 +00:00
Vikas Mayur 278fd04f8f Switching back to deprecated built-ins. If I am not wrong no one really agreed to Jacques proposal to replace all the FTL deprecated built-ins.
For more information see this link - http://fmpp.sourceforge.net/freemarker/ref_depr_builtin.html


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@778619 13f79535-47bb-0310-9956-ffa450edef68
2009-05-26 08:35:59 +00:00
Vikas Mayur d16e9e2c68 Enable audit for few fields on ReturnItem entity namely returnTypeId, returnReasonId, returnQuantity, receivedQuantity and returnPrice. The history of changes on these fields
can be viewed through new tab Return History. Also added a new service for creating return status and removed the inline code that was used earlier to create Return Status.
Patch applied from Awdesh Singh Parihar, part of OFBIZ-2483 (https://issues.apache.org/jira/browse/OFBIZ-2483)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@778463 13f79535-47bb-0310-9956-ffa450edef68
2009-05-25 18:02:47 +00:00
Vikas Mayur 79fae570d0 Adding back the feature to show/hide out of stock products on site. This new implementation is configurable through a new field showOutOfStockProducts (by default equal to Y) on
ProductStore. A new field lastInventoryCount on ProductFacility is also added and it is a mirror of availableToPromiseTotal of a product at a certain point of time and is 
being updated every hour by a schedule service to reflect the current value of inventory count in the system.
If showOutOfStockProducts is equals to N and for a particular product lastInventoryCount is <= zero, then this particular product will not be shown on the site. If the inventory
count becomes +ve again then the product will be again available on the site, in minimum one hour time but could possibly take long depending on the inventory levels.

Patch from Ratnesh Upadhyay, part of OFBIZ-2480 (https://issues.apache.org/jira/browse/OFBIZ-2480).



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@778451 13f79535-47bb-0310-9956-ffa450edef68
2009-05-25 16:37:23 +00:00
Vikas Mayur d124ccbbf2 Enabled audit on few fields on OrderItem to archive changes in OrderItem price and quantities as well as on OrderItemShipGroup to archive changes in shipment method for an
order. This can be viewed through "Order History" link under Actions screelet on Order Detail Page. 
Slightly modified patch from Amit Sharma, part of OFBIZ-2499 (https://issues.apache.org/jira/browse/OFBIZ-2499)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@778406 13f79535-47bb-0310-9956-ffa450edef68
2009-05-25 12:35:33 +00:00
Ashish Vijaywargiya cd75541457 Applied patch from jira issue OFBIZ-2515 ("Show all records" check box on find order screens should be working on click of label as well)
Thanks Pranay for your patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@777946 13f79535-47bb-0310-9956-ffa450edef68
2009-05-23 16:07:42 +00:00
Vikas Mayur b6ccc85943 Reverted my last commit in rev. 777498. This need to support configuration so that this feature can be turned on/off.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@777651 13f79535-47bb-0310-9956-ffa450edef68
2009-05-22 18:36:19 +00:00
Vikas Mayur f1ef43b20e Now onwards out of stock items will not show up in the ecommerce site. Added a scheduled service that will run hourly and will update the new attribute isOutOfStock on
Product entity to Y/N where Y means item is out of stock and N means item is in stock. This process will be efficient in a way that the database interaction to check
whether item is out of stock will not take place everytime products are loaded on the ecommerce site.
Applied my patch (initially contributed by Amit Sharma, I have done some improvements over this patch), part of OFBIZ-2480 (https://issues.apache.org/jira/browse/OFBIZ-2480)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@777498 13f79535-47bb-0310-9956-ffa450edef68
2009-05-22 12:42:12 +00:00
Vikas Mayur 20cf9f2a92 Fix: Undefined label was used, reported by Mridul Pathak
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@777401 13f79535-47bb-0310-9956-ffa450edef68
2009-05-22 06:37:23 +00:00
Vikas Mayur a06348da4a Added an option to add a new shipping address from Order detail page. New shipping address cannot be added for orders that are completed as well as canceled.
Applied patch from Anurag Singh Senger, part of OFBIZ-2478 (https://issues.apache.org/jira/browse/OFBIZ-2478)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@777130 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 14:30:45 +00:00
Vikas Mayur 634440fcc9 Misc. fix for attributes name, reported by Arpit Pandya
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@777114 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 13:33:29 +00:00
Vikas Mayur 4432562582 Fixed layout issue and property issue in Print Picksheets pdf. Patch from Ratnesh Upadhyay, part of OFBIZ-2505 (https://issues.apache.org/jira/browse/OFBIZ-2505)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@777092 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 12:22:45 +00:00
Vikas Mayur 405fa592c1 Added few more search filters on find order page. They are shipping method, order viewed and PaymentGatewayResponse - gatewayAvsResult, gatewayScoreResult.
Applied modified patch from Arpit Singh Pandya, part of OFBIZ-2496 (https://issues.apache.org/jira/browse/OFBIZ-2496)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@777084 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 11:54:35 +00:00
Hans Bakker ab61cf903a make request list sortable on the headers
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@777028 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 09:29:03 +00:00
Vikas Mayur b0772226ff Misc. improvement over recently added filters on find order page
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@777007 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 08:23:08 +00:00
Ashish Vijaywargiya ab17df5dfc For more details please refer Jira issue OFBIZ-2500 (paymentMethodId drop-down on ReturnHeader screen is broken)
Contribution from MP (Not "Madhya Pradesh" ....... Its Mridul Pathak :-) ).
Thanks Mridul for your contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@776956 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 05:40:12 +00:00
Vikas Mayur 155797db20 Added new filters on find order page. This filter is about finding orders ship to a country. This work along with the option "Include Only" and "Do Not Include".
With the former option system will display only orders that are ship to the selected country and with latter it will display only order that are not shipped to the 
selected country. 
Patch from Amit Sharma, part of OFBIZ-2477 (https://issues.apache.org/jira/browse/OFBIZ-2477). Thanks Pranay for testing.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@776662 13f79535-47bb-0310-9956-ffa450edef68
2009-05-20 11:17:20 +00:00
Vikas Mayur 579c63e8ac Added feature to generate pick sheet PDF for an order from Order Detail Page.
Slightly modified patch from Anurag Singh Senger, part of OFBIZ-2481 (https://issues.apache.org/jira/browse/OFBIZ-2481)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@776262 13f79535-47bb-0310-9956-ffa450edef68
2009-05-19 10:31:00 +00:00
Jacques Le Roux 41e7d83e2f A patch from Aswath Satrasala "Show Lookup field - security related error" (https://issues.apache.org/jira/browse/OFBIZ-2490) - OFBIZ-2490
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@776227 13f79535-47bb-0310-9956-ffa450edef68
2009-05-19 08:11:44 +00:00
David E. Jones 1d46468bd9 A few small changes to use more consistent terminology (supplier instead of vendor) and to have more flexible default options
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@774621 13f79535-47bb-0310-9956-ffa450edef68
2009-05-14 02:50:37 +00:00
Vikas Mayur 0a237c6cee Added screens to see billing accounts and returns information under Fin. History tab in Party.
Added slightly modified patch from Vivek Mishra, part of OFBIZ-2445 (https://issues.apache.org/jira/browse/OFBIZ-2445)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@774367 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 13:49:04 +00:00
Vikas Mayur f4f58034ca New feature to mark order as viewed.
Patch from Anurag Singh Senger, part of OFBIZ-2446 (https://issues.apache.org/jira/browse/OFBIZ-2446) 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@773854 13f79535-47bb-0310-9956-ffa450edef68
2009-05-12 11:08:24 +00:00
Jacques Le Roux 058d6aed57 A patch from Ashish Vijaywargiya "Change Copyright Year" (https://issues.apache.org/jira/browse/OFBIZ-2346) - OFBIZ-2346
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772936 13f79535-47bb-0310-9956-ffa450edef68
2009-05-08 10:56:14 +00:00
Hans Bakker cb0a2fbbee inserted a default view if home is missing, html=safe still blocks incoming email messages, changed to 'any'
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772038 13f79535-47bb-0310-9956-ffa450edef68
2009-05-06 03:08:48 +00:00
Hans Bakker 25c4b54f6b better formatting of customer request overview
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771546 13f79535-47bb-0310-9956-ffa450edef68
2009-05-05 04:02:10 +00:00
Ashish Vijaywargiya 4fd4adf826 Applied patch from jira issue OFBIZ-2416 (Security error on Remove return items)
Thanks Pranay Pandey for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770929 13f79535-47bb-0310-9956-ffa450edef68
2009-05-02 11:23:28 +00:00
Vikas Mayur fd3dc10998 While doing a refund return, customer may want to purchase new items in exchange of returned items. A CSR can do this by creating an exchange order against the return.
To support this, new type EXCHANGE added for OrderItemAssocType.

Patch from Akash Jain (reviewd and tested by Pranay Pandey), part of OFBIZ-2377 (https://issues.apache.org/jira/browse/OFBIZ-2377)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770659 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 13:04:24 +00:00
Vikas Mayur cc87cc205f Misc. cleanups. Btw, I am not able to find any usage of updateReturnItemsStatus service?
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770157 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 10:43:48 +00:00
Hans Bakker 37259b53fe various fixes in the chain commevent -> cust request -> project task
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@768661 13f79535-47bb-0310-9956-ffa450edef68
2009-04-26 06:02:02 +00:00
Jacques Le Roux 795a39cc0f A patch from CJ Horton " Add Cancel Order Functionality to https://localhost:8443/ordermgr/control/orderview" https://issues.apache.org/jira/browse/OFBIZ-2283 - OFBIZ-2283
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@768212 13f79535-47bb-0310-9956-ffa450edef68
2009-04-24 07:57:56 +00:00
Adrian Crum 1a4496c172 Some work on the screen widgets:
1. Added renderScreenBegin and renderScreenEnd methods to ScreenStringRenderer.java.
2. Updated HtmlScreenRenderer.java and MacroScreenRenderer.java to emit the <DOCTYPE> element first - before any widget comments or template content.
3. Removed <DOCTYPE> elements from templates that no longer need them.
4. Added screen and section boundary comments to MacroScreenRenderer.java.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@767996 13f79535-47bb-0310-9956-ffa450edef68
2009-04-23 17:54:30 +00:00
Jacques Le Roux aaa94de2cd last component:// in controllers missing
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@767125 13f79535-47bb-0310-9956-ffa450edef68
2009-04-21 12:30:36 +00:00
Vikas Mayur c317415793 Changed the alt attribute of <img> tag to use label instead of free form string to support i18n stuff for all the lookup screens.
Patch from Divesh, Part of OFBIZ-2276 (https://issues.apache.org/jira/browse/OFBIZ-2276).
I have also changed alt="Lookup" with the label.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764753 13f79535-47bb-0310-9956-ffa450edef68
2009-04-14 12:08:55 +00:00
Jacques Le Roux 999bd7c577 Fix following Chris Howe's message in dev ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764195 13f79535-47bb-0310-9956-ffa450edef68
2009-04-11 13:00:24 +00:00
Jacques Le Roux af5b099668 Cleaning my "clean instance" I (finally) found (only) this (a trailing space)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764188 13f79535-47bb-0310-9956-ffa450edef68
2009-04-11 09:41:11 +00:00
Jacques Le Roux 3c94bec42b I finally reverted almost all Ashish Nagar's patch from https://issues.apache.org/jira/browse/OFBIZ-2260 - OFBIZ-2260 that I commited after a review but no tests in r762149.
This because these URLs in FTL file were not calling services, hence, as explained David, did not need any changes
I kept only changes I found by chances (because I got conflicts in them) in 
specialpurpose\ecommerce\webapp\ecommerce\order\orderitems.ftl
specialpurpose\ecommerce\webapp\ecommerce\order\orderheader.ftl
applications/order/webapp/ordermgr/order/ordershippinginfo.ftl 
I also added one secured URLs - createShipment2 - in this last file and there are more to do just below : quickDropShipOrder, createShipment. I think we need more than good will and chance here. We need to define a strategy to spot the URLs calling services in ftl files. This does not sound like impossible to automatize and I firmly think we should do that before freezing R9.04


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764077 13f79535-47bb-0310-9956-ffa450edef68
2009-04-10 22:09:23 +00:00
Jacques Le Roux 39c91eefe3 Reverted all changes done in r762149 since these were not for services calls
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764066 13f79535-47bb-0310-9956-ffa450edef68
2009-04-10 21:36:41 +00:00
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
Hans Bakker c1491066f0 moved custrequest notification from myportal to order,moved other programs around, reorganized customer request status handling, replaced cust request roles from ftl to form, removed other used programs from myportal. Now only the party registration is left in myportal.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763135 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 07:58:00 +00:00
Jacques Le Roux a5042291f7 1st part of an effort to remove trailing spaces
" +/> => "/>
Should be easier when dealing with Eclipse S/R regexp

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762648 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 08:27:15 +00:00
Jacques Le Roux 76f5ca6638 Secure URLs, we don't need to duplicate in from-field when param-name is the same
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762215 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 06:25:24 +00:00
Jacques Le Roux 61a5c1dcf4 A modified patch from Ashish Nagar "Secure URLs in Freemarker templates files" https://issues.apache.org/jira/browse/OFBIZ-2260
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762149 13f79535-47bb-0310-9956-ffa450edef68
2009-04-05 20:16:46 +00:00