ソースを参照

added data to bm

logicpowerhouse 4 年 前
コミット
2fe9021507

+ 23 - 17
resources/views/app/practice-management/billing-manager.blade.php

@@ -37,7 +37,11 @@
 
                         <th class="border-0">Signed?</th>
                         <th class="border-0">Bills</th>
-                        <th class="border-0">Assessments</th>
+
+                        @if($performer->pro->pro_type == 'ADMIN')
+                            <th class="border-0">Assessments</th>
+                        @endif
+
                         @if($performer->pro->pro_type == 'ADMIN')
                             <th class="border-0">Claims</th>
                         @endif
@@ -88,24 +92,26 @@
                                     </tbody>
                                 </table>
                             </td>
-                            <td>
-                                <table class="table table-sm table-condensed table-stripe">
-                                    <thead>
-                                    <tr>
-                                        <th>Code</th>
-                                        <th>Description</th>
-                                    </tr>
-                                    </thead>
-                                    <tbody>
-                                    @foreach($note->reasons as $reason)
+                            @if($peformer->pro->pro_type == 'ADMIN')
+                                <td>
+                                    <table class="table table-sm table-condensed table-stripe">
+                                        <thead>
                                         <tr>
-                                            <td>{{$reason->code}}</td>
-                                            <td>{{$reason->description}}</td>
+                                            <th>Code</th>
+                                            <th>Description</th>
                                         </tr>
-                                    @endforeach
-                                    </tbody>
-                                </table>
-                            </td>
+                                        </thead>
+                                        <tbody>
+                                        @foreach($note->reasons as $reason)
+                                            <tr>
+                                                <td>{{$reason->code}}</td>
+                                                <td>{{$reason->description}}</td>
+                                            </tr>
+                                        @endforeach
+                                        </tbody>
+                                    </table>
+                                </td>
+                            @endif
                             @if($performer->pro->pro_type == 'ADMIN')
                                 <td>
                                     <table class="table table-sm table-condensed table-stripe">