Bug 33501

Summary: Cashup amount should be configurable
Product: Koha Reporter: Christopher Brannon <cbrannon>
Component: Point of SaleAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: martin.renvoize
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41299
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 40445    
Bug Blocks:    

Description Christopher Brannon 2023-04-11 23:16:20 UTC
It seems the Cashup summary only accounts for the cash payment type.  We have a check payment type that should also be included.  Am I missing a configuration somewhere, or do we need some way to define what should be included in the summary and intake balance?
Comment 1 Katrin Fischer 2023-04-15 23:30:07 UTC
It's not configurable now. 

I think the feature was written with cash registers in mind. When you do a cash-up, it tells you how much money you need to take out in order to keep a certain amount of change in the register. 
I am not sure if adding non-cash payment types would complicate this in some way. Adding Martin.
Comment 2 Martin Renvoize (ashimema) 2023-04-20 11:09:41 UTC
This is where 'credit type' and 'payment/transaction type' differ... credit types are configurable, but transaction types aren't at this time.. most places you select the payment/transaction type at transaction time.. is there's somewhere missing this and could you not select 'Cheque' for 'Credit type' with 'Cash' as transaction type?
Comment 3 Christopher Brannon 2023-04-21 20:46:17 UTC
(In reply to Katrin Fischer from comment #1)
> It's not configurable now. 
> 
> I think the feature was written with cash registers in mind. When you do a
> cash-up, it tells you how much money you need to take out in order to keep a
> certain amount of change in the register. 
> I am not sure if adding non-cash payment types would complicate this in some
> way. Adding Martin.

Yes, and checks are typically taken out and tallied along with cash.  They have to be accounted for, and not left in the register.
Comment 4 Christopher Brannon 2023-04-21 21:19:39 UTC
(In reply to Martin Renvoize from comment #2)
> This is where 'credit type' and 'payment/transaction type' differ... credit
> types are configurable, but transaction types aren't at this time.. most
> places you select the payment/transaction type at transaction time.. is
> there's somewhere missing this and could you not select 'Cheque' for 'Credit
> type' with 'Cash' as transaction type?

I'm not sure I'm understanding you here.  I am only aware of the PAYMENT_TYPE authorized value where we set types of Cash, Credit, or Check.  That works just fine.  It is in the cashup workflow where it shows the balance that we need to pull from the register where it does not reflect the check amounts.  There is no place that I can see where we can define what payment types are included in the cashup balance.
Comment 5 Katrin Fischer 2023-04-23 10:13:20 UTC
(In reply to Christopher Brannon from comment #3)
> (In reply to Katrin Fischer from comment #1)
> > It's not configurable now. 
> > 
> > I think the feature was written with cash registers in mind. When you do a
> > cash-up, it tells you how much money you need to take out in order to keep a
> > certain amount of change in the register. 
> > I am not sure if adding non-cash payment types would complicate this in some
> > way. Adding Martin.
> 
> Yes, and checks are typically taken out and tallied along with cash.  They
> have to be accounted for, and not left in the register.

I was wondering how it could affect the value of change that should always remain in the register. If your cash in the register is low and there is mostly checks, you'll get into a situation where you need to replace some checks with change money again.

I wonder if there is a better way to handle this somehow. At least it would be necessary to be able to 'flag' which payment type are 'physical' ones ending in the register. But maybe there should also be some clever calculation that tell you: take out all cheques and please fill up change money by X.
Comment 6 Martin Renvoize (ashimema) 2026-01-12 15:50:56 UTC
I think, given the current restrictions we have around payment_types being an authorised value.. the best approach I can think of is one where we have an additional system preference to define a list of payment types that should be utilised in the cashup and reconciliation workflows.

I think we'd want to display an input box per payment type for the reconciliation amounts to be entered.