]> git.koha-community.org Git - koha.git/commit
Bug 35044: Update: Invoices
authorPedro Amorim <pedro.amorim@ptfs-europe.com>
Mon, 16 Oct 2023 14:34:51 +0000 (14:34 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 23 Aug 2024 16:21:22 +0000 (18:21 +0200)
commite3787c157fdd93610f192e65456ab00e3253281e
tree8b0f894af0375b245c3a6505c1b50e7aa057866c
parent1c7c2a260c645ca4615d5af586c4f22d0dede259
Bug 35044: Update: Invoices

Added fixme comment to invoices.tt, the search works so nothing to do
here, but the code is not DRY

Test plan, k-t-d:

Preparation: Create additional fields for table 'aqinvoices':
2 text fields, one repeatable, one not-repeatable
2 AV fields, one repeatable, one not-repeatable

1) Add a new invoice for an existing vendor, visit:
/cgi-bin/koha/acqui/parcels.pl?booksellerid=1
2) Input something in the mandatory "Vendor invoice" field.
3) Fill in all additional fields, click the '+New' and 'Clear' links,
   hit 'Save'
4) Search for invoices, visit:
http://localhost:8081/cgi-bin/koha/acqui/invoices.pl
5) Click "Search" on the left column of the page
6) Click the invoice we just created. Verify all the fields show
   correctly.
7) Go back to the additional fields configuration, set all additional
   fields as "searchable"
8) Return to http://localhost:8081/cgi-bin/koha/acqui/invoices.pl
9) Perform some searches using the additional fields values.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
acqui/invoice.pl
acqui/parcels.pl
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice.tt
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcels.tt