Bug 22541: Invoice adjustments should show invoice number and include link on ordered...
authorNick Clemens <nick@bywatersolutions.com>
Mon, 25 Mar 2019 12:55:03 +0000 (12:55 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 11 Apr 2019 11:45:24 +0000 (11:45 +0000)
commit3c2ce5df6f550fd2452b978e1b5f7ac54e66b092
tree7c72545bdb64593bcf64ffe4ad624b988667f5fa
parent3e9989568e171ebcfc73df80c49556e0b663a8ae
Bug 22541: Invoice adjustments should show invoice number and include link on ordered.pl and spent.pl

To test:
 1 - Find a vendor in acquisitions
 2 - Click 'receive shipment'
 3 - Create an invoice
 4 - Click 'Finish receiving'
 5 - Add an adjustment that encumbers while open and update adjustments
 6 - Go to acqui-home and click on the ordered total for the fund with the adjustment
 7 - Note the invoice adjustment shows the invoice id and does not link
 8 - Add another invoice and another adjustment, but close the invoice this time
 9 - Go to acqui-home and click on the spent total for the fund with the adjustment
10 - Note the invoice adjustment shows the invoice id and does not link
11 - Apply patch
12 - Visit the spent and ordered pages and note the adjustments show invoicenumber and are links
13 - prove -v t/db_dependent/Koha/Acquisition/Invoice/Adjustments.t

Signed-off-by: Liz Rea <wizzyrea@gmail.com>

Signed-off-by: Liz Rea <wizzyrea@gmail.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
C4/Acquisition.pm
Koha/Acquisition/Invoice/Adjustment.pm
acqui/ordered.pl
acqui/spent.pl
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/ordered.tt
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/spent.tt
t/db_dependent/Koha/Acquisition/Invoice/Adjustments.t