Commit Graph
37 Commits
Author SHA1 Message Date
James Yong b17fd2419a Improved: Apply multi-block attr to each application (OFBIZ-11706)
For Order application.
2020-05-15 19:24:20 +08:00
Rishi Solanki 95979acf0e [Fixed] Incorrect decorator being used over view all promotions and view promotion details screen causing back navigation. Change the decorator name on the showAllPromotions and showPromotionDetails screens. Now user can go back after navigating to both screens.
(OFBIZ-10859)
Thanks to Ratnesh Upadhyay for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1856627 13f79535-47bb-0310-9956-ffa450edef68
2019-03-30 13:39:07 +00:00
Nicolas Malin 40fdd2ca73 Implemented: Continue the common-theme upload (OFBIZ-9138 Create a common theme)
Five step 
#9 Change all set screen and script that call widget.properties values replaced by call to modelTheme

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1806150 13f79535-47bb-0310-9956-ffa450edef68
2017-08-25 10:02:34 +00:00
Jacques Le Roux c8ba932772 Fixes a "typo" in last commit for "Autocompletion for Compound Widget" - https://issues.apache.org/jira/browse/OFBIZ-7061
We used targetNamespace (should only be used in schema) instead of xsi:schemaLocation



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1749634 13f79535-47bb-0310-9956-ffa450edef68
2016-06-22 05:58:26 +00:00
Jacques Le Roux 89212904bd Completes and finish "Autocompletion for Compound Widget" - https://issues.apache.org/jira/browse/OFBIZ-7061
This is the 2nd step: puts back the original names, so it will be transparent for remaining references in xml catalogs, Java code, etc.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1749489 13f79535-47bb-0310-9956-ffa450edef68
2016-06-21 11:37:47 +00:00
Jacques Le Roux 4931db1ed9 Completes and finish "Autocompletion for Compound Widget" - https://issues.apache.org/jira/browse/OFBIZ-7061 by replacing xsd files references in xml files by -ns.xsd files and removing the concerned xsd files
This is a 1st step, in a 2nd I will put back the original names, so it will be transparent for remaining reference in xml catalogs, Java code, etc.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1749488 13f79535-47bb-0310-9956-ffa450edef68
2016-06-21 11:14:16 +00:00
Deepak Dixit 5284cf4f95 (OFBIZ-7227) Relocate .groovy files in the order component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747769 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 18:36:39 +00:00
Deepak Dixit eb3401f03f (OFBIZ-7021) Renamed order component ftl file name from lower case to upper case pattern.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1743881 13f79535-47bb-0310-9956-ffa450edef68
2016-05-15 06:06:11 +00:00
Jacques Le Roux fda400bc3b A patch from Pierre Smits for <<relocate .ftl files in the order component>> https://issues.apache.org/jira/browse/OFBIZ-6819
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1736868 13f79535-47bb-0310-9956-ffa450edef68
2016-03-28 11:14:22 +00:00
Jacques Le Roux 53ccd2ceb7 Fixes "Overview of routings does not paginate" https://issues.apache.org/jira/browse/OFBIZ-5322 and more
Actually it does paginate but the value is not dependent on widget property widget.form.defaultViewSize which default value is 20. It uses a default value of 50 which is defined by

<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="3"/>

You can easily test it using https://localhost:8443/manufacturing/control/FindRouting?VIEW_SIZE=3

This is legacy from pre Apache era. I found 143 cases where a default-value is defined in screens for VIEW_SIZE.

I did not look into details for the 143 cases but I believe most are also legacy.
There are few default values: 10, 20, 30, 50, 500 and even an extreme case of 10000 for InventoryItemTotalsExport!
There is only one comment for LookupBulkAddProducts which is also legacy: <!-- 10 rows seems more appropriate given screen size, etc. -->

I suggest to OOTB replace all those by the widget.form.defaultViewSize value.
Things will then be consistent and easily changeable on a global scale using the widget property.
Or if really needed forcing the default-value as it's done now.

So this would be applied on the 143 cases (I checked, viewSizeDefaultValue does not exist in any screen)

<property-to-field resource="widget" property="widget.form.defaultViewSize" field="viewSizeDefaultValue"/>
<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="${viewSizeDefaultValue}"/>

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1526387 13f79535-47bb-0310-9956-ffa450edef68
2013-09-26 05:55:32 +00:00
Bruno Busco d85edb6bde Removed settings of unused fields "leftbarScreenName", "leftbarScreenLocation" and "MainColumnStyle"
Removed redundant <container style="left"> in leftbar screens

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@895182 13f79535-47bb-0310-9956-ffa450edef68
2010-01-02 12:27:53 +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 0664a96244 Applied improved 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.
Following points are covered in this patch:

1) Removed hard-coded product ids for Gift certificates products from GiftCertificates.ftl and added new category type called "GIFT_CARD_CATEGORY" and related demo data, also added groovy script for fetching logic to address this issue.

