[Koha-bugs] [Bug 24591] Add developer script to preview a letter

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Mar 22 19:21:20 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24591

Julian Maurice <julian.maurice at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #98448|0                           |1
        is obsolete|                            |

--- Comment #3 from Julian Maurice <julian.maurice at biblibre.com> ---
Created attachment 101389
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=101389&action=edit
Bug 24591: Add developer script to preview a letter

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]}'

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list