Koha/koha-tmpl/intranet-tmpl/prog/en/modules/acqui
Jared Camins-Esakov 2d47b85692 Bug 10366: Alert librarian if an invoice number is duplicated
Some vendors ship materials from the same invoice in multiple packages.
In those cases, it would be good to notify the librarian when they enter
a duplicate invoice number, so that they can continue receiving on the
previously-created invoice, rather than creating an invoice with a
duplicate number.

To test:
1) Apply patch and run database update.
2) Make sure that you have created at least one invoice on
   acqui/parcels.pl and take note of the invoice number.
3) Try to create an invoice with the same invoice number.
4) Note that without changing your configuration this works exactly
   the same as before.
5) Turn on the AcqWarnOnDuplicateInvoice system preference.
6) Try to create a new invoice with the same number as the one you
   noted earlier.
7) Make sure you get a warning about a duplicate invoice.
8) Choose to receive on the existing invoice.
9) Confirm that you are receiving on said existing invoice.
10) Start the receiving process over, and this time choose "Create new
    invoice anyway."
11) Confirm that you are now receiving on a new invoice.

Signed-off-by: Srdjan <srdjan@catalyst.net.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes all tests and QA script.

I have followed the test plan, but also checked some more things:
- Checking the duplicate check works when you have the entered
  invoice number in your database multiple times already.
- Checking that no duplicate message is shown if you enter the
  invoice number and it's already been used for an invoice from
  another vendor.

Looks all good. I think the only thing we could argue about here
is if this could be activated by default for new installations.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2013-07-06 17:13:45 +00:00
..
csv Bug 7302: Followup: rename "Client number" column with "Account number" 2012-07-24 18:22:09 +02:00
acqui-home.tt Bug 9744 - Add a column Fund name on the home page of acquisitions 2013-06-03 07:45:15 -07:00
addorderiso2709.tt Bug 9108 - Add uk/euro date sort filter to pages which require it 2013-01-17 21:59:30 -05:00
ajax.tt
basket.tt Bug 10111 - Layout on basket summary page a bit inconsistent 2013-05-01 07:09:22 -04:00
basketgroup.tt Bug 9779 - Remove global include of YUI assets from the staff client 2013-06-16 15:24:19 -07:00
basketheader.tt Bug 2835 - Inconsistent use of colon at the end of sentences 2013-04-02 09:03:42 -04:00
booksellers.tt Bug 10381: Followup adding some text around Apply/cancel filter. 2013-05-30 08:40:29 -07:00
histsearch.tt Bug 10313 Fix link to invoice from orders 2013-05-23 07:54:52 -07:00
invoice.tt Bug 10390: Add ability to delete empty invoices 2013-07-05 16:51:18 +00:00
invoices.tt Bug 10390: Add ability to delete empty invoices 2013-07-05 16:51:18 +00:00
lateorders.tt Bug 9108 - Add uk/euro date sort filter to pages which require it 2013-01-17 21:59:30 -05:00
modordernotes.tt
neworderbiblio.tt But 9791: Remove single pixel on datatable tables 2013-04-01 18:20:22 -04:00
neworderempty.tt Bug 9987: Remove DB field aqorders.biblioitemnunmber 2013-07-02 15:18:50 -07:00
neworderempty_duplicate.tt Bug 7760: Add unique ids and a module class to all acquisitions pages 2012-03-22 18:11:54 +01:00
newordersubscription.tt Bug 5343: Fix non english string 2013-03-22 23:54:46 -04:00
newordersuggestion.tt Bug 5345: DataTables integration in acquisition module [9] 2012-05-14 15:41:44 +02:00
ordered.tt Bug 9108 - Add uk/euro date sort filter to pages which require it 2013-01-17 21:59:30 -05:00
orderreceive.tt Bug 9987: Remove DB field aqorders.biblioitemnunmber 2013-07-02 15:18:50 -07:00
parcel.tt Bug 10317: improve display when order receiving page is given an invalid invoiceid 2013-07-05 16:32:43 +00:00
parcels.tt Bug 10366: Alert librarian if an invoice number is duplicated 2013-07-06 17:13:45 +00:00
spent.tt Bug 9108 - Add uk/euro date sort filter to pages which require it 2013-01-17 21:59:30 -05:00
supplier.tt Bug 2835 - Inconsistent use of colon at the end of sentences 2013-04-02 09:03:42 -04:00
uncertainprice.tt Bug 8913 [Revised] Improve acquisitions navigation 2013-02-20 09:17:21 -05:00
z3950_search.tt Bug 2835 - Inconsistent use of colon at the end of sentences 2013-04-02 09:03:42 -04:00