Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Christophe Croullebois 9dcdd49b6b Bug 20318: Merge invoices can lead to an merged invoice without Invoice number
When you want to merge invoices you have a page with a non editable
field 'Invoice number:' it shows the content of the first invoice to be
merged.
But if you validate by clicking the 'merge' button you arrive on the
next page which says that 'Invoice has been modified' and if you quit
this page without saving you have now a merged invoice without Invoice
number.
This tiny patch just prevents this issue to occur.

Test plan :

1° go to the acqui/invoices.pl page and search invoices to merge.
You must have at least 2 invoices on the same vendor
2° check boxes to select invoices to merge and click on 'merge selected
invoices' button
3° next page you see the non editable field 'Invoice number:'
4° click on the 'merge' button
5° next page you see 'Invoice has been modified'
6° leave this page i.e click on the left link 'Invoices'
7° search invoices you'll see the merged invoice without invoice number.

Apply the patch, replay the steps 1 to 3
4° on this page you can enter your invoice number and click on the
'merge' button.
If you leave this field empty and click merge, a message informs you
that it is required and you can not merge.

Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2018-04-02 18:07:44 -03:00
..
acqui Bug 20318: Merge invoices can lead to an merged invoice without Invoice number 2018-04-02 18:07:44 -03:00
admin Bug 20386: Improve warning and error messages for Search Engine Configuration 2018-03-27 17:35:05 -03:00
authorities Bug 19983: Switch single-column templates to Bootstrap grid: Authorities 2018-03-26 17:31:26 -03:00
basket
batch
catalogue Bug 19943: Gentle error handling for bookcount.pl 2018-03-23 12:32:05 -03:00
cataloguing Bug 19946: (follow-up) Add fixed footer to authorities Z39.50 popup 2018-03-26 17:31:22 -03:00
circ Bug 19933: Remove patronflags - tricky ones 2018-03-23 11:45:38 -03:00
clubs
common
course_reserves Bug 20372: Correct toolbar markup on some pages 2018-03-19 13:55:53 -03:00
errors
help
ill
installer
labels Bug 12020: Allow translating label-edit-batch hardcoded strings 2018-03-26 17:31:15 -03:00
members Bug 20498: (bug 19641 follow-up) Patron advanced search form missing from patron entry page 2018-03-29 15:30:31 -03:00
offline_circ
onboarding
patron_lists
patroncards Bug 19961: Move template JavaScript to the footer: Patron card creator 2018-03-26 17:31:26 -03:00
plugins Bug 20438: Allow uninstalling plugins not implementing the 'uninstall' method 2018-03-26 17:01:11 -03:00
reports Bug 19233: Restore styling of the button 2018-03-27 17:54:22 -03:00
reserve Bug 18474: Restore multiple holds when patron is searched for 2018-04-02 18:07:34 -03:00
reviews
rotating_collections
serials Bug 20045: Switch single-column templates to Bootstrap grid: Various 2018-03-26 17:31:26 -03:00
services
suggestion Bug 20045: Switch single-column templates to Bootstrap grid: Various 2018-03-26 17:31:26 -03:00
tags
test
tools Bug 19673: Allow to set patron attributes to 0 with batch patron modification 2018-03-28 16:04:47 -03:00
virtualshelves
about.tt Bug 20045: Switch single-column templates to Bootstrap grid: Various 2018-03-26 17:31:26 -03:00
auth.tt Bug 20045: Switch single-column templates to Bootstrap grid: Various 2018-03-26 17:31:26 -03:00
intranet-main.tt Bug 20268: CSS regression: white gap on the top of the staff pages 2018-03-19 13:55:46 -03:00