Bug 7688: Set firstacquidate in updatedatabase if it's not set
authorJulian Maurice <julian.maurice@biblibre.com>
Fri, 22 Mar 2013 09:53:51 +0000 (09:53 +0000)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Sat, 23 Mar 2013 02:21:59 +0000 (22:21 -0400)
commit21fbc0b8782aab047d881ec7f12d5a9467c2a7b9
treea79a79a0923fe236dc1b525d9430cc0a06d441ca
parenta4d25333b44fbe0e64e45adee0022df52b86985a
Bug 7688: Set firstacquidate in updatedatabase if it's not set

firstacquidate is now a mandatory field, so it must be set.
The updatedatabase process set firstacquidate value to one of:
- the planned date of the first serial for this subscription, or if not
  found,
- the subscription start date.

+ auto-select the numbering pattern when modifying a subscription.

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
installer/data/mysql/updatedatabase.pl
koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt