From Freeside
< Freeside:4:Documentation:Developer‎ | FS
Revision as of 08:34, 18 November 2015 by Jeremyd (talk | contribs) (Edit via perl MediaWiki framework (1.13))

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
prepare_report CONFIG PARAMS
Retrieves the config value named CONFIG, parses it as a Text::Template, extracts "to" and "subject" headers, and returns a hash that can be passed to FS::Misc::send_email.
PARAMS is a hashref to be passed to fill_in. It must contain 'agentnum' to look up the per-agent config.


Hey! The above document had some coding errors, which are explained below:

Around line 473:
'=item' outside of any '=over'