[#2375] Printed timesheets patch
Summary Printed timesheets patch
Queue Hermes
Type Enhancement
State Resolved
Priority 1. Low
Owners Jason Felice <jfelice (at) cronosys (dot) com>
Requester tevans (at) tachometry (dot) com
Created 08/03/2005 (1254 days ago)
Due
Updated 08/04/2005 (1253 days ago)
Assigned 08/03/2005 (1254 days ago)
Resolved 08/04/2005 (1253 days ago)
Attachments hermes_patch_v2.txt Download
hermes_patch.txt Download
Milestone
Patch No

History
08/04/2005 Chuck Hagenbuch Comment #4
State ⇒ Resolved
Reply to this comment
Looks good - committed, thanks!
08/04/2005 tevans (at) tachometry (dot) com Comment #3
New Attachment: hermes_patch_v2.txt Download
Reply to this comment
OK - here's an improvement based on Chuck's input.  Now the print 
button appears in the menu for the search screen and creates a 
modified view for printing. I based my changes on the corresponding 
feature from Kronolith.

Thanks for the feedback. I like this version much better. Any other thoughts?
08/03/2005 Chuck Hagenbuch Comment #2
State ⇒ Feedback
Reply to this comment
You should use the print "theme" like we do in other Horde apps, and 
add a print button to invoke it. That way you won't have to duplicate 
things like hiding the menu in Hermes' print stylesheet.

Also, is there a reason you set the approval div to visibility: none 
rather than display: none for screen viewing?
08/03/2005 Jan Schneider Assigned to Jason Felice
State ⇒ Assigned
 
08/03/2005 tevans (at) tachometry (dot) com Comment #1
Summary ⇒ Printed timesheets patch
New Attachment: hermes_patch.txt Download
Queue ⇒ Hermes
Priority ⇒ 1. Low
State ⇒ New
Type ⇒ Enhancement
Reply to this comment

[patch reposted here from mailing list per Jan]

When printing timesheets via the "Search" page, create a space for an 
approver's signature. In addition, suppress the search and export 
forms in the printed version. This patch modifies the form handler API 
and adds two simple stylesheets (themes/print.css and 
themes/screen.css) to handle the output to these different media types

Comments/feedback are welcome.