[Koha-bugs] [Bug 35044] Additional fields: Allow for repeatable fields

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 18 16:48:56 CEST 2023


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

--- Comment #10 from Pedro Amorim <pedro.amorim at ptfs-europe.com> ---
Created attachment 157333
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=157333&action=edit
Bug 35044: Update: Manual invoices, manual credits and accountlines

Test plan, k-t-d:

Preparation: Create additional fields for table 'accountlines:credit', visit:
/cgi-bin/koha/admin/additional-fields.pl?tablename=accountlines%3Acredit

2 text fields, one repeatable, one not-repeatable
2 AV fields, one repeatable, one not-repeatable

1) Add a new manual credit for admin borrower:
/cgi-bin/koha/members/mancredit.pl?borrowernumber=51
2) Set the mandatory "Amount" input (e.g. '5'). Click the 'Next' and press 'Ok'
on the alert box.
3) Fill in all additional fields, click the '+New' and 'Clear' links,  hit
'Save'
4) On the table, click "Details" for the for account line we just created.
5) Notice the additional fields are there, repeated fields are comma separated.
6) Repeat the above test plan, but for accountlines:debit instead, visit:
/cgi-bin/koha/admin/additional-fields.pl?tablename=accountlines%3Adebit
7) To add a manual invoice, visit:
/cgi-bin/koha/members/maninvoice.pl?borrowernumber=51

--- Payments ---
8) Visit the transactions table, you should have at least 1 invoice from the
above instructions:
/cgi-bin/koha/members/boraccount.pl?borrowernumber=51
9) On the invoice table row, click "Pay"
10) Fill in all additional fields, click the '+New' and 'Clear' links,  hit
'Save'
11) Repeat step 1: go back to the transactions table
12) Click the 'details' of the payment row. Notice the fields are all there,
repeated fields comma separated.
13) Create a new manual invoice again (step 7)
14) Visit "Make a payment", visit:
/cgi-bin/koha/members/pay.pl?borrowernumber=51
15) Click "write off"
16) Fill in all additional fields, click the '+New' and 'Clear' links,  hit
'Save'
17) Go back to the transactions, visit:
/cgi-bin/koha/members/boraccount.pl?borrowernumber=51
18) Click the 'details' of the writeoff row. Notice the additional fields are
NOT there. This is a bug not caused by this development. See bug 35080

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list