Vijayakrishnan 4 лет назад
Родитель
Сommit
100d23e3e2

+ 3 - 0
public/css/style.css

@@ -1184,3 +1184,6 @@ button.note-templates-trigger-assessment {
 .appt-calendar-col.click-through .fc-timegrid-event-harness {
     pointer-events: none !important;
 }
+.claim-line:last-child td {
+    padding-bottom: 1.3rem;
+}

+ 1 - 2
resources/views/app/patient/note/_update-claim.blade.php

@@ -1,6 +1,5 @@
-<span class="mx-2 text-secondary">|</span>
 <?php $componentID = rand(10001, 99999); ?>
-<a href="#" onclick="return showStagPopup('update-claim-{{$componentID}}')">Update Claim</a>
+<a href="#" onclick="return showStagPopup('update-claim-{{$componentID}}')">Edit</a>
 <div class="stag-popup stag-popup-md mcp-theme-1" stag-popup-key="update-claim-{{$componentID}}">
     <form action="/api/claim/createForNote" id="updateClaimApp{{$componentID}}">
         <h3 class="stag-popup-title border-bottom-0 mb-0">

+ 42 - 60
resources/views/app/patient/note/dashboard.blade.php

@@ -425,71 +425,51 @@
                         <table class="table table-sm tabe-striped mb-3 border-left border-right border-bottom">
                             <thead class="bg-light">
                             <tr>
-                                <th class="border-bottom-0 pl-3"></th>
-                                <th class="border-bottom-0 w-25 pl-3">Submitted?</th>
-                                <th class="border-bottom-0"></th>
+                                <th class="border-bottom-0 pl-2">IID</th>
+                                <th class="border-bottom-0 w-50">Details</th>
+                                <th class="border-bottom-0 text-center">Submitted?</th>
+                                <th class="border-bottom-0">Actions</th>
                             </tr>
                             </thead>
                             <tbody>
                             @foreach ($note->claims as $claim)
                                 <tr>
-                                    <td class="pl-3">
-                                        <div v-on:click.prevent="py-2">
-                                            IID: {{ $claim->iid }}
-                                            @include('app/patient/note/_update-claim')
-                                        </div>
-                                        <div>
-                                            @if($claim->lines->count())
-
-                                                <table class="table table-sm table-condensed table-striped">
-                                                    <thead>
-                                                        <tr>
-                                                            <th>CPT</th>
-                                                            <th>Date of Service</th>
-                                                            <th>ICDs</th>
-                                                        </tr>
-                                                    </thead>
-                                                    <tbody>
-                                                        @foreach($claim->lines as $line)
-                                                        <tr>
-                                                            <td>{{$line->cpt}}</td>
-                                                            <td>{{$line->date_of_service}}</td>
-
-                                                            <td>
-                                                                @include('app.patient.note._update-claim-line-icds',['line'=>$line])
-                                                                <table class="table table-sm table-condensed">
-                                                                    <thead>
-                                                                        <tr>
-                                                                            <td>Code</td>
-                                                                            <td>Description</td>
-                                                                        </tr>
-                                                                    </thead>
-                                                                    <tbody>
-                                                                        @if(count($line->claimLineIcds))
-                                                                            @foreach($line->claimLineIcds as $icd)
-                                                                            <tr>
-                                                                                <td>{{$icd->code}}</td>
-                                                                                <td>{{$icd->description}}</td>
-                                                                            </tr>
-                                                                            @endforeach
-
-                                                                        @else
-                                                                         <p>No icds set</p>
-                                                                        @endif
-                                                                    </tbody>
-                                                                </table>
-                                                            </td>
-                                                        </tr>
-                                                        @endforeach
-                                                    </tbody>
-                                                </table>
-                                            @else
-                                                <p>No lines for this claim</p>
-                                            @endif
-
-                                        </div>
+                                    <td class="pl-2">{{ $claim->iid }}</td>
+                                    <td class="p-0">
+                                        @if($claim->lines->count())
+                                            <table class="table table-sm table-condensed border-left border-right mb-0">
+                                                <thead>
+                                                    <tr class="bg-light">
+                                                        <th class="border-0">CPT</th>
+                                                        <th class="border-0">Date of Service</th>
+                                                        <th class="border-0">ICDs</th>
+                                                    </tr>
+                                                </thead>
+                                                <tbody class="pb-3">
+                                                    @foreach($claim->lines as $line)
+                                                    <tr class="claim-line">
+                                                        <td>{{$line->cpt}}</td>
+                                                        <td>{{$line->date_of_service}}</td>
+                                                        <td>
+                                                            @if(count($line->claimLineIcds))
+                                                                @foreach($line->claimLineIcds as $icd)
+                                                                    <div>
+                                                                        <b>{{$icd->code}}</b> <span class="text-secondary">({{$icd->description}})</span>
+                                                                    </div>
+                                                                @endforeach
+                                                            @else
+                                                                <p>No ICDs set</p>
+                                                            @endif
+                                                        </td>
+                                                    </tr>
+                                                    @endforeach
+                                                </tbody>
+                                            </table>
+                                        @else
+                                            <p>No lines for this claim</p>
+                                        @endif
                                     </td>
-                                    <td>{{$claim->was_submitted? 'Yes':'No'}}</td>
+                                    <td class="text-center">{{$claim->was_submitted? 'Yes':'No'}}</td>
 
                                     <td>
                                         <div class="d-flex align-items-center">
@@ -498,8 +478,10 @@
                                                     Submitted
                                                 </span>
                                             @else
+                                                @include('app/patient/note/_update-claim')
+                                                <span class="mx-2 text-secondary">|</span>
                                                 <span moe class="d-block" title="Submit Claim">
-                                                    <a class="" href="" show start>submit</a>
+                                                    <a class="" href="" show start>Submit</a>
                                                     <form url="/api/claim/submit">
                                                         <input type="hidden" name="uid" value="{{$claim->uid}}">
                                                         <p>Submit claim?</p>