Document module improvements, take 3.
[openemr.git] / templates / insurance_companies / general_list.html
blob61b6edcd7c6debd96dcc60f5fec0b54a735421f7
1 <a href="controller.php?practice_settings&{$TOP_ACTION}insurance_company&action=edit" {php} if (!$GLOBALS['concurrent_layout']) echo "target='Main'"; {/php} onclick="top.restoreSession()" class="css_button" >
2 <span>{xl t='Add a Company'}</span></a><br>
3 <br>
4 <table cellpadding="1" cellspacing="0" class="showborder">
5 <tr class="showborder_head">
6 <th width="140px"><b>{xl t='Name'}</b></th>
7 <th width="300px"><b>{xl t='City, State'}</b></th>
8 <th><b>{xl t='Default X12 Partner'}</b></th>
9 </tr>
10 {foreach from=$icompanies item=insurancecompany}
11 <tr height="22">
12 <td><a href="{$CURRENT_ACTION}action=edit&id={$insurancecompany->id}" onsubmit="return top.restoreSession()">{$insurancecompany->name}&nbsp;</a></td>
13 <td>{$insurancecompany->address->city} {$insurancecompany->address->state|upper}&nbsp;</td>
14 <td>{$insurancecompany->get_x12_default_partner_name()}&nbsp;</td>
15 </tr>
16 {foreachelse}
17 <tr class="center_display">
18 <td colspan="3">{xl t='No Insurance Companies Found'}</td>
19 </tr>
20 {/foreach}
21 </table>