Major update to print run function: * print run returns single pdf instead of html page, to allow individual report page headers and numbers * avoided breaking section summaries across new page in report * moved report page numbering to footer.html * expanded horizontal space for "Amended report by" details * fixed error in PDF::WebKit->configure options format Other updates: * exempted print_run from Devel::Cycle code block in devel mode (already exempt in deployment) * debug() returns undef instead of '0' so .tt doesn't display return value * stopped logging process_size in QueryLog - was activated by script errors * moved notification about danger of using 2nd tab for record update to top of file * fixed time zone setting in new message notification log (was not allowing for BST) * fixed error in chart loading function, now only loads in required lab section instad of all Fix added 7th Nov: * added NCH PNH (PB) to turnaround times audit category (was included in PB category)
documented CAP::MessageStack failure with yaml session serializer unless YAML::Syck installed; field content checks for gallium_data.pl; report_link_options.tt amended to work with authorisation function disabled
bugfixes and formatting tweaks for print_run; copy_to clone needed deflate => 0; ajax date validation required no warnings uninitialized for hr & min fields
fixed warnings in Devel::Cycle when cloning RDBO object in _generate_copy() - using as_tree hashref now; stopped 'pre' text word-breaking; removed blockquote from make_chart.tt
added print view footer; replaced L::Local::PDF::make_pdf_with_css with Roles::PDF::render_pdf; moved remaining functions of format_print_record_request_data() to caller methods; tt format tweaks
patched M::Request::get_print_run_request_ids() to pass 'sort_by' to _print_run_restricted(), and cloned args to prevent RDBO modification of original hashref 'sort_by' param persisting
modified HMRN previous diagnoses list to only skip previous ICDO3 diagnoses if /3 or MGUS (not other /1 or /6); HMRN previous diagnosis list can retrieve records based on record id or patient.id; changed query_modifiers to an array instead of str in site/lab_number.tt; print report only highlights diagnosis if modified AFTER authorisation date
buxfix to print_run calculation of end_date - subtracted 1 min instead of 1 sec, so any relevant change to report in last minute of day would be ignored; added total count hidden field to print_run to allow calculation of last 'next 50' link