Commit Graph
4365 Commits
Author SHA1 Message Date
Anil Patel 1f689a4d15 removed unnecessary comments.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@781922 13f79535-47bb-0310-9956-ffa450edef68
2009-06-05 06:38:20 +00:00
Hans Bakker cff2c82886 only show 'non' closed projects/tasks in dropdown
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@781901 13f79535-47bb-0310-9956-ffa450edef68
2009-06-05 03:25:31 +00:00
Anil Patel e0dbfce266 cleaned up html of newcustomer form and did changes to css to style the form. Will soon do similar thing to rest of forms.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@781870 13f79535-47bb-0310-9956-ffa450edef68
2009-06-04 23:29:13 +00:00
Vikas Mayur 73b7d32a1e Added a field to ProductStore to specify Store Credit Account type (FIN_ACCOUNT or BILLING_ACCOUNT) for refund return. For Demo ProductStore it is default to Financial Account.
The work flow is based on following steps:
1) If for a return both finAccountId and billingAccountId are supplied, then preference goes to the setting on Product Store. A warning message is shown so that the 
   user know which account is used.
2) If a finAcccountId is supplied then first billing account with -ve amount are searched and if it is found then amount is credit to the billing account else it goes to 
   financial account.
3) If a billingAccountId is supplied then it is used to credit the refund amount.
4) If none of them is supplied, then preference again goes to the setting on Product Store.

Patch applied from Mridul Pathak, part of OFBIZ-2502 (https://issues.apache.org/jira/browse/OFBIZ-2502)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@781804 13f79535-47bb-0310-9956-ffa450edef68
2009-06-04 17:32:02 +00:00
Hans Bakker 1c9b98ba2a some more now-date which should be now-timestamp
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@781694 13f79535-47bb-0310-9956-ffa450edef68
2009-06-04 09:32:58 +00:00
Ashish Vijaywargiya 57b30f153a Changed the name of entities as it was exceeding the maximum length i.e 30.
Reported by Hans on Dev mailing list. Thanks Hans.

There are two reason of choosing "Co" pattern for the entities.

1) I haven't seen any such pattern in OFBiz to define entity in which you have three or more capital letter coming in b/w.
Like for General Ledger, GlAccount is used OOTB.

2) In database it will split the table name to Google_C_O_Shipping_Method if we keep the name GoogleCOShippingMethod.
So it looks like you have some new word starting with "C" and another new word starting with "O"
But if we keep the name GoogleCoShippingMethod then it will split the name into "Google_Co_Shipping_Method"





git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@781689 13f79535-47bb-0310-9956-ffa450edef68
2009-06-04 09:14:51 +00:00
Hans Bakker 535cb8623f replace now-date with now-timestamp causing error messages in the log
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@781680 13f79535-47bb-0310-9956-ffa450edef68
2009-06-04 08:30:23 +00:00
Hans Bakker 62c3bc306f modified story did not go from commevent to customer request
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@781669 13f79535-47bb-0310-9956-ffa450edef68
2009-06-04 07:26:15 +00:00
Ashish Vijaywargiya fe5d54cb30 Applied fix from jira issue OFBIZ-2562 (On changing the order status from order view page, the changeOrderStatus request throws twice and gives error on console.)
Thanks Rishi for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@781661 13f79535-47bb-0310-9956-ffa450edef68
2009-06-04 06:49:12 +00:00
Andrew Zeneski c5ce98937e only run the cancel item event if a single item is cancelled, if all items are cancelled the order status change will run instead
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@781653 13f79535-47bb-0310-9956-ffa450edef68
2009-06-04 05:23:54 +00:00
Hans Bakker 7f5d4aa6d3 ecommerce component updated to use the new com_role_read status, as reported by Andy in the dev list
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@781649 13f79535-47bb-0310-9956-ffa450edef68
2009-06-04 04:22:13 +00:00
Anil Patel 2b245265c4 Improving html in ftl templates. This commit focus on replacing screenlet headers with html header element. Also removed some extra html so we can get closer to xhtml compliance.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@781606 13f79535-47bb-0310-9956-ffa450edef68
2009-06-03 22:14:08 +00:00
Adrian Crum 878e3bf4e3 Fixed some links that were broken by the secure-link refactor.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@781549 13f79535-47bb-0310-9956-ffa450edef68
2009-06-03 21:05:19 +00:00
Andrew Zeneski 2691a4d143 added google certs to default trust store
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@781502 13f79535-47bb-0310-9956-ffa450edef68
2009-06-03 18:39:44 +00:00
Hans Bakker 1bac48be62 some controller adjustments
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@781317 13f79535-47bb-0310-9956-ffa450edef68
2009-06-03 09:38:51 +00:00
Anil Patel 6e5f67cb2b Now when updating notes EditTaskNotes screen is rendered instead of instead generic kind.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@781242 13f79535-47bb-0310-9956-ffa450edef68
2009-06-03 02:27:20 +00:00
Andrew Zeneski 5325baa3b3 implemented returns/refunds in google checkout
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@781109 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 18:11:05 +00:00
Anil Patel f6dd85aa60 Add tooltip to desc field for maximum chars allowed.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@781015 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 12:20:35 +00:00
Ashish Vijaywargiya 1a46331d4c Instead of fetching values from cart for the grand total we should fetch the value from the info object.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@780981 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 09:31:13 +00:00
Ashish Vijaywargiya 4ee3adb754 For now we are sending only Cart Info to google and on completion of order in Google area user can return back to the owner website to purchase some other products. So we should empty the old cart first and then will navigate user to main page.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@780948 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 06:14:08 +00:00
Andrew Zeneski 33144a7019 fixed bug when tracking numbers are null (causing a rollback of quickship); added status vs oldstatus condition check to ecas
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@780725 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 17:02:46 +00:00
Ashish Vijaywargiya d64ff1b743 Following things are included in this commit.
1) Added the UI's for the configuration entities introduced in previous commit.
This will help to avoid the restarting of server. (Previously values were maintained in the property files) 

