Having the four fields (name, email, phone, card id) mandatory was too much constraints in most cases and not needed at all : we only need to create a Party after all.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@824927 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
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
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