3 {php}html_header_show();{/php}
6 <style type=
"text/css" title=
"mystyles" media=
"all">
10 font-family:helvetica;
14 font-family:helvetica;
23 <script language=
"javascript">
25 function changeLinkHref(id
,addValue
,value
) {
26 var myRegExp
= new RegExp(":" + value
+ ":");
27 if (addValue
){ //add value to href
28 document
.getElementById(id
).href
+= ':' + value
+ ':';
30 else { //remove value from href
31 document
.getElementById(id
).href
= document
.getElementById(id
).href
.replace(myRegExp
,'');
39 <body {$STYLE.BOTTOM_BG_LINE}
>
42 <td colspan=
"12" align=
"right">
43 <a id=
"multiprint" target=
"_new" href=
"{$CONTROLLER}prescription&multiprint&id={$printm}" onclick=
"top.restoreSession()">Print Multiple
</a>
47 <td colspan=
"12" align=
"right">
48 <?php echo $GLOBALS['webroot']; ?>
49 <a id=
"four_panel_rx" target=
"_new" href=
"{$WEBROOT}/interface/forms/CAMOS/rx_print.php?sigline=plain" onclick=
"top.restoreSession()">Print Four Panel
</a>
54 <td>{xl t='Drug'}
</td>
55 <td rowspan=
"50"> </td>
56 <td>{xl t='Created'}
<br />{xl t='Changed'}
</td>
57 <td rowspan=
"50"> </td>
58 <td>{xl t='Dosage'}
</td>
59 <td rowspan=
"50"> </td>
60 <td>{xl t='Unit'}
</td>
61 <td rowspan=
"50"> </td>
62 <td>{xl t='Qty'}.
</td>
63 <td rowspan=
"50"> </td>
64 <td>{xl t='Provider'}
</td>
65 <td>{xl t='Select'}
</td>
68 {foreach from=$prescriptions item=prescription}
70 <td{if $prescription-
>active <=
0}
class=
"inactive"{/if}
>
71 {if $prescription-
>active
> 0}
<b>{/if}
<a href=
"{$CONTROLLER}prescription&edit&id={$prescription->id}" onclick=
"top.restoreSession()"{if $prescription-
>active <=
0}
class=
"inactive"{/if}
>{$prescription-
>drug}
</a>{if $prescription-
>active
> 0}
</b>{/if}
73 <td{if $prescription-
>active <=
0}
class=
"inactive"{/if}
>
74 <a href=
"{$CONTROLLER}prescription&edit&id={$prescription->id}" onclick=
"top.restoreSession()"{if $prescription-
>active <=
0}
class=
"inactive"{/if}
>{$prescription-
>date_added}
</a><br />
75 <a href=
"{$CONTROLLER}prescription&edit&id={$prescription->id}" onclick=
"top.restoreSession()"{if $prescription-
>active <=
0}
class=
"inactive"{/if}
>{$prescription-
>date_modified}
</a>
77 <td{if $prescription-
>active <=
0}
class=
"inactive"{/if}
>
78 {$prescription-
>get_dosage_display()}
80 <td{if $prescription-
>active <=
0}
class=
"inactive"{/if}
>
81 {$prescription-
>get_unit_display()}
83 <td{if $prescription-
>active <=
0}
class=
"inactive"{/if}
>
84 {$prescription-
>quantity}
86 <td{if $prescription-
>active <=
0}
class=
"inactive"{/if}
>
87 {$prescription-
>provider-
>get_name_display()}
89 <td{if $prescription-
>active <=
0}
class=
"inactive"{/if}
>
90 <input type=checkbox
value=
"{$prescription->id}" onclick=
"changeLinkHref('multiprint',this.checked, this.value)">
95 <td colspan=
"6">{xl t='No Prescriptions Found'}
</td>