2) Renamed those two configuration entities to more closely follow the GoogleCheckout naming pattern.
The idea behind renaming of entity is that in future we can have other feature coming from Google so at that time GoogleConfiguration entity will be bit confusing.IMO this entities are introduced before few days(1 or 2 days) and I am sure no one is using these entities in Production so we will be safe by this change in the initial phase of google checkout.

Thanks to myself :)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@780501 13f79535-47bb-0310-9956-ffa450edef68
2009-05-31 20:16:04 +00:00
Andrew Zeneski 10ec51bebf now sending error message back to google
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@780330 13f79535-47bb-0310-9956-ffa450edef68
2009-05-30 21:16:02 +00:00
Ashish Vijaywargiya 92d804e016 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/specialpurpose@780321 13f79535-47bb-0310-9956-ffa450edef68
2009-05-30 20:53:04 +00:00
Ashish Vijaywargiya c87f1ddc6e For testing new entity GoogleConfiguration providing new seed data.
GUI should be provided very soon to update the configurations.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@780310 13f79535-47bb-0310-9956-ffa450edef68
2009-05-30 19:13:39 +00:00
Andrew Zeneski c39e163fcc implemented data driven configuration for google checkout; basic configuration now is configured using the GoogleConfiguration entity. Allowing each product store to have completely different settings. Moved the the static URLs to a new properties file which will remain if/when the old code is deprecated.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@780306 13f79535-47bb-0310-9956-ffa450edef68
2009-05-30 17:47:08 +00:00
Andrew Zeneski 7e03940ab4 fixed package name and description; added intial pass of db based configuration (commented out until its implemetned and tested)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@780283 13f79535-47bb-0310-9956-ffa450edef68
2009-05-30 15:25:04 +00:00
Ashish Vijaywargiya 00ef62e0e6 Minor change to overcome from NullPointerException.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@780276 13f79535-47bb-0310-9956-ffa450edef68
2009-05-30 14:36:38 +00:00
Ashish Vijaywargiya d14fc74b12 productStoreId is not required in service definition. It can be fetched from ShoppingCart object.
Also remove the redundant code and fetched base price instead of itemSubTotal.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@780257 13f79535-47bb-0310-9956-ffa450edef68
2009-05-30 12:58:05 +00:00
Ashish Vijaywargiya 4686fbfe5f Minor fix.
Field name used was wrong.

