Bug 10402: Add ability to enter multiple contacts
authorJared Camins-Esakov <jcamins@cpbibliography.com>
Thu, 13 Jun 2013 15:31:21 +0000 (11:31 -0400)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 26 Aug 2014 14:45:52 +0000 (11:45 -0300)
commitb971273a10de56e42c6946f22280ee9817f1e5c1
treed1d628219ca9ec60b93e112a79502cb15ccc23f5
parent6a1d2f5011b4a5a2b843fbe1973af8f3f850a7a6
Bug 10402: Add ability to enter multiple contacts

Some vendors may have more than one contact. For example, a technical
contact and a billing contact, or a contact for journals and a contact
for monographs. Rather than require that each contact be either made
into a separate vendor or recorded somewhere outside of Koha, it would
be really useful of Koha had the ability to add multiple additional
contacts to vendors in the Acquisitions module.

To test:
1) Apply patch.
2) Edit a bookseller, making sure to add a contact.
3) View the bookseller's information, making sure the contact
   information is there.
4) Run the unit test:
    > prove t/db_dependent/Bookseller.t
5) Add multiple contacts to a vendor, see that they show up.
6) Delete one contact from a vendor with multiple contacts,
   see that the result is correct.
7) Sign off.

Note: This test plan can supersede that on the previous two patches,
as all functionality of the previous two patches is required by this
one.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Signed-off-by: Paola Rossi <paola.rossi@cineca.it>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/Bookseller.pm
acqui/updatesupplier.pl
koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt
t/db_dependent/Bookseller.t