Change support desk contact information (#7561)
[openemr.git] / templates / prescription / general_fragment.html
blob41969bb2a1381547b765233816ae409c12fb9508
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 * @author Sherwin Gaddis <sherwingaddis@gmail.com>
8 * @copyright Copyright (c) 2017 Brady Miller <brady.g.miller@gmail.com>
9 * @copyright Copyright (c) 2019 Sherwin Gaddis <sherwingaddis@gmail.com>
10 * @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3
12 {if empty($prescriptions)}
13 {xlt t='None'}
14 {else}
15 <div class="table-responsive">
16 <table class="table table-sm table-striped">
17 <thead>
18 <tr>
19 <th>{xlt t='Drug'}</th>
20 <th>{xlt t='Details'}</th>
21 <th>{xlt t='Qty'}</th>
22 <th>{xlt t='Refills'}</th>
23 <th>{xlt t='Filled'}</th>
24 </tr>
25 </thead>
26 <tbody>
27 {foreach from=$prescriptions item=prescription}
28 {if $prescription->get_active() > 0}
29 <tr>
30 <td>{$prescription->drug|text}&nbsp;</td>
31 <td>{$prescription->get_size()|text}{$prescription->get_unit_display()|text}&nbsp;
32 {$prescription->get_dosage_display()|text}</td>
33 <td>{$prescription->get_quantity()|text}</td>
34 <td>{$prescription->get_refills()|text}</td>
35 <td>{$prescription->get_date_added()|text}</td>
36 </tr>
37 {/if}
38 {/foreach}
39 </tbody>
40 </table>
41 </div>
42 {/if}