Forráskód Böngészése

Note => CompanyPro, Payer & Location

Vijayakrishnan 3 éve
szülő
commit
08b1537b87
1 módosított fájl, 35 hozzáadás és 34 törlés
  1. 35 34
      resources/views/app/patient/note/dashboard.blade.php

+ 35 - 34
resources/views/app/patient/note/dashboard.blade.php

@@ -1094,42 +1094,43 @@
                             </span>
 
                             <span class="mx-2 text-secondary">|</span>
-                            <span>
-                                <span class="text-secondary font-weight-bold">Location: </span><b>{{$note->hcpCompanyLocation ? $note->hcpCompanyLocation->line1 . ', ' . $note->hcpCompanyLocation->city : '-'}}</b>
-                                <span moe class="ml-1">
-                                    <a class="text-primary" href="" show start><i class="fa fa-edit"></i></a>
-                                    <form url="/api/note/putHcpCompanyLocation">
-                                        <input type="hidden" name="uid" value="{{$note->uid}}">
-                                        <div class="mb-2">
-                                            <select name="hcpCompanyLocationUid" class="form-control form-control-sm">
-                                                <option value="">-- select --</option>
-                                                @if($note->hcpCompany && $note->hcpCompany->locations)
-                                                    @foreach($note->hcpCompany->locations as $location)
-                                                        <option value="{{$location->uid}}">{{$location->line1 . ', ' . $location->city}}</option>
-                                                    @endforeach
-                                                @endif
-                                            </select>
-                                        </div>
-                                        <div class="mb-0">
-                                            <button class="btn btn-success btn-sm" submit>Submit</button>
-                                            <button class="btn btn-default border btn-sm" cancel>Cancel</button>
-                                        </div>
-                                    </form>
-                                </span>
+                            <div class="d-inline-flex align-items-center">
+                                <span class="text-secondary font-weight-bold">Location:&nbsp;</span><b>{{$note->hcpCompanyLocation ? $note->hcpCompanyLocation->line1 . ', ' . $note->hcpCompanyLocation->city : '-'}}</b>
                                 @if($note->hcpCompanyLocation)
-                                <span moe class="ml-1">
-                                    <a class="text-danger" href="" show start><i class="fa fa-trash-alt"></i></a>
-                                    <form url="/api/note/wipeHcpCompanyLocation">
-                                        <input type="hidden" name="uid" value="{{$note->uid}}">
-                                        <p>Wipe location from this note?</p>
-                                        <div class="mb-0">
-                                            <button class="btn btn-primary btn-sm" submit>Submit</button>
-                                            <button class="btn btn-default border btn-sm" cancel>Cancel</button>
-                                        </div>
-                                    </form>
-                                </span>
+                                    <div moe class="ml-1">
+                                        <a class="text-danger" href="" show start><i class="fa fa-trash-alt"></i></a>
+                                        <form url="/api/note/wipeHcpCompanyLocation">
+                                            <input type="hidden" name="uid" value="{{$note->uid}}">
+                                            <p>Wipe location from this note?</p>
+                                            <div class="mb-0">
+                                                <button class="btn btn-primary btn-sm" submit>Submit</button>
+                                                <button class="btn btn-default border btn-sm" cancel>Cancel</button>
+                                            </div>
+                                        </form>
+                                    </div>
+                                @else
+                                    <div moe class="ml-1">
+                                        <a class="text-primary" href="" show start><i class="fa fa-edit"></i></a>
+                                        <form url="/api/note/putHcpCompanyLocation">
+                                            <input type="hidden" name="uid" value="{{$note->uid}}">
+                                            <div class="mb-2">
+                                                <select name="hcpCompanyLocationUid" class="form-control form-control-sm">
+                                                    <option value="">-- select --</option>
+                                                    @if($note->hcpCompany && $note->hcpCompany->locations)
+                                                        @foreach($note->hcpCompany->locations as $location)
+                                                            <option value="{{$location->uid}}">{{$location->line1 . ', ' . $location->city}}</option>
+                                                        @endforeach
+                                                    @endif
+                                                </select>
+                                            </div>
+                                            <div class="mb-0">
+                                                <button class="btn btn-success btn-sm" submit>Submit</button>
+                                                <button class="btn btn-default border btn-sm" cancel>Cancel</button>
+                                            </div>
+                                        </form>
+                                    </div>
                                 @endif
-                            </span>
+                            </div>
                         @endif
                     </div>
                 </div>