Ver Fonte

commented out process client bdt...

Josh há 3 anos atrás
pai
commit
dde883c7e7

+ 1 - 0
app/Http/Controllers/HomeController.php

@@ -537,6 +537,7 @@ WHERE cl.shadow_pro_id IS NULL
             SELECT cs.* ,c.uid as client_uid, c.name_first as client_name_first, c.name_last as client_name_last FROM client_sms cs LEFT JOIN client c ON c.id = cs.client_id
             WHERE cs.is_reply_needed = 'YES' AND c.mcp_pro_id = :mcp_pro_id AND incoming_or_outgoing = 'INCOMING'
             AND (cs.created_at > c.last_sms_sent_to_client_at OR c.last_sms_sent_to_client_at IS NULL)
+            ORDER BY created_at DESC
         ", ['mcp_pro_id' => $performer->pro->id]);
 
         return view('app/dashboard-mcp', compact('keyNumbers', 'reimbursement', 'milliseconds',

+ 16 - 16
resources/views/app/patient/measurements.blade.php

@@ -47,23 +47,23 @@
                         </div>
                     </form>
                 </div>
-                @if($performer->pro->pro_type == 'ADMIN')
-                <span class="mx-2 text-secondary">|</span>
-                <div moe>
-                    <a start show class="py-0 font-weight-normal">Process Client BDT Measurements Report</a>
-                    <form url="/api/clientBdtReport/processClientBdtReport">
-                        <input type="hidden" name="uid" value="{{ $patient->uid }}">
-                        <div class="mb-2">
-                            <label for="" class="control-label">Process client bd measurements report?</label>
-                        </div>
+{{--                @if($performer->pro->pro_type == 'ADMIN')--}}
+{{--                <span class="mx-2 text-secondary">|</span>--}}
+{{--                <div moe>--}}
+{{--                    <a start show class="py-0 font-weight-normal">Process Client BDT Measurements Report</a>--}}
+{{--                    <form url="/api/clientBdtReport/processClientBdtReport">--}}
+{{--                        <input type="hidden" name="uid" value="{{ $patient->uid }}">--}}
+{{--                        <div class="mb-2">--}}
+{{--                            <label for="" class="control-label">Process client bd measurements report?</label>--}}
+{{--                        </div>--}}
 
-                        <div class="d-flex align-items-center">
-                            <button class="btn btn-sm btn-primary mr-2" submit>Yes</button>
-                            <button class="btn btn-sm btn-default mr-2 border" cancel>Cancel</button>
-                        </div>
-                    </form>
-                </div>
-                @endif
+{{--                        <div class="d-flex align-items-center">--}}
+{{--                            <button class="btn btn-sm btn-primary mr-2" submit>Yes</button>--}}
+{{--                            <button class="btn btn-sm btn-default mr-2 border" cancel>Cancel</button>--}}
+{{--                        </div>--}}
+{{--                    </form>--}}
+{{--                </div>--}}
+{{--                @endif--}}
             </div>
             <table class="table table-striped table-sm table-bordered mt-2 mb-0">
                 <thead>