f74ab4e9de
The script is very simple, it just calls GetPreparedLetter with arguments given on command line and print the resulting letter content Usage example: misc/devel/get-prepared-letter.pl --module circulation \ --letter_code ODUE --tables '{"borrowers":1,"branches":"CPL"}' \ --repeat '{"item":[{"biblio":1,"items":1}]}' \ --loops '{"overdues":[1]}' Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> Works for the example and other cases. Correct option is 'letter-code', with dash, not underscore. An usage message would be nice. No errors Signed-off-by: Nick Clemens <nick@bywatersolutions.com> JD amended patch: tidy the new file and rename it matching the other scripts' names in this directory Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> |
||
---|---|---|
.. | ||
add_missing_filters.pl | ||
coverage.pl | ||
create_superlibrarian.pl | ||
get_prepared_letter.pl | ||
install_plugins.pl | ||
update_dbix_class_files.pl |