tmccormi/openemr — comment on commit 73ac9439f8854407462e9fe8c52ef357b6e64eb2
File: interface/patient_file/printed_fee_sheet.php line 297
By yehster:

If you look at line 298
+$html .= getRestoreSessionAsHtml();
You'd understand more why they are doing it this way. He needs the session information available in the concatenated html string they are displaying in a "NEW" window.
Otherwise "top.restoreSession()" won't exist in the context of the new window.