Merge pull request #1406 from bradymiller/security-stuff_2
[openemr.git] / templates / prescription / general_send.html
blobbf1c5ff040d3d8844885b28e41c2cffe414973be
1 {**
2 * Prescription General Send
4 * @package OpenEMR
5 * @link http://www.open-emr.org
6 * @author Brady Miller <brady.g.miller@gmail.com>
7 * @copyright Copyright (c) 2017 Brady Miller <brady.g.miller@gmail.com>
8 * @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3
9 *}
10 <html>
11 <head>
13 {headerShow}
15 <link rel="stylesheet" href="{$GLOBALS.css_header}" type="text/css">
16 </head>
17 <body class="body_top">
19 <span class="title"><b>{xl t='Send'|escape:'html'}</b></span>
20 <div style="margin-top:10px;">
21 {if $process_result}
22 {$process_result|escape:'html'}
23 <br/>
24 {/if}
26 <div style="float:left">
27 <form name="genform1" method="post" action="{$TOP_ACTION}send&id={$prescription->id|escape:'html'}" target="_new" onsubmit="return top.restoreSession()">
28 <input type="submit" name="submit" value="{xl t='Download'|escape:'html'} ({xl t='PDF'|escape:'html'})" style="width:100;font-size:9pt;"/>
29 <input type="hidden" name="process" value="{$PROCESS|escape:'html'}" />
30 </form>
31 </div>
33 <div style="float:left">
34 <form name="send_prescription" method="post" action="{$TOP_ACTION}send&id={$prescription->id|escape:'html'}" target="_new" onsubmit="return top.restoreSession()">
35 <input type="submit" name="submit" value="{xl t='View Printable'|escape:'html'} ({xl t='HTML'|escape:'html'})" style="width:100;font-size:9pt;"/>
36 <input type="hidden" name="process" value="{$PROCESS|escape:'html'}" />
37 </form>
38 </div>
40 <div style="float:none">
41 <form name="send_prescription" method="post" action="{$TOP_ACTION}send&id={$prescription->id|escape:'html'}&print_to_fax=true" target="_new" onsubmit="return top.restoreSession()">
42 <input type="submit" name="submit" value="{xl t='Download Fax'|escape:'html'}" style="width:100;font-size:9pt;"/>
43 <input type="hidden" name="process" value="{$PROCESS|escape:'html'}" />
44 </form>
45 </div>
47 <div>
48 <form name="send_prescription" method="post" action="{$TOP_ACTION}send&id={$prescription->id|escape:'html'}" onsubmit="return top.restoreSession()">
49 <input type="submit" name="submit" value="{xl t='Email'|escape:'html'}" style="width:100;font-size:9pt;" /><input type="text" name="email_to" size="25" value="{$prescription->pharmacy->get_email()|escape:'html'}">
50 <br/>
51 <input type="submit" name="submit" value="{xl t='Fax'}" style="width:100;font-size:9pt;"/><input type="text" name="fax_to" size="25" value="{$prescription->pharmacy->get_fax()}" >
52 <input type="hidden" name="process" value="{$PROCESS|escape:'html'}" />
53 </form>
54 <form name="send_prescription" method="post" action="{$TOP_ACTION}send&id={$prescription->id|escape:'html'}" target="_new" onsubmit="return top.restoreSession()">
55 <input type="submit" name="submit" value="{xl t='Auto Send'|escape:'html'}" style="width:100;font-size:9pt;" /> {html_options name="pharmacy_id" options=$prescription->pharmacy->utility_pharmacy_array() selected=$prescription->pharmacy->id}
56 <input type="hidden" name="process" value="{$PROCESS|escape:'html'}" />
57 </form>
58 </div>
59 </div>
61 </body>
62 </html>