forked from openemr/openemr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
) * Fixes openemr#7224, openemr#7217 insurance company changes Fixed the list loading taking forever on the insurance company list. This fixes openemr#7224. Had a bug in the fix for openemr#7217 so this fixes that as well. Wasn't actually replacing the insurance id. * Remove about title tag * Change escaping function on webroot
- Loading branch information
Showing
4 changed files
with
174 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
<html> | ||
<head> | ||
{{ setupHeader(['common','datatables','datatables-colreorder','datatables-dt','datatables-bs']) }} | ||
<title>{{ "Insurance Companies"|xlt }} {{ applicationTitle|text }}</title> | ||
</head> | ||
<body> | ||
<a href="{{webroot|attr}}/controller.php?practice_settings&insurance_company&action=edit" onclick="top.restoreSession()" class="btn btn-secondary btn-add">{{'Add a Company'|xlt}}</a> | ||
<div class="table-responsive pt-3"> | ||
<table class="table table-striped" id="insurance"> | ||
<thead> | ||
<tr> | ||
<th>{{ 'Name'|xlt}}</th> | ||
<th>{{ 'Address'|xlt}}</th> | ||
<th>{{ 'City, State, ZIP'|xlt}}</th> | ||
<th>{{ 'Phone'|xlt}}</th> | ||
<th>{{ 'Fax'|xlt}}</th> | ||
<th>{{ 'Payer ID'|xlt}}</th> | ||
<th>{{ 'Default X12 Partner'|xlt}}</th> | ||
<th>{{ 'Deactivated'|xlt}}</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
{% if icompanies|length > 0 %} | ||
{% for insurancecompany in icompanies %} | ||
<tr> | ||
<td> | ||
<a href="{{webroot|attr_url}}/controller.php?practice_settings&insurance_company&action=edit&id={{insurancecompany.id|attr_url}}" onclick="top.restoreSession()"> | ||
{{insurancecompany.name|text}} | ||
</a> | ||
</td> | ||
<td>{{insurancecompany.line1|text}} {{insurancecompany.line2|text}} </td> | ||
<td>{{insurancecompany.city|text}} {{insurancecompany.state|upper|text}} {{insurancecompany.zip|text}} </td> | ||
<td>{{insurancecompany.phone|text}} </td> | ||
<td>{{insurancecompany.fax|text}} </td> | ||
<td>{{insurancecompany.cms_id|text}} </td> | ||
<td>{{insurancecompany.x12_default_partner_name|text}} </td> | ||
<td>{% if insurancecompany.inactive == 1%}{{ 'Yes'|xlt}}{% endif %} </td> | ||
</tr> | ||
{% endfor %} | ||
{% else %} | ||
<tr> | ||
<td>{{ 'No Insurance Companies Found'|xlt}}</td> | ||
<!-- DataTables requires the number of cols in the table header match the table body, | ||
https://datatables.net/manual/tech-notes/18 --> | ||
<td></td> | ||
<td></td> | ||
<td></td> | ||
<td></td> | ||
<td></td> | ||
<td></td> | ||
<td></td> | ||
</tr> | ||
{% endif %} | ||
</tbody> | ||
</table> | ||
</div> | ||
<script> | ||
$(document).ready(function () { | ||
$('#insurance').DataTable(); | ||
}); | ||
</script> | ||
</body></html> |