浏览代码

Erx - 500 err when opened directly (not from note) fix

Vijayakrishnan 3 年之前
父节点
当前提交
5443a90574
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      resources/views/app/patient/prescriptions/list.blade.php

+ 1 - 0
resources/views/app/patient/prescriptions/list.blade.php

@@ -377,6 +377,7 @@
     @include('app.patient.prescriptions.transmit-form')
     @include('app.patient.prescriptions.transmit-form')
 </div>
 </div>
 <?php
 <?php
+$uCounts = [];
 if (@$note) {
 if (@$note) {
     $unsignedCounts = DB::select("SELECT erx_Category, count(id) FROM erx
     $unsignedCounts = DB::select("SELECT erx_Category, count(id) FROM erx
 WHERE (has_hcp_pro_signed IS NULL OR has_hcp_pro_signed = FALSE) AND
 WHERE (has_hcp_pro_signed IS NULL OR has_hcp_pro_signed = FALSE) AND