Commit Graph
124 Commits
Author SHA1 Message Date
Jacques Le Roux 92dacb9091 Remove
taxCategory
    taxVatCode
    taxDutyCode
fields from Product entity and all things related. 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@690360 13f79535-47bb-0310-9956-ffa450edef68
2008-08-29 18:29:57 +00:00
Jacques Le Roux e7905f2c8c 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@686591 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 07:47:18 +00:00
Adam Heath e410552cc9 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@685934 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 15:08:14 +00:00
Adam Heath 2617681b51 Remove svn:executable on a bunch of stuff.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@684389 13f79535-47bb-0310-9956-ffa450edef68
2008-08-10 00:53:43 +00:00
Jacques Le Roux 06bd215978 Link to Wiki page
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@684192 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 08:08:10 +00:00
Adam Heath b6a1ae5e5e 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@681935 13f79535-47bb-0310-9956-ffa450edef68
2008-08-02 03:41:46 +00:00
Jacques Le Roux f2a31a4390 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@680147 13f79535-47bb-0310-9956-ffa450edef68
2008-07-27 16:40:33 +00:00
Scott Gray d37ce8cb21 * 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@677885 13f79535-47bb-0310-9956-ffa450edef68
2008-07-18 12:18:51 +00:00
Jacques Le Roux 641ff10050 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@677685 13f79535-47bb-0310-9956-ffa450edef68
2008-07-17 18:56:25 +00:00
Jacques Le Roux 9d077e3843 Better French labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@676698 13f79535-47bb-0310-9956-ffa450edef68
2008-07-14 19:32:29 +00:00
Jacques Le Roux 7d4897273c Sorted and formated, thanks to Bruno's Python script
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@676625 13f79535-47bb-0310-9956-ffa450edef68
2008-07-14 15:39:45 +00:00
Jacques Le Roux a0b2e37aa2 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@676590 13f79535-47bb-0310-9956-ffa450edef68
2008-07-14 13:52:28 +00:00
Jacques Le Roux 5c4a11852b 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@675948 13f79535-47bb-0310-9956-ffa450edef68
2008-07-11 13:35:32 +00:00
Jacques Le Roux 939effb6e3 Complete Revision 672822 for specialpurpose
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@675947 13f79535-47bb-0310-9956-ffa450edef68
2008-07-11 13:32:46 +00:00
Jacques Le Roux b7ee657e75 . 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@675275 13f79535-47bb-0310-9956-ffa450edef68
2008-07-09 18:06:14 +00:00
Jacques Le Roux 724b8e7f8a 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@674829 13f79535-47bb-0310-9956-ffa450edef68
2008-07-08 14:04:16 +00:00
Jacques Le Roux 1b71ecf920 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@674810 13f79535-47bb-0310-9956-ffa450edef68
2008-07-08 13:10:07 +00:00
Jacques Le Roux 5a5105065b 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@674809 13f79535-47bb-0310-9956-ffa450edef68
2008-07-08 13:08:45 +00:00
Jacques Le Roux cb2bd3e357 Actually the num keybd makes more sense in Paid In and Out
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@674761 13f79535-47bb-0310-9956-ffa450edef68
2008-07-08 10:55:20 +00:00
Jacques Le Roux 3e3aa9c8a7 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@673749 13f79535-47bb-0310-9956-ffa450edef68
2008-07-03 18:23:06 +00:00
Adam Heath 18391f98a9 The build.xml files are now much smaller and simpler; they reuse a
few global definitions.  1585 lines removed.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@672657 13f79535-47bb-0310-9956-ffa450edef68
2008-06-29 18:39:36 +00:00
Jacques Le Roux 2be137f098 Introduce a ShowKeyboardInSaveSale parameters in a new parameters.properties file to allow showing the virtual keyboard or not. Used for the moment in Save Sale screen only
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@672390 13f79535-47bb-0310-9956-ffa450edef68
2008-06-27 20:53:43 +00:00
Jacques Le Roux b67c157aeb Fix a couple of XUI deprecated warnings
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@671896 13f79535-47bb-0310-9956-ffa450edef68
2008-06-26 13:40:59 +00:00
Jacques Le Roux eeac1e8042 Re-formated and cleaned previous commit (r671316) done directly from the patch
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@671332 13f79535-47bb-0310-9956-ffa450edef68
2008-06-24 20:40:11 +00:00
Jacques Le Roux ab9f4e94cb A patch from Chris Lombardi & Branden Strickland "Modal windows require keyboard and mouse" (https://issues.apache.org/jira/browse/OFBIZ-1427) - OFBIZ-1427
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@671316 13f79535-47bb-0310-9956-ffa450edef68
2008-06-24 19:40:34 +00:00
Jacques Le Roux 3ed61baecd Removed GC-card buttons which were giving issues and questions on ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@670168 13f79535-47bb-0310-9956-ffa450edef68
2008-06-21 09:08:12 +00:00
David E. Jones 05d4eb1eb1 More cleanups of now deprecated constructors and what what
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@660844 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 07:24:25 +00:00
Scott Gray 153653615b Removed the rest of the calls to deprecated GenericDelegator methods, except for the findListIteratorByCondition which takes a DynamicViewEntity as a parameter not sure what to do about that one.
There's still all the bsh files to check though.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@655235 13f79535-47bb-0310-9956-ffa450edef68
2008-05-11 03:29:04 +00:00
David E. Jones 329631a4b5 A whole bunch of cleanups to use newer and more consolidated delegator find methods; still lots of deprecation warnings, bots of deprecation warnings but this is a first pass, and things still run as before
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@653029 13f79535-47bb-0310-9956-ffa450edef68
2008-05-03 09:40:51 +00:00
Jacques Le Roux f1e0a5365e This was needed since one of the commits related to https://issues.apache.org/jira/browse/OFBIZ-1630 and related tasks
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@647274 13f79535-47bb-0310-9956-ffa450edef68
2008-04-11 19:27:33 +00:00
Jacques Le Roux d19a70fa29 A patch from Chris Lombardi "POS payment failures should not be retried and notified by email" (https://issues.apache.org/jira/browse/OFBIZ-1627) - OFBIZ-1627
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@639207 13f79535-47bb-0310-9956-ffa450edef68
2008-03-20 08:54:17 +00:00
Jacques Le Roux eebd98c9c8 A patch from Chris Lombardi "POS: credit card data compliance" 'https://issues.apache.org/jira/browse/OFBIZ-1674) - OFBIZ-1674
+ a file which was missing in a previous commit (base component-load.xml)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@637395 13f79535-47bb-0310-9956-ffa450edef68
2008-03-15 11:31:20 +00:00
Jacques Le Roux bf3d2e6726 Patches from Chris Lombardi "POS: full credit card number is printed on receipt" (https://issues.apache.org/jira/browse/OFBIZ-1687) - OFBIZ-1687
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@637310 13f79535-47bb-0310-9956-ffa450edef68
2008-03-15 00:33:36 +00:00
Christian Geisert 8062cf454d Setting svn properties (svn:eol-style,svn:mime-type,svn:keywords)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@634223 13f79535-47bb-0310-9956-ffa450edef68
2008-03-06 11:30:01 +00:00
Jacques Le Roux 99974ed508 Arg, typo :(
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@631399 13f79535-47bb-0310-9956-ffa450edef68
2008-02-26 21:50:24 +00:00
Jacques Le Roux dec316f7fe Finally better translation (French and Spanish)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@631383 13f79535-47bb-0310-9956-ffa450edef68
2008-02-26 21:18:40 +00:00
Jacques Le Roux 15f7203152 A temporary patch from Chris Lombardi "POS: Msr has double event issue in linux" (https://issues.apache.org/jira/browse/OFBIZ-1671) - OFBIZ-1671
This closes also  (https://issues.apache.org/jira/browse/OFBIZ-567) - OFBIZ-567
Also changed UseWindow=false and removed the associated comment in xpos.properties


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@630975 13f79535-47bb-0310-9956-ffa450edef68
2008-02-25 20:09:51 +00:00
Jacques Le Roux a628c693ee A patch from Chris Lombardi "POS: Clear One payment does not work" (https://issues.apache.org/jira/browse/OFBIZ-1673) - OFBIZ-1673
I also amended the corresponding label in French and Spanish

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@630824 13f79535-47bb-0310-9956-ffa450edef68
2008-02-25 12:10:42 +00:00
Jacques Le Roux cb4b09878b Should definitively fix "Sales percent discount doesn't show up in Journal" (https://issues.apache.org/jira/browse/OFBIZ-1608) - OFBIZ-1608
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@628825 13f79535-47bb-0310-9956-ffa450edef68
2008-02-18 17:23:14 +00:00
Jacques Le Roux 402e0062d9 Fix "Sales percent discount doesn't show up in Journal" (https://issues.apache.org/jira/browse/OFBIZ-1608) - OFBIZ-1608
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@628551 13f79535-47bb-0310-9956-ffa450edef68
2008-02-17 21:23:18 +00:00
Jacques Le Roux b6cd4e2e55 Added Enchiladas
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@619992 13f79535-47bb-0310-9956-ffa450edef68
2008-02-08 20:35:36 +00:00
Jacques Le Roux 11ea4e6c9e Some settings needed for XUI 3.2rc2b update (cosmetics)
The journal rows height is now 30 pixels, I hope it enough to catch a line with a touch screen

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@619202 13f79535-47bb-0310-9956-ffa450edef68
2008-02-06 22:49:42 +00:00
Jacques Le Roux 745c08f1fc This fix an issue which appeared when upgrading XUI to 3.2rc2B. The issue is described here https://issues.apache.org/jira/browse/OFBIZ-1580?focusedCommentId=12563904#action_12563904
Thanks to Jakub Jonik of XUI crew https://sourceforge.net/forum/message.php?msg_id=4751835

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@617074 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 08:59:01 +00:00
Jacques Le Roux a0fbfcf286 I also forgot this one in rev. 616709 (got caught by Tortoise)
Thanks to Marco for the reminder. Anyway this is just temporary and is not needed but for testing

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@616785 13f79535-47bb-0310-9956-ffa450edef68
2008-01-30 15:14:28 +00:00
Jacques Le Roux e8cf7acf90 I also forgot this one in rev. 616709
Thanks to Marco for the reminder. Anyway this is just temporary and is not needed but for testing

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@616774 13f79535-47bb-0310-9956-ffa450edef68
2008-01-30 14:30:26 +00:00
Marco Risaliti 754292bf60 Forgot to commit the new class NumericKeypad.java (Part of issue OFBIZ-1606)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@616746 13f79535-47bb-0310-9956-ffa450edef68
2008-01-30 13:07:15 +00:00
Jacques Le Roux fa161404ec A temporary patch from Chris Lombardi " Add numeric keypad popup function" (https://issues.apache.org/jira/browse/OFBIZ-1606) - OFBIZ-1606
Mostly usefulk for test at this stage. I added a button to acces from maion page and a caption to the new dialog box (incating it's only test for now)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@616709 13f79535-47bb-0310-9956-ffa450edef68
2008-01-30 10:08:32 +00:00
Jacques Le Roux 658f448ec9 Some Cleaning
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@615922 13f79535-47bb-0310-9956-ffa450edef68
2008-01-28 16:05:34 +00:00
Jacques Le Roux e786c0a36a Minor changes without effects
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@615570 13f79535-47bb-0310-9956-ffa450edef68
2008-01-27 10:39:49 +00:00
Jacques Le Roux 18e1e22809 Removed some obsolete comments
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@615566 13f79535-47bb-0310-9956-ffa450edef68
2008-01-27 09:11:03 +00:00