Ver código fonte

Autofill facility fax num into send-fax modal

Vijayakrishnan 4 anos atrás
pai
commit
c484610594
1 arquivos alterados com 4 adições e 1 exclusões
  1. 4 1
      resources/views/app/patient/tickets.blade.php

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

@@ -536,7 +536,10 @@
                             }, 'json');
                         },
                         showSendFaxPopup: function() {
-                            showStagPopup('send-fax-popup');
+                            this.faxNumber = this[this.currentCategory + 'PopupItem'].data.pharmacyFax;
+                            Vue.nextTick(() => {
+                                showStagPopup('send-fax-popup');
+                            });
                         },
                         sendFax: function(_item) {
                             $.post('/api/ticketFax/create', {