refactored Roles::PDF so that all reports are generated by same method inline_html_to_pdf_no_webkit() so reports should be identical whether by print run, individual print or print_run.pl cron, and only have one sub to define pdf settings for all functions; print_run.pl takes getopt -t for test; moved family_id validation prefix definition to settings.cfg so test & live can have different values; new entry for pcr_and_sequencing_worksheet.tt
modified print_run.pl to accept cc reports - required new RecordHandler method to return private sub; patched dump_query() to auto-increment index counter at end of sub instead of inline during block - didn't work properly
temporarily suspended combined pdf print run - far too slow on production server & some display issues - font size too big - assume Chrome pdf renderer isseus
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)
* fixed potential to update incorrect record if incomplete updates performed in 2 browser tabs. Fix invloves comparing expected request id with session-stored request id * new patient_case_edit.t test to test for above scenario - exempted test harness from stderr output * fixed genomics.t - required adapting lab tests to new schema (rare disease + cancer) * placed trend analysis charts inside bootstrap accordion blocks for more compact presentation