Commit Graph
7 Commits
Author SHA1 Message Date
Jacques Le Roux cb76577cae Fix some party error labels and create a new error dialog box in POS with larger size and smaller font size (style) inside to allow long error messages to be viewed.
Use it in PosTransaction.java for Person creation and update (cardId is unique)
Fix some typos here and there

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826248 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 13:43:27 +00:00
Jacques Le Roux 9a0782f597 Fighting with an issue with Chinese fonts in POS (XUI) on Windows (OK on Mac) I commit these small changes. They didn't not help but anyway it's better.
http://n4.nabble.com/Simplified-Chinese-characters-are-displayed-as-square-boxes-in-POS-td165505.html#a165506 helped but only for a small part of the screen.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@825994 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 16:41:19 +00:00
Jacques Le Roux 8221fd7899 New feature : in the POS adds the possibility to create a client profile (for now : name, email, phone#, card id for promo), email is also used to create an user login with card id as pwd (login/pwd couple follows changes).
The card id is stored in the Person.memberId field. It's used as a promo code. So if the same id is defined as a promocode, any promotion using this promo code will be added to the cart when you select a client from the Client Profile screen. Else a message will pop when selecting the client.
The idea is to generate promo codes and to use them as card id when creating the physical card.

The Client Profile screen (from Promo button in promo panel) allow you to search for all client (all fields empty) or to focus on a client (at least one field files). For now the search use a stric equals but I plan to allow also contains (ie %like%)
You may edit the client profile and as explained above select a client to apply promotions related to his/her card id.
I plan to add a status bar at bottom of the POS screen to see promocodes used (you may still enter arbitrary promo code with the Promo Code button) or even maybe rather the related promotions (but I doubt there will enough place).
The promo code is used as long as the cart is open.

There are also some generics enhancement in PosTransaction not all related to this new feature.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@823475 13f79535-47bb-0310-9956-ffa450edef68
2009-10-09 09:24:54 +00:00
Jacques Le Roux b9c3ddef08 2d part and end of an effort to remove trailing spaces
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg)

Of course this effort to remove trailing spaces has no functional implications.

Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {

So these changes are also in this commit, should not be a problem anyway.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
Jacques Le Roux 9d62001e36 A modified patch from Chris Lombardi "Ability to add items with modifiers in POS" (https://issues.apache.org/jira/browse/OFBIZ-1109) - OFBIZ-1109
There are some additions I did, and still some things to do... An new Jira issue should be opened

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@604993 13f79535-47bb-0310-9956-ffa450edef68
2007-12-17 20:41:23 +00:00
Jacques Le Roux dad67935f7 A (large) patch from Scott Gray "Update ASL header" (https://issues.apache.org/jira/browse/OFBIZ-637).
I put also some svn:ignore for shark build and lib diretories and assetmaint/build 

I did some by hand lately, too much to remember. They were files with old header but without copyright. A 1st attempt I suppose, will have to check this after this commit.

I add some problems to commit this patch in one piece because it's so huge (specially with Eclipse I had to turn to Tortoise) !

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499486 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 17:15:54 +00:00
David E. Jones 64d21975bf Created new specialpurpose directory for special purpose components that are based on the more general components under the applications directory, but reuse resources in order to create applications meant for a special purpose, or a particular type of user or task; also adjusted build files, component load files, etc
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@476486 13f79535-47bb-0310-9956-ffa450edef68
2006-11-18 10:32:43 +00:00