2) Also handled hard-coded surveyId in AddGiftCertificates.groovy

3) Added user friendly messages if required data is not available .

4) Added missing license header in GiftCertificates.ftl

Thanks Divesh for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@834042 13f79535-47bb-0310-9956-ffa450edef68
2009-11-09 12:53:03 +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
Scott Gray 62dfb43ed0 A few improvements mostly the LookupBulkAddSupplierProducts.groovy script which takes a very long time to load even with relatively modest result sizes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@809104 13f79535-47bb-0310-9956-ffa450edef68
2009-08-29 08:52: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
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
Marco Risaliti ff720d540e A lot of hardcoded labels cleaning and changes some wrong references
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@746049 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 23:08:30 +00:00
Marco Risaliti 6554ab80c1 Artifact cleaning on order component after recent changes on xsd files (OFBIZ-2137)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@739028 13f79535-47bb-0310-9956-ffa450edef68
2009-01-29 21:38:21 +00:00
Jacopo Cappellato 5b810b9f29 Minor formatting fixes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@726836 13f79535-47bb-0310-9956-ffa450edef68
2008-12-15 22:07:55 +00:00
Scott Gray 39dd7203e5 A few more bsh -> groovy conversions
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@676255 13f79535-47bb-0310-9956-ffa450edef68
2008-07-13 01:00:11 +00:00
Scott Gray bede1b5778 A few more bsh -> groovy conversions
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@675930 13f79535-47bb-0310-9956-ffa450edef68
2008-07-11 12:21:21 +00:00
Scott Gray 3aa246dfec converted some bsh scripts to groovy
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@674461 13f79535-47bb-0310-9956-ffa450edef68
2008-07-07 11:34:11 +00:00
Scott Gray cff5db052a converted some bsh scripts to groovy
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@674448 13f79535-47bb-0310-9956-ffa450edef68
2008-07-07 11:04:31 +00:00
Marco Risaliti 7a4c1c4abc Third patch applied for clean up labels between order and ecommerce application (OFBIZ-1780)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@656832 13f79535-47bb-0310-9956-ffa450edef68
2008-05-15 20:58:35 +00:00
Adrian Crum 68c1dbbaf9 Second sweep through the maincss.css style sheet. Changed the head1, head2, and head3 style names to h1, h2, and h3. Updated affected styles in ftl and xml files.
The ecommerce component is excluded from this commit.

These changes shouldn't break any layout. If you spot something wrong, let me know and I'll fix it.

I won't make any more maincss.css changes for a little while. I'll let the dust settle from these two commits, then I'll go through the file and physically remove the deprecated styles.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@627051 13f79535-47bb-0310-9956-ffa450edef68
2008-02-12 19:30:09 +00:00
Jacopo Cappellato 69e557362e Added logic to automatically run the store's promotions that are not set as manualOnly.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@587496 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 13:17:45 +00:00
Jacopo Cappellato cf69c6967b Small improvement in the order entry cart screen: separated into smaller templates so that it is easier to reuse it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@570846 13f79535-47bb-0310-9956-ffa450edef68
2007-08-29 15:54:46 +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
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 185c81a47d Moved some a few bsh/ftl files that were referenced by the order component from the ecommerce to the order component: the order component is at a lower level than the ecommerce one and so cannot use ecommerce's resources.
Part of OFBIZ-220, but the task is not complete.


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@471152 13f79535-47bb-0310-9956-ffa450edef68
2006-11-04 09:25:48 +00:00
Jacopo Cappellato c9b9db5abb Break up of orderheader templates (for order confirm and order view screens) and the showPromotions template with multiple screenlets: this should improve the template readability and also make the customization much more simple.
Really thanks to Chris Howe for this work (OFBIZ-68): I had to manually apply the patch (many templates were changed after the patch was submitted, and in the patch there were some issues) and so I did something different from Chris' patch, however his work is now finally committed. 
I've also removed some unused resources from the ecommerce component (a few entries in the controller, a screen definition and a template).


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@452766 13f79535-47bb-0310-9956-ffa450edef68
2006-10-04 06:47:22 +00:00
Jacopo Cappellato 5954203b5e Fixed pagination bug in quick product lookup page in po entry screen.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@434121 13f79535-47bb-0310-9956-ffa450edef68
2006-08-23 18:34:49 +00:00
Jacopo Cappellato 29cd61f90d Implemented new lookup search for products limited by supplier's product if the order is a purchase order.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429290 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 10:12:53 +00:00
Jacopo Cappellato 0c431fe3e3 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@422818 13f79535-47bb-0310-9956-ffa450edef68
2006-07-17 19:46:37 +00:00
Jacopo Cappellato 86ff215457 Applied i18n patch from Marco Risaliti (Apache OFBIZ-25).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@418930 13f79535-47bb-0310-9956-ffa450edef68
2006-07-04 07:07:51 +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