Skip to content

Commit

Permalink
Ladies and gentlemen, at long last, the commit you've all been waitin…
Browse files Browse the repository at this point in the history
…g for... the magic button!
  • Loading branch information
schwern committed Sep 2, 2010
1 parent 3541762 commit 9b24ccf
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions app/themes/Venus/templates/clientoverview/overview.html
Expand Up @@ -110,6 +110,16 @@
<p class="save"><input type="submit" name="op" id="op_save" value="Save Patient" /></p>

</form>

<form action="/report.cgi" method="[% Config.form_method %]" name="magic_button">
<input type="hidden" name="client_id" value="[% current_client.id %]" />
<input type="hidden" name="treater_id" value="[% current_client.get_primary_treater.rolodex.id %]" />
<input type="hidden" name="state" value="[% current_client.address.state %]" />
<input type="hidden" name="report_name" value="client_intake_forms" />
<input type="hidden" name="op" value="run_report" />
<input type="hidden" name="report_track" value="client" />
<p style="text-align:right;"><input type="submit" value="Print Intake Forms"></p>
</form>
</div> <!-- end client_details-->
<div id="notes" class='client_box'>
<form method="[% Config.form_method %]" action="[% script %]" enctype="application/x-www-form-urlencoded" name="notes_form">
Expand Down

0 comments on commit 9b24ccf

Please sign in to comment.