Commit Graph
154 Commits
Author SHA1 Message Date
Adam Heath 8e1652f2ab Fix lines that *only* have whitespace.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@759264 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 17:02:38 +00:00
Adam Heath 0d11bd0905 Fix purely empty whitespace lines, and remove trailing whitespace.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@757096 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 23:47:33 +00:00
Jacques Le Roux 909afe3f25 }finally{ => } finally {
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@751014 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 18:11:39 +00:00
Jacques Le Roux 3b088bf178 catch( => catch(
}else => } else

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@751005 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 17:55:43 +00:00
Jacques Le Roux bbe536f5c3 }else{ => } else {
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@751004 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 17:51:02 +00:00
Jacques Le Roux dccf757031 }catch => } catch
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@751003 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 17:50:08 +00:00
Jacques Le Roux 933c507164 try{ => try {
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@751002 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 17:49:18 +00:00
Jacques Le Roux cd43ec38c9 while( => while (
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@750998 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 17:38:03 +00:00
Jacques Le Roux c9a73c9b59 if( => if (
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@750997 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 17:36:09 +00:00
Jacques Le Roux 8960e50d6a In spirit of Adam's r749341 and following http://java.sun.com/docs/codeconv/html/CodeConventions.doc7.html#489
The idea is also that a lot of code is duplicated and then changed (copy/paste). Hence having a rightly formatted code help to keep it rightly formatted
1st (simple) step : ){ => ) { (I checked all occurrences but of course other pairs of eyeballs are welcome)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@750993 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 17:31:13 +00:00
Bruno Busco 5035750bf2 VisualThemes for Ecommerce (https://issues.apache.org/jira/browse/OFBIZ-2106)
The ProductStore entity has now a visualThemeId that selects the VisualTheme to be used in the Ecommerce.
This can be set in the EditProductStore form selecting a theme between the themes that belong to the "ECOMMERCE" VisualThemeSet

To the following ProductStore fields has been applied the entity deprecation pattern:
<field name="oldStyleSheet" col-name="STYLE_SHEET" type="url"></field>
<field name="oldHeaderLogo" col-name="HEADER_LOGO" type="url"></field>
<field name="oldHeaderMiddleBackground" col-name="HEADER_MIDDLE_BACKGROUND" type="url"></field>
<field name="oldHeaderRightBackground" col-name="HEADER_RIGHT_BACKGROUND" type="url"></field>

The first part of the ecommerce header.ftl (the part defining the <HEAD> tag content) has been moved to a new headerHead.ftl file. This allows all the theme defined header.ftl to include this common part that is mainly inclusion of theme defined resources and should never change (code reuse).

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@746544 13f79535-47bb-0310-9956-ffa450edef68
2009-02-21 17:18:25 +00:00
Marco Risaliti 4feaec188c A lot of hardcoded labels cleaning and changes some wrong references
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@746341 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 19:11:06 +00:00
Marco Risaliti 18a994d2b6 A lot of hardcoded labels cleaning and changes some wrong references
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@745286 13f79535-47bb-0310-9956-ffa450edef68
2009-02-17 22:57:14 +00:00
Jacques Le Roux aa92abd526 BigDecimal in POS (complete). Integration of ofbiz-1945.patch changes (with some modifications) but still not used since it miss some features:
* AutoSave (automatically save current transaction)
* Add a saved sale to the current sale
* Remove a savec sale
* Replace current sale by a saved sale and remove simultaneously the saved sale

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@745257 13f79535-47bb-0310-9956-ffa450edef68
2009-02-17 21:16:33 +00:00
Jacques Le Roux 2d754d861b Fixes done automatically by the Label Manager. I changed the wrong ones by hand, see https://issues.apache.org/jira/browse/OFBIZ-2070 - OFBIZ-2070
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@737585 13f79535-47bb-0310-9956-ffa450edef68
2009-01-25 21:41:15 +00:00
Jacques Le Roux 4c85903d68 All tabs to 4 spaces in *.groovy, *.java, *.xml : less problems in future with that aspect...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@737003 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 11:08:47 +00:00
Jacques Le Roux 2a7e23cc7a Some French labels fixes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@735829 13f79535-47bb-0310-9956-ffa450edef68
2009-01-19 21:25:25 +00:00
Marco Risaliti f91ea8186d A lot of cleaning into MyPage/MyPortal/Pos/ProjectMgr components and some italian translations (Part of OFBIZ-1780)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@735131 13f79535-47bb-0310-9956-ffa450edef68
2009-01-16 21:03:44 +00:00
David E. Jones 9d34dd9660 Manual merge of typecheckcleanup200810 branch as of rev 731346 in that branch, resolved all conflicts; with this BigDecimal is not the native type for many entity fields and is used for many calculations; some work is still needed in certain areas of the project but this covers the most critical ones; thanks especially to Scott for his work on this
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@731851 13f79535-47bb-0310-9956-ffa450edef68
2009-01-06 07:13:36 +00:00
Jacques Le Roux fd8816ed9e A modified patch from Erik Wegner "Patch for all language files (*Labels.xml) to correct language order, find duplicates or invalid entries" (https://issues.apache.org/jira/browse/OFBIZ-2073) - OFBIZ-2073
I removed some hunks, see https://issues.apache.org/jira/browse/OFBIZ-2073?focusedCommentId=12656651#action_12656651



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@726808 13f79535-47bb-0310-9956-ffa450edef68
2008-12-15 21:28:06 +00:00
Jacques Le Roux e31b9cfcef I finally prefer to have a demo taxAuthorityRateSeqId defined
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@722901 13f79535-47bb-0310-9956-ffa450edef68
2008-12-03 14:30:39 +00:00
Jacques Le Roux a1fe09e269 Useful to have VAT/GST/Sale Taxes working by default in POS
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@722836 13f79535-47bb-0310-9956-ffa450edef68
2008-12-03 10:34:22 +00:00
Adam Heath 54aaf0d0a7 Uncomment just enough to get it to compile correctly, so that ant
doesn't try to continously compile it.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@713908 13f79535-47bb-0310-9956-ffa450edef68
2008-11-14 02:17:04 +00:00
Jacques Le Roux e608ca2bf8 A patch from Nicolas Malin "Refactoring product search by id" (https://issues.apache.org/jira/browse/OFBIZ-2027) - OFBIZ-2027
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@709726 13f79535-47bb-0310-9956-ffa450edef68
2008-11-01 17:19:32 +00:00
Jacques Le Roux 72b7cc0464 Add a "Reason comment" text field to allow the admin put a comment to better qualify the Paid in/out reason (put more details, etc.).
PosTerminalInternTx.reasonComment field stores the comment.
I also sorted Xuilabels.properties and Xuilabels_fr.properties contents

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@707914 13f79535-47bb-0310-9956-ffa450edef68
2008-10-25 22:54:41 +00:00
Marco Risaliti bf2a0311a7 PAYMENT SET REF. button is not working correctly because it sets now only the first payment of the cart (Issue OFBIZ-1998)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@704645 13f79535-47bb-0310-9956-ffa450edef68
2008-10-14 19:48:26 +00:00
David E. Jones 26f6724564 Cleaned up some package names to use the specialpurpose package
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@703963 13f79535-47bb-0310-9956-ffa450edef68
2008-10-13 08:20:18 +00:00
Jacques Le Roux ecad640e23 The POS part and i18n of " Add a new "paymentReasonId" on PosTerminalInternTx entity and store payment reason id during Pos Paid IN/OUT" (https://issues.apache.org/jira/browse/OFBIZ-1991) - OFBIZ-1991
I just wonder if we should keep reasonComment as in POS it's redundant. I keep it for now and ask in Jira issue since I don't know how Marco want to use it in WebPos

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@703659 13f79535-47bb-0310-9956-ffa450edef68
2008-10-11 13:28:50 +00:00
Marco Risaliti 54eadbcbfa Add a new "paymentReasonId" on PosTerminalInternTx entity and store payment reason id during Pos Paid IN/OUT (Issue OFBIZ-1991)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@703568 13f79535-47bb-0310-9956-ffa450edef68
2008-10-10 19:56:17 +00:00
Marco Risaliti 7d440b99d7 Add a new "terminalName" on PosTerminal entity and then show it on web pos login (Issue OFBIZ-1981)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@701675 13f79535-47bb-0310-9956-ffa450edef68
2008-10-04 17:19:07 +00:00
Jacques Le Roux 5651af6de4 Remove
taxCategory
    taxVatCode
    taxDutyCode
fields from Product entity and all things related. 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@690360 13f79535-47bb-0310-9956-ffa450edef68
2008-08-29 18:29:57 +00:00
Jacques Le Roux 51dc47bb13 Fix the anti-pattern
if (* != null && *.size() > 0) { 
where * is a variable name (String or Collection). Rewritten to
    if (UtilValidate.isNotEmpty(*)) {

Done with Eclipse regex replace feature with
search = if \((\w+) *!= *null *&& *(\w+)\.size\(\) *> *0\) *\{
replace = if (UtilValidate.isNotEmpty($1)) {

And of course some hand-work for imports and cleaning. I compiled and tested with ant run-tests

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@686591 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 07:47:18 +00:00
Adam Heath 5e00789519 No longer *copy* the extra support files into the classes dir;
instead, just add them straight to the final jar.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@685934 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 15:08:14 +00:00
Adam Heath edf28807c4 Remove svn:executable on a bunch of stuff.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@684389 13f79535-47bb-0310-9956-ffa450edef68
2008-08-10 00:53:43 +00:00
Jacques Le Roux b25ffa2daa Link to Wiki page
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@684192 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 08:08:10 +00:00
Adam Heath f1ba2a8694 Another minor optimization; no longer need to specify classpathref in
all the build.xml files.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@681935 13f79535-47bb-0310-9956-ffa450edef68
2008-08-02 03:41:46 +00:00
Jacques Le Roux 603b83d7ab Add a numbers line in keyboard and simplify/clean the code + some comments about XUI 800*600 hardcoded dialog size
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@680147 13f79535-47bb-0310-9956-ffa450edef68
2008-07-27 16:40:33 +00:00
Scott Gray 1ce4df267f * Added a new method to ContactMechWorker to make it easier to get a valid facility contact mech, changed the code in few places to use it
* A few more bsh -> groovy conversions
* Fixed a couple of bugs related to the return pdf template

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@677885 13f79535-47bb-0310-9956-ffa450edef68
2008-07-18 12:18:51 +00:00
Jacques Le Roux cccfdf34bf Update Copyright to 2008
A real replace in files feature was one of the reasons I use Eclipse 3.4 for near a year now (I even helped to test, a real must have :o)
Not sure previous commit was sent partially or not at all (I needed to update)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@677685 13f79535-47bb-0310-9956-ffa450edef68
2008-07-17 18:56:25 +00:00
Jacques Le Roux d9fc9b4bfa Better French labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@676698 13f79535-47bb-0310-9956-ffa450edef68
2008-07-14 19:32:29 +00:00
Jacques Le Roux 3c6d9fe4bc Sorted and formated, thanks to Bruno's Python script
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@676625 13f79535-47bb-0310-9956-ffa450edef68
2008-07-14 15:39:45 +00:00
Jacques Le Roux a0f3651c5e Replace PosUiLabels*.properties files by PosUiLabels.xml
Merge done with a Java program I wrote using Saxon transformation done with this XSLT script http://www2.informatik.hu-berlin.de/~obecker/XSLT/#merge
I will amend the indentation later. Anybody an idea to easily do that ? (The Merging program used before is not available, Hans told me)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@676590 13f79535-47bb-0310-9956-ffa450edef68
2008-07-14 13:52:28 +00:00
Jacques Le Roux a217333bbb Should not have been in previous commit.
Not the 1st time, this file is a pain (dynamically modified) and I can't svn ignore it


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@675948 13f79535-47bb-0310-9956-ffa450edef68
2008-07-11 13:35:32 +00:00
Jacques Le Roux 78e5c8774e Complete Revision 672822 for specialpurpose
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@675947 13f79535-47bb-0310-9956-ffa450edef68
2008-07-11 13:32:46 +00:00
Jacques Le Roux f0dab7d9bb . Small change in English Labels
. Makes "PosUiLabels" public and static in PosTransaction class as suggested by Adrian (a best intra-component code practice IMHO)
. Enhance display of the dynamic item discount line on POS receipt (continue to appear only when needed but now on a new line with a description of the amount discounted)
. Add a static sale discount line in POS receipt

This closes "POS : Show discounts (item and sale) on receipt" (https://issues.apache.org/jira/browse/OFBIZ-1656) - OFBIZ-1656


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@675275 13f79535-47bb-0310-9956-ffa450edef68
2008-07-09 18:06:14 +00:00
Jacques Le Roux 1e59a67d54 Stick to usage : use resource in UtilProperties.getMessage in place of file name hardcoded (though this does not make a big difference)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@674829 13f79535-47bb-0310-9956-ffa450edef68
2008-07-08 14:04:16 +00:00
Jacques Le Roux 204bd9c54a To prevent any further misunderstanding, I have renamed the files pos.properties to PosUiLabels.properties. This was used in those java files.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@674810 13f79535-47bb-0310-9956-ffa450edef68
2008-07-08 13:10:07 +00:00
Jacques Le Roux 5a0fc33e1f To prevent any further misunderstanding I have renamed the files pos.properties to PosUiLabels.properties.
Hans could you please run your properties->xml migration tool against the newly renamed PosUiLabels.properties files (and not XuiLabels.properties of course)?

Thanks


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@674809 13f79535-47bb-0310-9956-ffa450edef68
2008-07-08 13:08:45 +00:00
Jacques Le Roux f837974e02 Actually the num keybd makes more sense in Paid In and Out
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@674761 13f79535-47bb-0310-9956-ffa450edef68
2008-07-08 10:55:20 +00:00
Jacques Le Roux 0b317660d1 Add the keyboard in Paid In and Paid out as requested initially in https://issues.apache.org/jira/browse/OFBIZ-1427
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@673749 13f79535-47bb-0310-9956-ffa450edef68
2008-07-03 18:23:06 +00:00