28169 1 gadu atpakaļ
vecāks
revīzija
d94492eea5

+ 1 - 1
src/xt_pages/dialysis/details/dialog/adviceDialog/AddGroupAdvice.vue Parādīt failu

@@ -1600,7 +1600,7 @@ export default {
1600 1600
         }
1601 1601
       }
1602 1602
 
1603
-      if(this.$store.getters.xt_user.org.id == 9671 || this.$store.getters.xt_user.org.id == 9675 || this.$store.getters.xt_user.org.id == 10340 || this.$store.getters.xt_user.org.id == 10517 || this.$store.getters.xt_user.org.id == 10580){
1603
+      if(this.$store.getters.xt_user.org.id == 9671 || this.$store.getters.xt_user.org.id == 9675 || this.$store.getters.xt_user.org.id == 10340 || this.$store.getters.xt_user.org.id == 10517 || this.$store.getters.xt_user.org.id == 10580 || this.$store.getters.xt_user.org.id == 10579){
1604 1604
          var date = new Date()
1605 1605
           var year = date.getFullYear()
1606 1606
           var month = date.getMonth() + 1

+ 8 - 0
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Parādīt failu

@@ -2604,6 +2604,14 @@ mu
2604 2604
             } else if (schedual.schedule_type == 3) {
2605 2605
               this.start_time = year + '-' + month + '-' + day + ' ' + '18:00'
2606 2606
             }
2607
+           }else if(this.$store.getters.xt_user.org.id == 10579){
2608
+              if (schedual.schedule_type == 1) {
2609
+              this.start_time = year + '-' + month + '-' + day + ' ' + '7:00'
2610
+            } else if (schedual.schedule_type == 2) {
2611
+              this.start_time = year + '-' + month + '-' + day + ' ' + '11:00'
2612
+            } else if (schedual.schedule_type == 3) {
2613
+              this.start_time = year + '-' + month + '-' + day + ' ' + '18:00'
2614
+            }
2607 2615
            }else if(this.$store.getters.xt_user.org.id == 10440){
2608 2616
               if (schedual.schedule_type == 1) {
2609 2617
               this.start_time = year + '-' + month + '-' + day + ' ' + '7:00'