Mangled path fax send (#7515)
[openemr.git] / templates / pharmacies / general_list.html
blob4881050bd91d142e402fe8b768dc87e7b0eecfba
1 <a href="{$CURRENT_ACTION}action=edit" onclick="top.restoreSession()" class="btn btn-secondary btn-add" >
2 {xlt t='Add a Pharmacy'}</a><br /><br />
3 <p>{xlt t='Total pharmacies'} {if !empty($totalpages)}{$totalpages}{/if}</p>
4 <div class="table-responsive datatable">
5 <table class="table table-striped" id="pharmacies">
6 <thead>
7 <tr>
8 <th>{xlt t='Name'}</th>
9 <th>{xlt t='Address'}</th>
10 <th>{xlt t='Default Method'}</th>
11 </tr>
12 </thead>
13 <tbody>
14 {foreach from=$pharmacies item=pharmacy}
15 <tr>
16 <td>
17 <a href="{$CURRENT_ACTION}action=edit&id={$pharmacy->id|attr_url}" onclick="top.restoreSession()">
18 {$pharmacy->name|text}
19 </a>
20 </td>
21 <td>
22 {if $pharmacy->address->line1 != ''}{$pharmacy->address->line1|text}, {/if}
23 {if $pharmacy->address->city != ''}{$pharmacy->address->city|text}, {/if}
24 {$pharmacy->address->state|upper|text} {$pharmacy->address->zip|text}&nbsp;</td>
25 <td>{$pharmacy->get_transmit_method_display()|text}&nbsp;
26 {foreachelse}</td>
27 </tr>
29 <tr>
30 <td>{xlt t='No Pharmacies Found'}</td>
31 <td></td>
32 <td></td>
33 </tr>
34 {/foreach}
35 </tbody>
36 </table>
37 </div>