demographics_dashboard_part_2 (#1903)
[openemr.git] / templates / insurance_companies / general_list.html
blobbb024a8dfc8b8726d404b2e90aca1682a4a182db
1 <a href="controller.php?practice_settings&{$TOP_ACTION}insurance_company&action=edit" onclick="top.restoreSession()"
2 class="btn btn-default btn-add">
3 {xl t='Add a Company'|escape:'html'}</a>
4 <br><br>
5 <table class="table table-responsive table-striped">
6 <thead>
7 <tr>
8 <th>{xl t='Name'|escape:'html'}</th>
9 <th>{xl t='City, State'|escape:'html'}</th>
10 <th>{xl t='Default X12 Partner'|escape:'html'}</th>
11 <th>{xl t='Deactivated'|escape:'html'}</th>
12 </tr>
13 </thead>
14 <tbody>
15 {foreach from=$icompanies item=insurancecompany}
16 <tr>
17 <td>
18 <a href="{$CURRENT_ACTION}action=edit&id={$insurancecompany->id|escape:'html'}" onclick="top.restoreSession()">
19 {$insurancecompany->name|escape:'html'}
20 </a>
21 </td>
22 <td>{$insurancecompany->address->city|escape:'html'} {$insurancecompany->address->state|upper|escape:'html'}&nbsp;</td>
23 <td>{$insurancecompany->get_x12_default_partner_name()|escape:'html'}&nbsp;</td>
24 <td>{if $insurancecompany->get_inactive() eq 1}{xl t='Yes'|escape:'html'}{/if}&nbsp;</td>
25 </tr>
26 {foreachelse}
27 <tr>
28 <td colspan="4">{xl t='No Insurance Companies Found'|escape:'html'}</td>
29 </tr>
30 {/foreach}
31 </tbody>
32 </table>