Kaynağa Gözat

added hcp bill matrix

logicpowerhouse 4 yıl önce
ebeveyn
işleme
437d4e2903

+ 19 - 30
resources/views/app/practice-management/hcp-bill-matrix.blade.php

@@ -35,8 +35,13 @@
 
                         <th class="border-0">HCP</th>
 
-                        <th class="border-0">Signed?</th>
-                        <th class="border-0">Bills</th>
+                        <th class="border-0">Note Signed?</th>
+
+                        <th>Service</th>
+                        <th># of units</th>
+                        <th>Bill Signed?</th>
+                        <th>Cancelled?</th>
+                        <th>HCP ex. amount</th>
 
                         @if($performer->pro->pro_type == 'ADMIN')
                             <th class="border-0">Assessments</th>
@@ -65,34 +70,18 @@
                             </td>
                             <td>{{$note->hcpPro->name_first}} {{$note->hcpPro->name_first}}</td>
                             <td>{{$note->is_signed_by_hcp?'Yes':'No'}}</td>
-                            <td>
-                                <table class="table table-sm table-condensed table-stripe">
-                                    <thead>
-                                    <tr>
-                                        <th>Service</th>
-                                        <th># of units</th>
-                                        <th>Signed?</th>
-                                        <th>Cancelled?</th>
-                                        <th>HCP ex. amount</th>
-                                    </tr>
-                                    </thead>
-                                    <tbody>
-                                    @foreach($note->bills as $bill)
-                                        <tr>
-                                            <td>{{$bill->code}}</td>
-                                            @if($bill->code == 'Treatment Services')
-                                                <td>{{floor($bill->number_of_units*60)}}m</td>
-                                            @else
-                                                <td>{{$bill->number_of_units}}</td>
-                                            @endif
-                                            <td>{{$bill->is_signed_by_hcp?'Yes':'No'}}</td>
-                                            <td>{{ $bill->is_cancelled ?'Yes':'No'}}</td>
-                                            <td>{{ $bill->hcp_expected_payment_amount }}</td>
-                                        </tr>
-                                    @endforeach
-                                    </tbody>
-                                </table>
-                            </td>
+
+
+                            <td>{{$bill->code}}</td>
+                            @if($bill->code == 'Treatment Services')
+                                <td>{{floor($bill->number_of_units*60)}}m</td>
+                            @else
+                                <td>{{$bill->number_of_units}}</td>
+                            @endif
+                            <td>{{$bill->is_signed_by_hcp?'Yes':'No'}}</td>
+                            <td>{{ $bill->is_cancelled ?'Yes':'No'}}</td>
+                            <td>{{ $bill->hcp_expected_payment_amount }}</td>
+
                             @if($performer->pro->pro_type == 'ADMIN')
                                 <td>
                                     <table class="table table-sm table-condensed table-stripe">