Koha-clms/members
Julian Maurice 50a733f09c
Bug 17702: Add UI to manage account credit types
It is the same as for debit types.

It adds a new column `archived` in table `account_credit_types` that has
the same purpose than `account_debit_types.archived`

Test plan:
0. Apply patch && run updatedatabase && update_dbix_class_files
1. Go to Admin » Credit types
2. Add a new credit type, give it a code and a description and check
   'Can be manually added'
3. Go to a patron's accounting section, 'Create manual credit' tab
4. Verify that the new credit type appears
5. Return to Admin » Credit types and archive the credit type
6. Verify that the new credit type is not available anymore in 'Create
   manual credit'
7. Restore the credit type and verify that it is available again
8. Create a manual credit with the new credit type
9. Go to Reports » Cash register and make sure you can find the
   transaction by filtering on transaction type
10. Edit the new credit type and set some library limitations, make sure
    that the credit type doesn't appear if you're connected to a library
    you didn't selected, and that it appears if you're connected to a
    library you selected.

Note to QA team:
The change in Koha/Account.pm, I added it because otherwise Koha died
when adding a manual credit with a custom type.
In that case, offset type will default to 'Manual Credit'. I'm not sure
if that is the best thing to do. I'm open to suggestions :)

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-02-20 14:46:33 +00:00
..
accountline-details.pl Bug 20666: Correct executable permissions 2018-05-03 13:26:48 -03:00
apikeys.pl Bug 21993: Display a user-friendly message when the CSRF token is wrong 2019-01-25 20:38:32 +00:00
boraccount.pl Bug 24018: Remove die "Not logged in" 2020-01-20 14:03:49 +00:00
default_messageprefs.pl Bug 18403: Update permissions - borrowers => 1|* becomes borrowers => 'edit_borrowers' 2018-02-12 15:41:37 -03:00
deletemem.pl Bug 24008: Remove minus sign when displaying credit value 2020-01-20 14:03:52 +00:00
discharge.pl Bug 24018: Remove die "Not logged in" 2020-01-20 14:03:49 +00:00
discharges.pl Bug 24018: Remove die "Not logged in" 2020-01-20 14:03:49 +00:00
files.pl Bug 24018: Remove die "Not logged in" 2020-01-20 14:03:49 +00:00
guarantor_search.pl Bug 18403: Update permissions - borrowers => 1|* becomes borrowers => 'edit_borrowers' 2018-02-12 15:41:37 -03:00
holdshistory.pl Bug 21939: Fix permissions for holds history tab 2019-11-07 13:22:03 +00:00
housebound.pl Bug 24018: Remove die "Not logged in" 2020-01-20 14:03:49 +00:00
ill-requests.pl Bug 24018: Remove die "Not logged in" 2020-01-20 14:03:49 +00:00
mancredit.pl Bug 17702: Add UI to manage account credit types 2020-02-20 14:46:33 +00:00
maninvoice.pl Bug 14898: Add button at manual invoice to redirect to pay tab 2020-02-20 09:04:27 +00:00
member-flags.pl Bug 24018: Remove die "Not logged in" 2020-01-20 14:03:49 +00:00
member-password.pl Bug 24018: Remove die "Not logged in" 2020-01-20 14:03:49 +00:00
member.pl Bug 20998: Simplify the conditional statement 2018-06-29 19:05:57 +00:00
memberentry.pl Bug 19809: Re-allow to call Koha::Objects::find in list context 2020-01-23 10:27:28 +00:00
members-home.pl Bug 23697: (QA follow-up) Rename PatronAutocompletion to PatronAutoComplete 2019-10-08 14:51:12 +01:00
members-update-do.pl Bug 24018: Remove die "Not logged in" 2020-01-20 14:03:49 +00:00
members-update.pl Bug 18403: Update permissions - borrowers => 1|* becomes borrowers => 'edit_borrowers' 2018-02-12 15:41:37 -03:00
merge-patrons.pl Bug 9302: Add error message if keeper patron is invalid 2018-04-20 13:34:41 -03:00
mod_debarment.pl Bug 24018: Remove die "Not logged in" 2020-01-20 14:03:49 +00:00
moremember.pl Bug 24018: Remove die "Not logged in" 2020-01-20 14:03:49 +00:00
notices.pl Bug 24018: Remove die "Not logged in" 2020-01-20 14:03:49 +00:00
patronimage.pl Bug 17423 - patronimage.pl permission is too restrictive 2016-10-17 23:44:25 +00:00
pay.pl Bug 19809: Re-allow to call Koha::Objects::find in list context 2020-01-23 10:27:28 +00:00
paycollect.pl Bug 24018: Remove die "Not logged in" 2020-01-20 14:03:49 +00:00
print_overdues.pl Bug 24018: Remove die "Not logged in" 2020-01-20 14:03:49 +00:00
printfeercpt.pl Bug 24018: Remove die "Not logged in" 2020-01-20 14:03:49 +00:00
printinvoice.pl Bug 24018: Remove die "Not logged in" 2020-01-20 14:03:49 +00:00
printslip.pl Bug 24018: Remove die "Not logged in" 2020-01-20 14:03:49 +00:00
purchase-suggestions.pl Bug 22868: Move suggestions_manage subperm out of acquisition perm 2020-01-30 08:27:00 +00:00
readingrec.pl Bug 24018: Remove die "Not logged in" 2020-01-20 14:03:49 +00:00
routing-lists.pl Bug 24018: Remove die "Not logged in" 2020-01-20 14:03:49 +00:00
setstatus.pl Bug 24018: Remove die "Not logged in" 2020-01-20 14:03:49 +00:00
statistics.pl Bug 24018: Remove die "Not logged in" 2020-01-20 14:03:49 +00:00
summary-print.pl Bug 24018: Remove die "Not logged in" 2020-01-20 14:03:49 +00:00
update-child.pl Bug 24018: Remove die "Not logged in" 2020-01-20 14:03:49 +00:00