changed to list all patients if no date range is entered
[openemr.git] / templates / prescription / general_list_dutch.html
blobb1b1132db42fcf3c302abc93f719af6ef17f3996
1 <html>
2 <head>
3 {php}html_header_show();{/php}
5 {literal}
6 <style type="text/css" title="mystyles" media="all">
7 <!--
8 td {
9 font-size:8pt;
10 font-family:helvetica;
12 a {
13 font-size:8pt;
14 font-family:helvetica;
17 -->
18 </style>
20 <script language="javascript">
22 function changeLinkHref(id,addValue,value) {
23 var myRegExp = new RegExp(":" + value + ":");
24 if (addValue){ //add value to href
25 document.getElementById(id).href += ':' + value + ':';
27 else { //remove value from href
28 document.getElementById(id).href = document.getElementById(id).href.replace(myRegExp,'');
32 </script>
34 {/literal}
35 </head>
36 <body {$STYLE.BOTTOM_BG_LINE}>
37 <table>
38 <tr>
39 <td colspan="12" align="right">
40 <a id="multiprint" target="_new" href="{$CONTROLLER}prescriptiondutch&multiprint&id={$printm}" onclick="top.restoreSession()">{xl t='Print Multiple'}</a>
41 </td>
42 </tr>
44 <tr>
45 <td>{xl t='Drug'}</td>
46 <td rowspan="50">&nbsp;</td>
47 <td>{xl t='Created'}<br />{xl t='Changed'}</td>
48 <td rowspan="50">&nbsp;</td>
49 <td>{xl t='Dosage'}</td>
50 <td rowspan="50">&nbsp;</td>
51 <td>{xl t='Unit'}</td>
52 <td rowspan="50">&nbsp;</td>
53 <td>{xl t='Qty'}.</td>
54 <td rowspan="50">&nbsp;</td>
55 <td>{xl t='Provider'}</td>
56 <td>{xl t='Select'}</td>
58 </tr>
59 {foreach from=$prescriptions item=prescription}
60 <tr>
61 <td><a href="{$CONTROLLER}prescriptiondutch&edit&id={$prescription->id}" onclick="top.restoreSession()">{$prescription->drug}</a></td>
62 <td><a href="{$CONTROLLER}prescriptiondutch&edit&id={$prescription->id}" onclick="top.restoreSession()">{$prescription->date_added}</a><br /><a href="{$CONTROLLER}prescription&edit&id={$prescription->id}" onclick="top.restoreSession()">{$prescription->date_modified}</a></td>
63 <td>{$prescription->get_dosage_display("dutch")}</td>
64 <td>{$prescription->get_unit_display("dutch")}</td>
65 <td>{$prescription->quantity}</td>
66 <td>{$prescription->provider->get_name_display()}</td>
67 <td><input type=checkbox value="{$prescription->id}" onclick="changeLinkHref('multiprint',this.checked, this.value)"></td>
68 </tr>
69 {foreachelse}
70 <tr>
71 <td colspan="6">{xl t='No Prescriptions Found'}</td>
72 </tr>
73 {/foreach}
74 </table>
75 </body>
76 </html>