Explorar o código

Ticket - canvasData check

Vijayakrishnan %!s(int64=4) %!d(string=hai) anos
pai
achega
28ef7ac0b2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      resources/views/app/patient/tickets.blade.php

+ 1 - 1
resources/views/app/patient/tickets.blade.php

@@ -184,7 +184,7 @@
                             }
                             }
                         ?>
                         ?>
 
 
-                        patientRx: <?= json_encode($contentData['items']) ?>,
+                        patientRx: <?= $contentData ? json_encode($contentData['items']) : [] ?>,
                     },
                     },
                     computed: {
                     computed: {
                         numAll: function() {
                         numAll: function() {