3 {php}html_header_show();{/php}
6 <style type=
"text/css" title=
"mystyles" media=
"all">
10 font-family:helvetica;
14 font-family:helvetica;
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
,'');
36 <body {$STYLE.BOTTOM_BG_LINE}
>
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>
45 <td>{xl t='Drug'}
</td>
46 <td rowspan=
"50"> </td>
47 <td>{xl t='Created'}
<br />{xl t='Changed'}
</td>
48 <td rowspan=
"50"> </td>
49 <td>{xl t='Dosage'}
</td>
50 <td rowspan=
"50"> </td>
51 <td>{xl t='Unit'}
</td>
52 <td rowspan=
"50"> </td>
53 <td>{xl t='Qty'}.
</td>
54 <td rowspan=
"50"> </td>
55 <td>{xl t='Provider'}
</td>
56 <td>{xl t='Select'}
</td>
59 {foreach from=$prescriptions item=prescription}
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>
71 <td colspan=
"6">{xl t='No Prescriptions Found'}
</td>