Browse Source

server changes

root 4 years ago
parent
commit
632689870e

+ 1 - 1
app/Http/Controllers/PracticeManagementController.php

@@ -991,7 +991,7 @@ class PracticeManagementController extends Controller
 
         $patientsQuery->whereRaw('(SELECT COUNT(*) FROM note where note.client_id = client.id) > 0');
 
-        $patientsQuery->orderBy('notes_without_claiming_closed', 'DESC');
+        $patientsQuery->orderBy('notes_total', 'DESC');
 
         $patients = $patientsQuery->paginate(50);
 

+ 1 - 1
app/Http/Controllers/TicketController.php

@@ -16,7 +16,7 @@ class TicketController extends Controller
         }
         else {
             $pdf = PDF::loadView('app.ticket.pdf-preview', compact('ticket'));
-            return $pdf->download('invoice.pdf');
+            return $pdf->download($ticket->created_at .'_' . 'order.pdf');
         }
     }
 

BIN
public/db.zip


+ 1 - 1
resources/views/app/patient/note/section.blade.php

@@ -67,7 +67,7 @@ if ($latestSectionTS === 0 || $latestSectionTS < $sectionTS) {
                 <a href="#" class="d-none text-danger if-edit ml-2 remove-section-trigger mr-1" data-uid="{{$section->uid}}" title="Remove {{$section->sectionTemplate->title}}">
                     Remove
                 </a>
-                @if($pro->pro_type === 'ADMIN')
+                @if($pro->pro_type === 'ADMIN' || true)
                 <a href="#" class="d-none if-edit ml-2 move-up-trigger" data-uid="{{$section->uid}}" title="Move Up">
                     <i class="fa fa-arrow-up"></i>
                 </a>

+ 1 - 1
resources/views/app/ticket/pdf-preview.blade.php

@@ -42,7 +42,7 @@
     <table cellpadding="0" cellspacing="0" border="0" style="width: 100%">
         <tr>
             <td style="vertical-align: middle; white-space: nowrap; width: 100px;">
-                Authorizing Signature:
+                Authorizing Signature: Digital Signature Capture at <?= $ticket->created_at ?>
             </td>
             <td style="vertical-align: middle;">
                 @if($ticket->orderingPro->signature_base_64)