Hello everyone,
First of all allow me to introduce myself, I am currently working on redesigning a POS system that is currently in place at my local social club, while the system they have is very user friendly and looks pretty it seriously lacks in customising functionality, this is where I am trying to step in with Sambapos.
I have used samba before but it was back at version 3 of which I threw together a simple POS system with it for a Indian Restaurant which is still functioning well to this day, however what I am trying to achieve here is somewhat a lot more complex (well for me anyway)
Now the situation,
The social club uses memberships on the system, the current system basically all that it does when a card is scanned it changes the price level from 1 to 2 ā¦ 1=normal price 2=members price
This I have already replicated in samba pos and works well ā¦ (ticked off the list)
I have created the bar fast service look with the tutorial using custom buttons (forgive me cant remember whos tutorial it was but I will add ā¦ it was excellent for a new user)
customers can also top up the card and use it to pay at the bar so basically accounts
already sorted this with the help of the samba card forums and discussions I have been reading on (ticked off list)
the system also shows that the membership has lapsed after a specified date ā¦ in the clubs case 31/10/2018 ( or whatever year ) e.g lapsed for this year would be 31/10/2017
again (also ticked off the list using an account status check in the rules).
This is now where I have the problem and no matter where I look on the forum for some guidance I can not find any guide to a possible solutionā¦ I have seen it talked about but not really answered
the current system they have they can renew memberships over the bar on the pos, really simple how it works from the front end the renewal is a product (e.g 1 year Membership) and somewhere slapped completely anywhere in the products menus/settings there is a box where you type in ā¦months to add to expiry ā¦ so in this case it would be 12.
when this product is selected on the frontend and the card is scanned the account is then reactivated and the expiry date now reads 31/10/2018
replicating this process is not an issue on the product side using sambas famous commands rules and actions and changing the status of the account from active to inactive is not an issue as I have done this through a simple custom field in the customer entity ā¦ eg ACTIVEā¦INACTIVE the rules check this field ā¦ and if its inactive it displays a popup box saying āMembership Has Expired ā¦ Renewal Requiredā ā¦ so the renewal processā¦ scan the card which loads the entity customers then what ever account it is ā¦ in my testing case its Test Account the button is pressed for the renew membership and the sale is finished when this sale finishes the rules update the account status field to ACTIVE ā¦ using change ticket entity but that is where my ideas of how to get it to add 12 months onto the date currently in the expiry date field e.g 31/10/2017 + the 12 months = 31/10/2018
I have already found the details on the printer templates with the ADD and ADM functions ā¦ which would be great but Iām trying to add it to a static date that is already in the custom entity field and not {DATE} the current system date.
I have been working on this for about 3 weeks up to now and personally I feel I have come rather along way with thisā¦ whats more unbelievable is how much you can customise samba ā¦ its great of course I didnāt realise this with just quickly working with version 3.
I do really prefer the google ā¦ forum ā¦ research ā¦ play and try approach but after a week of trying to over come this problem I no choice but to get on my knees to you fine people and cry for help.
so to be simple without the story behind it all my question isā¦
is there a way / variable / string or something Iām missing completely to add 12 months to a already inserted date in the custom entity ?
thank you for your time
Lee