Prevent borrower import from overwriting data that it shouldn't, and polish off a...
authorRyan Higgins <rch@liblime.com>
Sat, 9 Aug 2008 20:27:27 +0000 (15:27 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Sun, 10 Aug 2008 00:07:07 +0000 (19:07 -0500)
commite3fa9f2d5ffdc0542604f1a16a7b16a318879f0a
tree3920e42c2b01a0112500138500f401b4488782e9
parent7cdce8db5f8652ee649cd7c96c0a9ef84465e778
Prevent borrower import from overwriting data that it shouldn't, and polish off a couple error conditions.

When an imported patron matches an existing one, keep data in the original record unless our import file
includes that column.  Also, check for branch & categorycodes, and produce error if invalid.  Finally,
auto-calculate expiry date if not given.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/import_borrowers.tmpl
tools/import_borrowers.pl