Commit Graph
36 Commits
Author SHA1 Message Date
Suraj Khurana cbec4d7b7c Fixed: ViewQuoteProfit shows fields in wrong order.
(OFBIZ-11680)
Thanks Pierre for reporting and Lalit Dashora for providing the patch.
2021-02-12 10:59:11 +05:30
Akash Jain 001ce6a6c4 Improved: Status ID checkbox for Return, Requirement and Quote forms (OFBIZ-11935) 2020-08-03 16:15:45 +05:30
akash de70b3c9ca Improvement: View Request button should not display when there is no customer request data on Quote Items screen
(OFBIZ-10629)

Thanks, Kumar Rahul and Ritesh Kumar for your contribution.
2020-02-22 13:00:34 +05:30
Jacques Le Roux c98def05a3 Fixed: EditExample always update status, because current Status not shown
(OFBIZ-11230)

In the EditExample Form, the drop-down is populates with the Valid change status 
only. So current status is not in the list and the status print in the drop-down 
is the next authorized. I want to modify exampleName or exampleType, I go to 
editExample and change what I want and validate. The problem is status is also 
changed!

There are 12 other same or similar cases. For the first of them (in FinAccount) 
there is the same bug: when I change FinAccount Name, status change too. If I 
add current="first-in-list" in the tag drop-down it works 

jleroux: Quote is a peculiar case due to OFBIZ-7337 which was a wrong fix
 
Thanks: Oliver for the analysis and the fix 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1868545 13f79535-47bb-0310-9956-ffa450edef68
2019-10-17 12:19:33 +00:00
Nicolas Malin 4a511be1cc Implemented: Homogenize displaying number with multiple format
(OFBIZ-7532)

To display a number we had different possibilities :
 * on ftl use the template <@ofbizAmount and <@ofbizCurrency
 * by java call a function UtilFormatOut.formatAmount, UtilFormatOut.formatPrice, UtilFormatOut.formatQuantity, etc..
 * by form widget, use <display type=accounting-number for accounting but nothing for other

To simplify and homogenize all, I implemented a number type purpose :
   * default: display a number by default, use when no purpose is present
   * quantity: display a number as a quantity
   * amount: display a number as an amount (like price without currency)
   * spelled: litteral displaying for a number (use on <@ofbizAmount ftl only before)
   * percentage: display a number as a percentage
   * accounting: diplay a number for accounting specific

Each purpose can be associate to a number for displaying it :
   * on ftl <@ofbizNumber number=value format=purpose/>
   * on java UtilFormatOut.formatNumber(value, purpose, delegator, locale)
   * on form widget <display type=number format=purpose/>

The format use by a purpose is define on framework/common/config/number.properties with the template
    .displaying.format = ##0.00

With this, you can surchage a configuration, create your own purpose or surchage only one through entity SystemProperty.

Concerning the backware compatibility: 
 * For the ftl the template <@ofbizAmount is now a link to '<@ofbizNumber format=amount'
 * For java all previous function call UtilFormatOut.formatNumber with the matching purpose
 * For form xml accounting-number is managed as an exection

Last point, display a currency is different that a number, so I didn't refactoring some code for this case (only move properties from general to number for centralize de configuration on the same file)

Thanks Charles Steltzlen to start the refactoring

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1864832 13f79535-47bb-0310-9956-ffa450edef68
2019-08-09 20:37:11 +00:00
Suraj Khurana f722adda85 Improved: Submit button should not display when there is no item present over Quote Prices Screen.
(OFBIZ-10627)
Thanks Ratnesh Upadhyay for reporting the issue and Kumar Rahul for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1858241 13f79535-47bb-0310-9956-ffa450edef68
2019-04-27 06:00:20 +00:00
Jacques Le Roux 195171a37c Fixed: RequestHandlerException on request link of Quote Price page
(OFBIZ-9384)

To reproduce get to 
https://localhost:8443/ordermgr/control/ManageQuotePrices?quoteId=CQ0001
Click on link under View Request. It gives a RequestHandlerException.

jleroux: I simply changed the link from inter-app to simple (inter-app works 
also but is not right)

Thanks: Aditya

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1798808 13f79535-47bb-0310-9956-ffa450edef68
2017-06-15 08:52:43 +00:00
Jacques Le Roux ac67cc7ad3 Fixed: RequestHandlerException on request link of Quote Profit page
(OFBIZ-9386)

To reproduce get to 
https://localhost:8443/ordermgr/control/ViewQuoteProfit?quoteId=CQ0001
Click on link under View Request. It gives a RequestHandlerException.

jleroux: I simply changed the link from inter-app to simple (inter-app works 
also but is not right)

Thanks: Aditya

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1798803 13f79535-47bb-0310-9956-ffa450edef68
2017-06-15 08:39:17 +00:00
Deepak Dixit 65f97c28f3 Improved: From Date and Thru Date doesn't reflect on List Quote Roles screen.Applied slightly different patch from jira issue (OFBIZ-8266)
Thanks Akshay Modak for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1792272 13f79535-47bb-0310-9956-ffa450edef68
2017-04-22 08:26:39 +00:00
Deepak Dixit d09255c0b7 Reverted: Minilang code readability and consistency improvements done at r#1768222, this commit reversed key and description of drop-down in the code.
(OFBIZ-9114)

Thanks  Wei Zhang for reporting the issue.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1772880 13f79535-47bb-0310-9956-ffa450edef68
2016-12-06 12:37:42 +00:00
Divesh Dutta 70eb7ff508 Improvement: Minilang code readability and consistency improvements.
(OFBIZ-8929) (OFBIZ-8930) (OFBIZ-8953) (OFBIZ-8965) (OFBIZ-8972) (OFBIZ-8986) (OFBIZ-8991) 

Thanks: Ankush Upadhyay, Anuj Jain, Abhijeet for your patches. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1768222 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 14:34:00 +00:00
Divesh Dutta 738a12bec1 Improvement: Miniland code readability and consistency improvements
(OFBIZ-8744) (OFBIZ-8745) (OFBIZ-8746) (OFBIZ-8748) (OFBIZ-8829) (OFBIZ-8830) (OFBIZ-8907) (OFBIZ-8908) (OFBIZ-8924) (OFBIZ-8925) 

Thanks: Ankush Upadhyay , Sega patidar , Abhijeet Ashapure for your patches.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1768219 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 14:14:04 +00:00
Pranay Pandey 49da7855c3 Improved: QuoteId field visibility in Create and Update Quote process.
(OFBIZ-7777)

When creating a new quote, the field quoteId is displayed even though its value is "null". Fixed the behavior adding a use-when condition to display the field when the quote already exists and to hide the field when the quote is being created.

Thanks: Montalbano Florian for the contribution and Chandan Khandelwal for reviewing and providing the updated patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1765012 13f79535-47bb-0310-9956-ffa450edef68
2016-10-15 05:56:30 +00:00
Divesh Dutta 556279917d Improved:Display from date with default to now timestamp and also add asterisk sign to all the forms where it is part of primary key in all the components.
(OFBIZ-7650) (OFBIZ-7651) (OFBIZ-7653) (OFBIZ-7660) (OFBIZ-7662) (OFBIZ-7665) (OFBIZ-7666) (OFBIZ-8028)(OFBIZ-8029) (OFBIZ-8255)

Thanks: Anuj Jain and Ratnesh for the pathes and Swapnil Shah for reporting the issues.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761192 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 11:02:39 +00:00
Divesh Dutta e1d31962be Improved: Convert search criteria on status into multi select pattern for Order Component
(OFBIZ-7542)

Added Check box for status fields on Find Orders, Find Quotes, Find Requirements, and Find Return forms.

Thanks: Mohammad Kathawala for providing the patch and Swapnil Shah for reporting the issue.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761133 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 06:54:42 +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
Pranay Pandey 52ac94d1b3 [OFBIZ-7337] Applied patch from the ticket. Ignored statusId field instead of showing it empty when a new quote is being created. It works with status valid change record for an existing quote.
Thanks Aditi Patidar for reporting the issue and providing patch.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1748401 13f79535-47bb-0310-9956-ffa450edef68
2016-06-14 12:52:34 +00:00
Divesh Dutta a68fa14ffc [OFBIZ-7051] Added support for specifying lead time while placing a quote to purchase a product. This will help purchase manager to take more informed decesion. Lead time days will also shown in view quote screen and list quote screen. Thanks Swapnil Shah for suggesting the improvement and Mohammad Kathawala for providing the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1746695 13f79535-47bb-0310-9956-ffa450edef68
2016-06-03 09:34:58 +00:00
Jacques Le Roux 740942ffb7 An enhanced patch from Yashwant Dhakad based on Pierre Smits's for "Creating a QuoteRole doesn't return to overview of QuoteRoles" https://issues.apache.org/jira/browse/OFBIZ-6026
Currently, when adding a QuoteRole to a Quote the user stays in the screen associated with 'EditQuoteRole'. Thus the user has no confirmation that the QuoteRole is added successfully. It is better to show the overviews of the quote roles.

Yashwant Dhakad werified the patch and found that success message not shown on the screen, so updated the patch and now shown the success message when added role successfully.

