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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #179011|0                           |1
        is obsolete|                            |

--- Comment #15 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 187219
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=187219&action=edit
Bug 26540: Remove 'CASH' type from 'refund' and 'payout'

This patch removes the 'CASH' transaction type, hides the register
selection and adds an alert to the Payout and Refund modals on the
boraccount page if there are no cash registers yet defined at the for
the current branch.

Test plan
1) Enable 'UseCashRegisters'
2) Add a credit to a user account
3) Attempt to 'Issue payout' of the credit to the user and note
3a) A new blue info message appears in the modal letting you know that
    you cannot issue a payout of type 'Cash' to the user without first
    adding a cash register. (If you have the correct permissions, you
    will also see a button in that info box allowing you to add said
    register)
3b) You will not see either the payment type or registers pulldown in
    the modal
4) Add at least one new 'PAYMENT_TYPE' authorized value
5) Repeat step 3
5a) Note the blue info message still appears
5b) You may now select a payment type as defined in step 4, however the
'Cash' option is not available.
5c) There is still not an option to select a cash register
6) Add a cash register for your branch
7) Repeat step 3
7a) You will no longer see the blue info box
7b) You should be able to select 'Cash' from the 'Payment type' options
7c) You will be able to select your cash register

Signed-off-by: Martin Renvoize <[email protected]>
Signed-off-by: Baptiste Wojtkowski <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to