Commit Graph
124 Commits
Author SHA1 Message Date
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
Adam Heath f4db945fe7 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/specialpurpose@672657 13f79535-47bb-0310-9956-ffa450edef68
2008-06-29 18:39:36 +00:00
Jacques Le Roux ee4479b633 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/specialpurpose@672390 13f79535-47bb-0310-9956-ffa450edef68
2008-06-27 20:53:43 +00:00
Jacques Le Roux 4060863432 Fix a couple of XUI deprecated warnings
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@671896 13f79535-47bb-0310-9956-ffa450edef68
2008-06-26 13:40:59 +00:00
Jacques Le Roux 62d581505b Re-formated and cleaned previous commit (r671316) done directly from the patch
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@671332 13f79535-47bb-0310-9956-ffa450edef68
2008-06-24 20:40:11 +00:00
Jacques Le Roux 2bc848622a 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/specialpurpose@671316 13f79535-47bb-0310-9956-ffa450edef68
2008-06-24 19:40:34 +00:00
Jacques Le Roux d2118917e2 Removed GC-card buttons which were giving issues and questions on ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@670168 13f79535-47bb-0310-9956-ffa450edef68
2008-06-21 09:08:12 +00:00
David E. Jones 56eae1f8cf More cleanups of now deprecated constructors and what what
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@660844 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 07:24:25 +00:00
Scott Gray eab8d7f1c7 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/specialpurpose@655235 13f79535-47bb-0310-9956-ffa450edef68
2008-05-11 03:29:04 +00:00
David E. Jones f343641e52 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/specialpurpose@653029 13f79535-47bb-0310-9956-ffa450edef68
2008-05-03 09:40:51 +00:00
Jacques Le Roux 8e7732b829 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/specialpurpose@647274 13f79535-47bb-0310-9956-ffa450edef68
2008-04-11 19:27:33 +00:00
Jacques Le Roux d0457c2bbe 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/specialpurpose@639207 13f79535-47bb-0310-9956-ffa450edef68
2008-03-20 08:54:17 +00:00
Jacques Le Roux 9fc42f2bce 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/specialpurpose@637395 13f79535-47bb-0310-9956-ffa450edef68
2008-03-15 11:31:20 +00:00
Jacques Le Roux 0eaffca0cf 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/specialpurpose@637310 13f79535-47bb-0310-9956-ffa450edef68
2008-03-15 00:33:36 +00:00
Christian Geisert 9ec25f6535 Setting svn properties (svn:eol-style,svn:mime-type,svn:keywords)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@634223 13f79535-47bb-0310-9956-ffa450edef68
2008-03-06 11:30:01 +00:00
Jacques Le Roux 302cba9d3c Arg, typo :(
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@631399 13f79535-47bb-0310-9956-ffa450edef68
2008-02-26 21:50:24 +00:00
Jacques Le Roux 3f11e34fc7 Finally better translation (French and Spanish)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@631383 13f79535-47bb-0310-9956-ffa450edef68
2008-02-26 21:18:40 +00:00
Jacques Le Roux 15254d8f75 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/specialpurpose@630975 13f79535-47bb-0310-9956-ffa450edef68
2008-02-25 20:09:51 +00:00
Jacques Le Roux 607001e45b 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/specialpurpose@630824 13f79535-47bb-0310-9956-ffa450edef68
2008-02-25 12:10:42 +00:00
Jacques Le Roux ba574aea2d 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/specialpurpose@628825 13f79535-47bb-0310-9956-ffa450edef68
2008-02-18 17:23:14 +00:00
Jacques Le Roux 94431c0c1f 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/specialpurpose@628551 13f79535-47bb-0310-9956-ffa450edef68
2008-02-17 21:23:18 +00:00
Jacques Le Roux 1c953def14 Added Enchiladas
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@619992 13f79535-47bb-0310-9956-ffa450edef68
2008-02-08 20:35:36 +00:00
Jacques Le Roux b0b3d909ba 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/specialpurpose@619202 13f79535-47bb-0310-9956-ffa450edef68
2008-02-06 22:49:42 +00:00
Jacques Le Roux 5ec5390692 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/specialpurpose@617074 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 08:59:01 +00:00
Jacques Le Roux 3f65fe7550 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/specialpurpose@616785 13f79535-47bb-0310-9956-ffa450edef68
2008-01-30 15:14:28 +00:00
Jacques Le Roux d24c035e5a 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/specialpurpose@616774 13f79535-47bb-0310-9956-ffa450edef68
2008-01-30 14:30:26 +00:00
Marco Risaliti e344749725 Forgot to commit the new class NumericKeypad.java (Part of issue OFBIZ-1606)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@616746 13f79535-47bb-0310-9956-ffa450edef68
2008-01-30 13:07:15 +00:00
Jacques Le Roux c9ae7c1582 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/specialpurpose@616709 13f79535-47bb-0310-9956-ffa450edef68
2008-01-30 10:08:32 +00:00
Jacques Le Roux 3541891469 Some Cleaning
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@615922 13f79535-47bb-0310-9956-ffa450edef68
2008-01-28 16:05:34 +00:00
Jacques Le Roux 8fdff03e92 Minor changes without effects
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@615570 13f79535-47bb-0310-9956-ffa450edef68
2008-01-27 10:39:49 +00:00
Jacques Le Roux 1d420dbb78 Removed some obsolete comments
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@615566 13f79535-47bb-0310-9956-ffa450edef68
2008-01-27 09:11:03 +00:00