% include( '/elements/header.html', 'Developer Documentation' ) %> <& /elements/menubar.html, 'Freeside Perl Modules' => $fsurl.'docs/library/FS.html', 'Complete Index' => $fsurl.'docs/library/index.html', &>
FS::part_export::print_template
Print a document of a template.
See the Text::Template documentation and the billing documentation for details on the template substitution language.
Currently does not support printing during replace.
Each of these simply invoke this module's print_template method, passing the appropriate phase.
Hook that is called when service is initially provisioned. To avoid confusion, don't use for anything else.
Hook that is called when service is unprovisioned. To avoid confusion, don't use for anything else.
Hook that is called when provisioned service is edited. To avoid confusion, don't use for anything else.
Currently not supported for this export.
Hook that is called when service is suspended. To avoid confusion, don't use for anything else.
Hook that is called when service is unsuspended. To avoid confusion, don't use for anything else.
Accepts $phase and $svc_x. If phase matches the configured option, starts a "process_print_template" job in the queue.
For use as an FS::queue job. Requires opts svcnum, table and template_text. Constructs page from template and sends to printer.
Jonathan Prykop jonathan@freeside.biz