Purposely only used (visible fields) for now in the Promo Panel, to show possible promo or/and customer selected.
This to allow further status fields later, related to other panels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829406 13f79535-47bb-0310-9956-ffa450edef68
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
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
More to come since as is it need a change in /specialpurpose/pos/config/xpos.properties, the variables of ClientWidth/ClientHeight have to be modified from 1024/768 to 800/600.
I hope to make this change automatic.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@818432 13f79535-47bb-0310-9956-ffa450edef68
[ \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
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@707914 13f79535-47bb-0310-9956-ffa450edef68
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@703659 13f79535-47bb-0310-9956-ffa450edef68
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
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
Some miscelaneous refactoring.
I also desesperatly tried to set the focus on Save Sale field (with the aim to generalize in other dialog boxes) but did not succeed even with the help of XUI guys. Nevertheless I kept commented my changes for a future try.
BTW I noticed that BigDecimal is not used in POS at all. I will soon create a Jira issue for this.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@482591 13f79535-47bb-0310-9956-ffa450edef68