Просмотр исходного кода

Autofill facility fax num into send-fax modal

Vijayakrishnan 4 лет назад
Родитель
Сommit
c484610594
1 измененных файлов с 4 добавлено и 1 удалено
  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', {