https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33501

Martin Renvoize (ashimema) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |43959

Pedro Amorim (ammopt) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Passed QA                   |Failed QA
                 CC|                            |[email protected]
                   |                            |k

--- Comment #41 from Pedro Amorim (ammopt) <[email protected]> ---
Hi all,

This series adds a new 'CashupPaymentTypes' preference to choose which payment
types are counted at cashup. The atomicupdate sets it to 'CASH,SIP00'. But the
cashup summary now also uses it to decide what to show. Before, the summary
showed every payment type that had takings. Now payments of any type not in the
preference (card, cheque, etc.) silently disappear from it, even though their
amounts are still in the total. Adding a type to the preference brings it back,
but then that type also has to be counted in 'Complete cashup'.

Is this intended? It isn't mentioned in the commit messages.

To reproduce:
1) Set 'UseCashRegisters' to 'Use'
2) Go to Administration > Cash registers
(http://localhost:8081/cgi-bin/koha/admin/cash_registers.pl), click 'New cash
register', enter 'Test' as the name, choose 'Centerville' as the library and
click 'Add'
3) Go to Administration > Authorized values > PAYMENT_TYPE
(http://localhost:8081/cgi-bin/koha/admin/authorised_values.pl?searchfield=PAYMENT_TYPE)
and add 'CARD' with description 'Card'
4) Go to patron 42 > Accounting > 'Create manual invoice'
(http://localhost:8081/cgi-bin/koha/members/maninvoice.pl?borrowernumber=51),
choose 'Manual fee' as the type, enter '30.00' as the amount and click 'Save'
5) Repeat step 4 with '20.00' as the amount
6) On the 'Make a payment' tab, click 'Pay' on the 30.00 fee, choose 'Cash' as
the payment type and 'Test' as the cash register, and click 'Confirm'
7) Click 'Pay' on the 20.00 fee, choose 'Card' as the payment type and 'Test'
as the cash register, and click 'Confirm'
8) Go to Point of sale > Cash summary for 'Test'
(http://localhost:8081/cgi-bin/koha/pos/register.pl), click 'Record cashup' and
then 'Start cashup'
9) Click 'Preview cashup summary'
10) Confirm the total is 50.00 and 'Cash removed from register' shows 30.00,
but there is no 'Card collected' line for the other 20.00
11) Confirm that without the patch the summary also shows 'Card collected' with
20.00

Non-blockers:
- The first commit says existing installations are unaffected, but they do see
a change. Before, Complete cashup asked for one cash amount, covering both CASH
and SIP00 payments. With the new default 'CASH,SIP00' it now asks for two
required amounts, 'Cash' and 'Cash via SIP2', so libraries without SIP2 cash
payments have to enter 0 in 'Cash via SIP2' at every cashup. To see it, after
step 8 above, close the summary and click 'Complete cashup': the modal has a
'Cash' and a 'Cash via SIP2' row. Without the patch, the same modal asks for a
single cash amount.
- The JS added to pos/registers.tt (lines 411 and 413) builds the income and
outgoing lines with a hardcoded "(bankable: ...)" string that isn't wrapped in
_(), so it can't be translated, while the same labels elsewhere on the page
can.


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43959
[Bug 43959] Cash-up reports false surplus or deficit when amounts contain
fractions of a penny
-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to