consolidate attr_url function (#2143)
[openemr.git] / templates / prescription / general_fragment.html
bloba96eee26e8a650503ac2d678c03410e5d393b51d
1 {**
2 * Prescription General Fragment
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 <table>
11 {if empty($prescriptions)}
12 <tr class='text'>
13 <td>&nbsp;&nbsp;{xl t='None'|escape:'html'}</td>
14 </tr>
15 {/if}
16 {foreach from=$prescriptions item=prescription}
17 {if $prescription->get_active() > 0}
18 <tr class='text'>
19 <td>{$prescription->drug|escape:'html'}</td>
20 <td>{$prescription->get_dosage_display()|escape:'html'}</td>
21 </tr>
22 {/if}
23 {/foreach}
24 </table>