Bug 3522 Refactor Create Update Delete letter for consistency and readability
authorColin Campbell <colin.campbell@ptfs-europe.com>
Tue, 11 Aug 2009 16:43:02 +0000 (17:43 +0100)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Wed, 16 Sep 2009 21:19:25 +0000 (23:19 +0200)
commit42695a69ceb8ce403b3344aa95e05f99af0daed8
treea54820b3d2fb2b3a92a8840ec35019a75dfca74d
parente0f1beb40ee59fda4bc8d5e0944e76c6cb22e03e
Bug 3522 Refactor Create Update Delete letter for consistency and readability

Fixed inconsistent usuage of primary key in delete
Refactored:
Moved operations to separate subroutines to clarify data flow
Removed unnecessary redirects to self
Renamed confusingly named else variable passed to template
Other changes for code clarity
NB Outstanding:
database reading/writing should live in appropriate module
not duplicate it here.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tmpl
tools/letter.pl