Skip to content

Commit

Permalink
fix(patients): make registry print as landscape
Browse files Browse the repository at this point in the history
The portrait printing is hard to read - this commit makes the patient
registry print as landscape for better legibility.
  • Loading branch information
Jonathan Niles authored and sfount committed Jan 18, 2017
1 parent 97dc8d4 commit a000904
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/controllers/medical/reports/registrations.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ function build(req, res, next) {

// set up the report with report manager
try {
options.orientation = 'landscape';
report = new ReportManager(TEMPLATE, req.session, options);
delete options.orientation;
} catch (e) {
return next(e);
}
Expand Down

0 comments on commit a000904

Please sign in to comment.