You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

35 lines
1.2 KiB

<a href="{$CURRENT_ACTION}action=edit" onclick="top.restoreSession()" class="btn btn-secondary btn-add" >
{xlt t='Add a Pharmacy'}</a><br /><br />
<p>{xlt t='Total pharmacies'} {if !empty($totalpages)}{$totalpages}{/if}</p>
<div class="table-responsive datatable">
<table class="table table-striped" id="pharmacies">
<thead>
<tr>
<th>{xlt t='Name'}</th>
<th>{xlt t='Address'}</th>
<th>{xlt t='Default Method'}</th>
</tr>
</thead>
<tbody>
{foreach from=$pharmacies item=pharmacy}
<tr>
<td>
<a href="{$CURRENT_ACTION}action=edit&id={$pharmacy->id|attr_url}" onclick="top.restoreSession()">
{$pharmacy->name|text}
</a>
</td>
<td>
{if $pharmacy->address->line1 != ''}{$pharmacy->address->line1|text}, {/if}
{if $pharmacy->address->city != ''}{$pharmacy->address->city|text}, {/if}
{$pharmacy->address->state|upper|text} {$pharmacy->address->zip|text}&nbsp;</td>
<td>{$pharmacy->get_transmit_method_display()|text}&nbsp;
{foreachelse}</td>
</tr>
<tr>
<td colspan="3"><strong>{xlt t='No Pharmacies Found'}</strong></td>
</tr>
{/foreach}
</tbody>
</table>
</div>