Commit Graph
264 Commits
Author SHA1 Message Date
Marco Risaliti 9dddaebcc5 Revert rev. 1081099
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1081516 13f79535-47bb-0310-9956-ffa450edef68
2011-03-14 19:10:12 +00:00
Marco Risaliti 8335300073 Remove some warning in pos component (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1081099 13f79535-47bb-0310-9956-ffa450edef68
2011-03-13 12:43:16 +00:00
Jacques Le Roux a98522b7ce Fix an issue reported by Paul Foxworthy in OFBIZ-4114
As it's not a service but a public method we should not use return ServiceUtil.returnError here but return null (return was missing Paul reported)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1060261 13f79535-47bb-0310-9956-ffa450edef68
2011-01-18 09:18:19 +00:00
Scott Gray d1d8905fef Remove unnecessary casts
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1044931 13f79535-47bb-0310-9956-ffa450edef68
2010-12-12 21:31:27 +00:00
Scott Gray b06aed2cb5 Remove unnecessary semicolons
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1044917 13f79535-47bb-0310-9956-ffa450edef68
2010-12-12 20:43:03 +00:00
Scott Gray 6a0b8b494c Replace empty if block with a condition for the else block
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1044915 13f79535-47bb-0310-9956-ffa450edef68
2010-12-12 20:41:59 +00:00
Adam Heath 1f5ae9d0c9 Remove some trailing whitespace from lines; only doing files that will
be modified by soon to be committed changesets.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1044227 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 07:20:25 +00:00
Adam Heath a1c6a4d758 Set svn:eol-style properly on all java files. This needs to be done on other text files as well, but that would cause undo conflicts in the jquery branch(due to .js being heavily modified there). Also, some files were committed to the repository with DOS line endings; those are fixed as well.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1044202 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 02:40:02 +00:00
Adam Heath 5b3b7e0c99 Finally created a script to find and fix tons of missing final newlines.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@982870 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 04:46:48 +00:00
Adam Heath 0f8f2093e3 Fix a bunch of no final newline issues.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@965918 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 17:15:21 +00:00
Jacques Le Roux 0d6f2776e4 <author>None</author> is totally useless and we don't need an author OOTB
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@949101 13f79535-47bb-0310-9956-ffa450edef68
2010-05-28 05:41:23 +00:00
Jacques Le Roux be88f832a2 Not sure why, but my regexp S/R in the commit r948846 boke some formatting. I also removed some useless other stuff in this commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@948852 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 14:45:59 +00:00
Jacques Le Roux ef2a1c044c We don't need
<copyright>Copyright 2001-.* The Apache Software Foundation</copyright>
<copyright><year>.*</year><holder>Apache Foundation</holder></copyright>
<copyright><year>.*</year><holder>Apache Foundation.</holder></copyright>
<owner>Copyright 2001-.* The Apache Software Foundation</owner>

Less to update every year!

Thanks to BJ 1st effort at "update files from 2009 to 2010" (https://issues.apache.org/jira/browse/OFBIZ-3783) - OFBIZ-3783

Note: there are been a lot of efforts in 2009: there are plenty of data dated from this year!

I hope I did not broke anything (should not, but of course I did not try all changes...) Anyway, this can be easily reverted...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@948846 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 14:23:22 +00:00
Scott Gray f98e6b41fb Get rid of a bunch of Integer instantiations
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@935163 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 10:27:15 +00:00
Jacques Le Roux 9057c4c261 A patch from Bob Morley "Resolve java warnings exposed in Eclipse (POS part of OFBIZ-3100)" https://issues.apache.org/jira/browse/OFBIZ-3600 - OFBIZ-3600
Changes across quite a few classes in the Pos area. Also minor changes to the CheckoutHelper - validatePaymentMethods and processPayment methods which were returning non-generic Maps.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@930373 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 20:31:12 +00:00
Ashish Vijaywargiya 067d4fb1df Applied patch from jira issue OFBIZ-3550 - Use shopinglistType from request parameter instead of using default for addBulkFromCart event.
Thanks Parimal for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@922504 13f79535-47bb-0310-9956-ffa450edef68
2010-03-13 08:39:57 +00:00
Adam Heath 585863454b Fix trailing whitespace, and mixed tab/space at the beginning of lines.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@899812 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 21:00:23 +00:00
Adam Heath 59dabfc7e6 Remove most docs targets, they are all the same anyways.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@894031 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 22:28:48 +00:00
Adam Heath 79268b7635 Convert all javadoc calls to use fileset instead of sourcepath; this
allows excludes to be processed correctly.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@894030 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 22:24:20 +00:00
Adam Heath e98eaeed80 Add a classes target to common.xml, and switch most build.xml to use it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@894024 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 22:16:56 +00:00
Adam Heath aff93c1ef4 Switch all javac15 to javac16.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@894022 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 22:12:04 +00:00
Jacques Le Roux 2e261a651d Cleaner: try catch finally block around EntityLisIterator was missing
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@890107 13f79535-47bb-0310-9956-ffa450edef68
2009-12-13 19:49:58 +00:00
Jacques Le Roux b27129020c Wrong value was checked.
Before creating the user login, I checked the presence of the cardId instead of the phone (certainly a remaining in the code from previous attempts). 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@890057 13f79535-47bb-0310-9956-ffa450edef68
2009-12-13 12:21:48 +00:00
Jacques Le Roux a4216e6e2c Fix possible NPEs
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@890050 13f79535-47bb-0310-9956-ffa450edef68
2009-12-13 11:41:26 +00:00
Jacques Le Roux 8e64a78d5e More details in POS demo data can't hurt
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@889903 13f79535-47bb-0310-9956-ffa450edef68
2009-12-12 09:26:09 +00:00
Jacques Le Roux 348f993307 Update the link to documentation (also updated)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@888510 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 18:42:35 +00:00
Jacques Le Roux 6158cad236 To allow to void a sale in POS
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@884529 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 11:35:50 +00:00
Jacques Le Roux 0698881e24 Use UtilValidate.isNotEmpty methods instead of (obj != null) || (obj.length > 0) and (obj != null) || (obj.size > 0)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@883549 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 23:41:34 +00:00
Jacques Le Roux a05e836be1 Use UtilValidate.isEmpty methods instead of (obj == null) || (obj.size == 0)
Complete r883492

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@883516 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 22:02:05 +00:00
Adam Heath 68112061cf Deprecate UtilCache constructors, and add a create helper function.
This is the first step to making utilCacheTable concurrent, and
non-blocking.  To do so, the constructor has to have no side-effects.
This means it can't modify utilCacheTable itself; this will be moved to
the helper function created above.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@883217 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 02:56:28 +00:00
Jacques Le Roux 2091420339 Close "Replace all "0.00" in java code, notably to allow passing different decimals lenghtes" (https://issues.apache.org/jira/browse/OFBIZ-3200) - OFBIZ-3200
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@836153 13f79535-47bb-0310-9956-ffa450edef68
2009-11-14 11:01:08 +00:00
Jacques Le Roux f84a108e1e Correct French label
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@834935 13f79535-47bb-0310-9956-ffa450edef68
2009-11-11 16:09:43 +00:00
Jacques Le Roux d819b1044a Some better log info. Related to OFBIZ-487 which was actually already in.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@834793 13f79535-47bb-0310-9956-ffa450edef68
2009-11-11 07:50:56 +00:00
Jacques Le Roux 70d7737b56 Oops, forgot the else block in r834173
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@834214 13f79535-47bb-0310-9956-ffa450edef68
2009-11-09 20:21:57 +00:00
Jacques Le Roux 150dc70c7e Sometimes product description is not available, and internal name is not localisable (AFAIK), product name helps then...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@834173 13f79535-47bb-0310-9956-ffa450edef68
2009-11-09 18:45:34 +00:00
Jacques Le Roux e2f047d529 This is needed in POS at least for promotions which have a party in condition (or a promo code related). Anyway it's needed...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@834140 13f79535-47bb-0310-9956-ffa450edef68
2009-11-09 16:44:23 +00:00
Jacques Le Roux 1d666c1206 Safer : set partyId only if all is OK
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@834033 13f79535-47bb-0310-9956-ffa450edef68
2009-11-09 12:34:23 +00:00
Jacques Le Roux 489a450105 In ConfigureItem.java a work in progress should not have been committed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@832879 13f79535-47bb-0310-9956-ffa450edef68
2009-11-04 21:50:31 +00:00
Jacques Le Roux 8639688c6f Small changes, no real impacts
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@832848 13f79535-47bb-0310-9956-ffa450edef68
2009-11-04 19:25:37 +00:00
Jacques Le Roux fd6c2a0e10 File names consistency and show right screen at end of payment (I think this needs a little clean up, will do ASAP)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@832358 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 09:24:26 +00:00
Jacques Le Roux 1c798e0fba Some generics in POS
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@832186 13f79535-47bb-0310-9956-ffa450edef68
2009-11-02 23:22:46 +00:00
Jacques Le Roux 1fcd5ab570 Handle several promo codes in the Promo status bar and canceling them, with the customer selected as well
+ some better French labels
+ some generics
+ a MaxInactivity parameter has been introduced (was harcoded)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@831753 13f79535-47bb-0310-9956-ffa450edef68
2009-11-01 20:04:17 +00:00
Jacques Le Roux 8100ae6e6f Some more generics with Eclipse help
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@831559 13f79535-47bb-0310-9956-ffa450edef68
2009-10-31 15:58:57 +00:00
Jacques Le Roux 3d1e85aa72 Consistent French label
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@831558 13f79535-47bb-0310-9956-ffa450edef68
2009-10-31 15:58:17 +00:00
Jacques Le Roux cc699e07db POS Chinese labels from Terence NG "Simplified Chinese localization of PosUiLabels.xml" (https://issues.apache.org/jira/browse/OFBIZ-3131) - OFBIZ-3131
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@831526 13f79535-47bb-0310-9956-ffa450edef68
2009-10-31 09:53:45 +00:00
Jacques Le Roux b54956cbe3 Replace client by customer in English in POS labels (in French it's only Client). I feel it's more a customer than a client.
+ new button label in MGR panel : "Void a sale", it's not the same than "Void the sale"

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@831522 13f79535-47bb-0310-9956-ffa450edef68
2009-10-31 08:54:14 +00:00
Jacques Le Roux 1a9b13c272 Some generics
+ fix a bug reported by Akash Jain on dev ML (in r831262)
+ improvements in PosTransaction.editClientProfile

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@831314 13f79535-47bb-0310-9956-ffa450edef68
2009-10-30 14:35:20 +00:00
Jacques Le Roux cb1381bb7c Revert r831259 (done in haste wrong file) and add all generics needed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@831262 13f79535-47bb-0310-9956-ffa450edef68
2009-10-30 11:08:41 +00:00
Jacques Le Roux 5bb4ea633f Following Scott's fix in r831246. Weird because this was compiling in Eclipse, so I did not notice my bad.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@831259 13f79535-47bb-0310-9956-ffa450edef68
2009-10-30 10:55:22 +00:00
Jacques Le Roux 571979b20f Add an azerty virtual keyboard to the POS
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@831192 13f79535-47bb-0310-9956-ffa450edef68
2009-10-30 04:07:53 +00:00