Переглянути джерело

Merge branch 'dev' of rav.triplestart.com:jmudaka/stagfe2

= 3 роки тому
батько
коміт
4935db8129

+ 12 - 2
resources/views/app/practice-management/remote-monitoring-admin.blade.php

@@ -2,7 +2,7 @@
 
 @section('content')
 
-    <div class="p-3 mcp-theme-1" id="practice-remote-monitoring">
+    <div class="p-3 mcp-theme-1" id="admin-remote-monitoring">
 
         <div class="card">
 
@@ -79,7 +79,7 @@
                                 <a href="{{route('practice-management.remote-monitoring-admin')}}?m={{request()->input('m')}}&y={{request()->input('y')}}&rc=10&rc2=2" class="border p-2 mr-2 {{$rc2 == 2 ? 'bg-aliceblue font-weight-bold' : ''}}" >Billing Minutes >= 20</a>
                             </div>
                         @endif
-                        <table class="table table-sm table-striped table-hover p-0 m-0 foo-bar-t">
+                        <table class="table table-sm table-striped table-hover p-0 m-0 foo-bar-t" id="admin-table-rm-matrix">
                             <thead class="bg-light">
                             <tr>
                                 <th class="border-0">Patient</th>
@@ -140,4 +140,14 @@
             </div>
         </div>
     </div>
+    <script>
+        (function() {
+            function init() {
+                $('#admin-table-rm-matrix').DataTable({
+                    "pageLength": 100
+                });
+            }
+            addMCInitializer('admin-remote-monitoring', init, '#admin-remote-monitoring');
+        }).call(window);
+    </script>
 @endsection

+ 8 - 2
resources/views/app/practice-management/remote-monitoring.blade.php

@@ -1,7 +1,11 @@
 @extends ('layouts/template')
 
 @section('content')
-
+    <style>
+        #admin-table-rm-matrix_wrapper {
+            padding-top: 10px;
+        }
+    </style>
     <link rel="stylesheet" href="https://cdn.datatables.net/1.11.5/css/jquery.dataTables.min.css">
     <script src="https://cdn.datatables.net/1.11.5/js/jquery.dataTables.min.js"></script>
     <style>
@@ -345,7 +349,9 @@
     <script>
         (function() {
             function init() {
-                $('#table-rm-matrix').DataTable();
+                $('#table-rm-matrix').DataTable({
+                    "pageLength": 100
+                });
                 $('#practice-remote-monitoring').removeAttr('v-cloak');
             }
             addMCInitializer('practice-remote-monitoring', init, '#practice-remote-monitoring');