jleroux: I moved the party field line to have the lookup show. Note: in case of error the message is still awful, not a big deal

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1746290 13f79535-47bb-0310-9956-ffa450edef68
2016-05-31 15:27:56 +00:00
Divesh Dutta ed6cc5017f [OFBIZ-7052] Now Comment added against any quote item is getting reflected on Quote Item UI. Thanks Swapnil Shah for reporting the issue and Thanks Mohammad Kathawala for providing the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1742742 13f79535-47bb-0310-9956-ffa450edef68
2016-05-07 19:04:17 +00:00
Jacques Le Roux 901b1a4a06 Removes tooltip="${uiLabelMap.CommonRequired}" from fields, https://issues.apache.org/jira/browse/OFBIZ-6691
Instead of a quiet S/R action, this was an unexpected pain in the ass. A considerable number of forms:
    EmployeeForms.xml
    EmploymentForms.xml
    EmplPositionForms.xml
    GlobalHRSettingForms.xml
    RecruitmentForms.xml
    QuoteForms.xml
    PartyForms.xml
    StoreForms.xml
    ContactForms.xml
    FixedAssetForms.xml
    TaskForms.xml
    scrumForms.xml
    TaskForms.xml
contained a large number of fields with 
  tooltip="${uiLabelMap.CommonRequired}"
but no 
  required-field="true"


Of course display and display-entity should not be concerned, I spotted a number of them in the lot.

I also removed a bunch of harcoded * at end of labels (those followed by required-field="true"* and spotted a number of others }*"  who still need to be carefully reviewed to see if required=true is not missing there :/

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1709882 13f79535-47bb-0310-9956-ffa450edef68
2015-10-21 16:57:25 +00:00
Nicolas Malin 895c9856b3 Cleaning forms code is needed after setting default-value in list-options and entity-options, patch related to OFBIZ-6524 and follows the resolution of OFBIZ-6490 and OFBIZ-6489. Thanks Gil Portenseigne for this effort
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686674 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 21:58:05 +00:00
Deepak Dixit c5685bd1d3 Applied patch from jira issue OFBIZ-6351 -
ordermgr/control/ListQuoteItems quoteItemSeqId button not showing due to ${bsh}

Also fixed similar bsh issue for ListQuoteAdjustments form as well.

Thanks Christian Carlow for reporting the issue and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1679689 13f79535-47bb-0310-9956-ffa450edef68
2015-05-16 06:11:13 +00:00
Jacques Le Roux fb3a2adcc5 Fixes a bug, and get rid of some more bsh scriptlets
2015-01-23 18:19:10,216 |http-bio-8443-exec-6 |FlexibleStringExpander        |W| Error evaluating scriptlet [${bsh:isPromo!=null&&isPromo.equals("Y")}]; error was: java.lang.IllegalArgumentException: Error ru
nning bsh script [isPromo!=null&&isPromo.equals("Y")]: javax.script.ScriptException: Sourced file: inline evaluation of: ``isPromo!=null&&isPromo.equals("Y");'' : Attempt to resolve method: equals() on undefi
ned variable or class name: isPromo : at Line: 1 : in file: inline evaluation of: ``isPromo!=null&&isPromo.equals("Y");'' : isPromo .equals ( "Y" )

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1654273 13f79535-47bb-0310-9956-ffa450edef68
2015-01-23 17:23:12 +00:00
Jacques Le Roux 3369dca046 Replaces title="${uiLabelMap.CommonEmptyHeader}" by title=" " where it's known to not be a problem. Here with links styled by widget-style="buttontext"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340373 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 08:45:18 +00:00
Adrian Crum 7bc8872f31 Small layout fix for rev 1160402.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1160416 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 20:16:01 +00:00
Adrian Crum 3dcb375095 Added notes to quotes. Patch contributed by Anne Jessel (https://issues.apache.org/jira/browse/OFBIZ-4370) with some changes by me.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1160402 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 19:47:58 +00:00
Marco Risaliti 4e4c313cd1 Rename some labes related to quotes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1128627 13f79535-47bb-0310-9956-ffa450edef68
2011-05-28 12:38:07 +00:00
Hans Bakker 3714571383 add possibility to have quote terms also on the quote level
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1073587 13f79535-47bb-0310-9956-ffa450edef68
2011-02-23 03:57:33 +00:00
Hans Bakker 39408b7951 add quoteterm fields to be the same as ordeterm fields, add maintenance screens to the quote, copy quoteterms to orderterms when creating order from quote
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1067840 13f79535-47bb-0310-9956-ffa450edef68
2011-02-07 01:56:53 +00:00
Jacques Le Roux 6a7a46d41a Was useless there target-window="_BLANK"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1063379 13f79535-47bb-0310-9956-ffa450edef68
2011-01-25 17:54:45 +00:00
Jacques Le Roux a8e6ac5cd3 A part of "Order: PDF rendering in same browser window as OFBiz in stead of new window" (https://issues.apache.org/jira/browse/OFBIZ-4140) - OFBIZ-4140
Only added target-window="_BLANK" in widget forms when needed.
I don't know how to handle rendering of Birt reports in another window...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1063374 13f79535-47bb-0310-9956-ffa450edef68
2011-01-25 17:45:54 +00:00
Adam Heath ac2299c50e Fix a bunch of no final newline issues.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@965918 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 17:15:21 +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