Просмотр исходного кода

"Context" column in bills-under-processing

Vijayakrishnan 3 лет назад
Родитель
Сommit
7b548afa28

+ 5 - 3
resources/views/app/practice-management/bills-under-processing.blade.php

@@ -21,6 +21,7 @@
                         <th class="border-bottom-0 border-top-0">Role</th>
                         <th class="border-bottom-0 border-top-0">Client</th>
                         <th class="border-bottom-0 border-top-0">Code</th>
+                        <th class="border-bottom-0 border-top-0">Context</th>
                         <th class="border-bottom-0 border-top-0">Units</th>
                         <th class="border-bottom-0 border-top-0">Verified?</th>
                         <th class="border-bottom-0 border-top-0">Expected Amount</th>
@@ -73,9 +74,10 @@
                                     {{$row->client->name_last}}, {{$row->client->name_first}}
                                 @endif
                             </td>
-                            <td>{{$row->code}}
-                                @if($row->generic_target_entity_type && $row->generic_target_entity_uid)
-                                    <div class="mt-1 text-sm text-secondary font-weight-bold">{{$row->generic_target_entity_type}}</div>
+                            <td>{{$row->code}}</td>
+                            <td>
+                                @if($row->generic_target_entity_type)
+                                    {{$row->generic_target_entity_type}}
                                 @endif
                             </td>
                             <td>{{str_contains($row->code, 'Treatment Services') || str_contains($row->code, 'Administrative Services') ? ceil((float) $row->number_of_units * 60) . ' mins' : $row->number_of_units}}</td>