Bug 10855: New fields on adding/updating a subscription
authorJonathan Druart <jonathan.druart@biblibre.com>
Thu, 29 Aug 2013 11:37:40 +0000 (13:37 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 2 Oct 2015 18:10:30 +0000 (15:10 -0300)
commite153d095d4736877883d80ba20e12b317073f49d
treeb838fbc8f5991ff0205644be3be531a4c80d6f1d
parent3cfdc833bd832b034fc976e2082d0080947e2d4b
Bug 10855: New fields on adding/updating a subscription

This patch adds the ability to add values for additional fields when
adding/updating a subscription.

Test plan (test the following on adding a new subscription and on
editing an existent one):
- add/edit a subscription.
- verify all additional fields appears into the "Additional fields"
  block.
- fill a value for af1 and af3.
- fill others values if you are adding a new subscription.
- save.
- verify values appears on the detail of the subscription page.
- verify the af2 field is automatically filled with the specified
  marc field of the notice.

Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
C4/Serials.pm
koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt
koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt
serials/subscription-add.pl
serials/subscription-detail.pl