]> git.koha-community.org Git - koha.git/commit
Bug 31254: Add additional fields for accountlines
authorJulian Maurice <julian.maurice@biblibre.com>
Wed, 9 Jun 2021 14:28:51 +0000 (16:28 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 21 Sep 2022 21:58:28 +0000 (18:58 -0300)
commit63f88a574299b3831bf523e5bb8ead52f954864a
tree79db48d7e7958e6a98b6286f30c7088c8606495d
parent30b5350b048d7801c7422eaf5b00fbcdfb85664a
Bug 31254: Add additional fields for accountlines

Test plan:
1. Go to Admin » Additional fields
   There are two new categories: "Account lines (credit)" and
   "Account lines (debit)"
2. Create fields for both categories, with and without an authorized
   value category
3. Go to a user's accounting page
4. Create a manual invoice. Verify that all "debit" fields are there,
   put a value in them and save
5. Create a manual credit. Verify that all "credit" fields are there,
   put a value in them and save
6. Make a payment. Verify that all "credit" fields are there, put a
   value in them and save
7. Go to the transactions tab, click on the "Details" button for the
   lines you just created and verify that the additional fields are
   there

Signed-off-by: Emmanuel Bétemps <e.betemps@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Account/Line.pm
Koha/Schema/Result/Accountline.pm
koha-tmpl/intranet-tmpl/prog/en/includes/additional-fields-entry.inc
koha-tmpl/intranet-tmpl/prog/en/modules/admin/additional-fields.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/accountline-details.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt
members/mancredit.pl
members/maninvoice.pl
members/paycollect.pl