Thanks Ratnesh for reporting this bug off the list.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@780226 13f79535-47bb-0310-9956-ffa450edef68
2009-05-30 10:04:31 +00:00
Vikas Mayur 90de0ccc89 Reverting my commit done in rev. 779981. This process needs a better fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@780211 13f79535-47bb-0310-9956-ffa450edef68
2009-05-30 09:11:41 +00:00
Andrew Zeneski 5de5e8f437 1. re-implemented google checkout (send shopping cart) using the java API
2. enhanced the create order code
3. finished implementation of cancel, capture and ship notifications (Order Processing API to Google)
4. implemented order state change notification
5. added place holders for other notification messages
6. added controller event for processing incoming messages (/googlecheckout/control/handleMessage)
7. added new entity to map shipping methods to support w/ google and link them to internal shipping methods
8. added ecas to prevent certain order changes which cannot be support by Google (adding items, changng quanities)



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@780153 13f79535-47bb-0310-9956-ffa450edef68
2009-05-30 00:35:09 +00:00
Anil Patel 11b29a6a67 use ul/li instead of nested <div>.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@780081 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 19:26:56 +00:00
Anil Patel c70e121e99 Made changes to use correct html. This change in html cause little change in UI. We don't get bottom border with each line item. Very soon I'll add css class and apply to this list so we get back the original look.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@780078 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 19:18:04 +00:00
Anil Patel 77a77f1590 use ul/li instead of nested <div>.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@780064 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 18:49:40 +00:00
Anil Patel 622d35ad7b removed markup that was not needed.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@780052 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 18:08:14 +00:00
Jacopo Cappellato be5ff6531c Misc fixes for the quote to order process.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@780015 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 15:26:08 +00:00
Vikas Mayur c9e9365d47 While packing an order using "Weight Package Only" method, system now use the online shipping estimates from UPS to compare with the estimated shipping cost of the order.
Patch from Akash Jain (thanks Pranay for review and improvements), part of OFBIZ-2547 (https://issues.apache.org/jira/browse/OFBIZ-2547)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@779981 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 14:03:35 +00:00
Ashish Vijaywargiya 4650f8ba3b We should not navigate user to some other area for such requests.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@779975 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 13:46:45 +00:00
Ashish Vijaywargiya 673d8f689d Making developer's life easy.
Converted one request into two so that a user don't have secure server setup can also use this feature for testing purpose.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@779941 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 12:21:05 +00:00
Ashish Vijaywargiya bf1df9af05 Adding new controller entry to process google order notifications.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@779938 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 11:54:09 +00:00
Ashish Vijaywargiya d29a822aa4 For now we are providing the option to send cart info to the Google Checkout.
So anonymous user can also do checkout after selecting cart lines items.

No need to secure services for now.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@779935 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 11:23:16 +00:00
Ashish Vijaywargiya b91e78e915 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/specialpurpose@779910 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 10:02:35 +00:00
Ashish Vijaywargiya e3b18d04e1 Here comes the first pass to create order in OFBiz from the notification message coming from the google checkout server.
For more details please have a look on the jira issue: OFBIZ-2545 (Create Order and Party information using google notification)

This is collaborative effort from Andrew Zeneski, Vivek Mishra, Arun Patidar, Anurag Singh Sengar & Me.
Thanks guys for giving a good head start to this feature.

More exciting features are coming soon in this area, so please stay tuned.
Thanks !

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@779907 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 09:43:39 +00:00
Andrew Zeneski 5ef89eaf63 added google checkout lib for notification implementation which is in progress (OFBIZ-2520)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@779837 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 04:33:17 +00:00
Adrian Crum 08b165cbce Made a few changes to the HTML view handlers. Multiple DOCTYPE declarations were being generated when screens included other screens. Problem reported by Ryan Foster - https://issues.apache.org/jira/browse/OFBIZ-2543.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@779751 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 19:57:53 +00:00
Adrian Crum 895d43915e Fixed a problem with BsfEventHandler.java not recognizing the "component://" location syntax. Reported by Marco Risaliti - https://issues.apache.org/jira/browse/OFBIZ-2539.
I also fixed a couple other problems with the class.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@779639 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 16:11:50 +00:00
Jacques Le Roux 05db556f45 Typo in contentName
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@779517 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 09:58:48 +00:00
Ashish Vijaywargiya 8857205561 Added new service connectToGoogleCheckoutServer.
For more details please see jira issue: OFBIZ-2538 (Create a service to establish a connection with Google Checkout server)

Thanks Anurag for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@779514 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 09:53:06 +00:00
Ashish Vijaywargiya cb551fad3d Now in the event we can fetch the productStoreId from ProductStoreWorker.getProductStoreId(request)
I have tested it and working fine ... this enhancement will help us to process order coming as the notification from Google Checkout.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@779141 13f79535-47bb-0310-9956-ffa450edef68
2009-05-27 12:24:56 +00:00