Our (new) customer is getting the hang of his new environment.
He's a "cash only" business, in that he doesn't have 'on account' customers. If people want stuff from his shop, they have to pay for it first.
95% of the time the transactions are this simple, and the POS software is just fine. But occasionally, customers return stuff. And then want to buy different stuff. And it gets complicated.
Say the customer returns $200 worth of goods, which is credited back into stock; they get a $200 credit on their account (rather than a cash refund). We can handle this.
Then they want to buy $300 worth of goods, for which they want to use their $200 credit, and pay the balance in cash. This is where it gets tricky.
What I'd like, is to be able to pop up a "Hey, this customer has a $200 credit, would you like to use it?" And if they answer 'yes', then I'd like the till slip to reflect a $200 'payment' from store credit and a $100 payment in cash.
I figure finding the $200 credit will be easy enough by looking at the debtor's current balance. But:
1) I don't know how to 'allocate' that $200 credit to the $300 sale so that I can show it as a 'payment' on the sale.
2) consequently, I don't know how to (reliably) capture the fact that I still need to collect $100 in cash (or credit card). And then process the 'fully paid' order.
So there are few parts to this puzzle, and I'm not sure where to start.
Even if we drive this process in Jiwa itself, instead of from the POS, it's quite a few steps, and a bit messy.
for (1), some options considered include:
a) adding a 'discount' item to the order, hiding it from the UI, but making it look like a 'payment' record on the till receipt.
b) adding a payment type of 'consume store credit', and then figuring out how to journal it into the right place as part of processing the order.
Any suggestions?


