|
@@ -43,7 +43,7 @@
|
|
|
if($note->hcpPro->is_enrolled_as_mcp){
|
|
|
$loopLastDateSeenByMcpTypePro = $d;
|
|
|
}
|
|
|
- $daysInMcpProgramTotal = $daysInMcpProgram;
|
|
|
+ $daysInMcpProgramTotal = (strtotime(date('Y-m-d')) - strtotime($firstDateSeenByThisHcp)) / (60 * 60 * 24);
|
|
|
}
|
|
|
?>
|
|
|
<h2><strong>Numbers:</strong></h2>
|
|
@@ -148,7 +148,7 @@
|
|
|
|
|
|
</style>
|
|
|
<div style="overflow: auto">
|
|
|
- <table class="table table-bordered table-condensed">
|
|
|
+ <table class="table table-bordered table-condensed" id="notes-table">
|
|
|
<thead>
|
|
|
<tr>
|
|
|
<th>HCP</th>
|
|
@@ -319,6 +319,20 @@
|
|
|
</tbody>
|
|
|
</table>
|
|
|
</div>
|
|
|
+
|
|
|
+ <script>
|
|
|
+ (function() {
|
|
|
+ function init() {
|
|
|
+ $('#notes-table').DataTable( {
|
|
|
+ paging: false,
|
|
|
+ scrollY: 500,
|
|
|
+ scrollX: true
|
|
|
+ } );
|
|
|
+ }
|
|
|
+ addMCInitializer('claims-resolver', init);
|
|
|
+ }).call(window);
|
|
|
+ </script>
|
|
|
+
|
|
|
@endsection
|
|
|
|
|
|
<?php
|