@ -81,33 +81,6 @@
< csc -popup -menu -item -delete
< csc -popup -menu -item -delete
@ click = "deleteSeat"
@ click = "deleteSeat"
/ >
/ >
< q -separator / >
< q -item
class = "no-padding"
>
< q -item -section >
< q -toggle
v - model = "changes.clirIntrapbx"
class = "q-pa-sm"
: label = "$t('Hide number within own PBX')"
: disable = "loading"
@ update : model - value = "changeIntraPbx"
/ >
< / q - i t e m - s e c t i o n >
< / q - i t e m >
< q -item
class = "no-padding"
>
< q -item -section >
< q -toggle
v - model = "changes.musicOnHold"
class = "q-pa-sm"
: label = "$t('Music on hold')"
: disable = "loading"
@ update : model - value = "changeMusicOnHold"
/ >
< / q - i t e m - s e c t i o n >
< / q - i t e m >
< / c s c - m o r e - m e n u >
< / c s c - m o r e - m e n u >
< / q - i t e m - s e c t i o n >
< / q - i t e m - s e c t i o n >
< / q - i t e m >
< / q - i t e m >
@ -142,10 +115,6 @@ export default {
loading : {
loading : {
type : Boolean ,
type : Boolean ,
default : undefined
default : undefined
} ,
musicOnHold : {
type : Boolean ,
default : undefined
}
}
} ,
} ,
emits : [ 'save-intra-pbx' , 'save-music-on-hold' , 'remove' ] ,
emits : [ 'save-intra-pbx' , 'save-music-on-hold' , 'remove' ] ,
@ -168,8 +137,6 @@ export default {
name : this . seat . display _name ,
name : this . seat . display _name ,
extension : this . seat . pbx _extension ,
extension : this . seat . pbx _extension ,
webPassword : this . seat . webpassword ,
webPassword : this . seat . webpassword ,
clirIntrapbx : this . intraPbx ,
musicOnHold : this . musicOnHold ,
groups : this . getGroupIds ( )
groups : this . getGroupIds ( )
}
}
} ,
} ,
@ -215,18 +182,6 @@ export default {
seatSIPPassword : password
seatSIPPassword : password
} )
} )
} ,
} ,
changeIntraPbx ( ) {
this . $emit ( 'save-intra-pbx' , {
seatId : this . seat . id ,
intraPbx : this . changes . clirIntrapbx
} )
} ,
changeMusicOnHold ( ) {
this . $emit ( 'save-music-on-hold' , {
seatId : this . seat . id ,
musicOnHold : this . changes . musicOnHold
} )
} ,
showSeatDetails ( ) {
showSeatDetails ( ) {
this . $router . push ( '/user/pbx-configuration/seat/' + this . seat . id )
this . $router . push ( '/user/pbx-configuration/seat/' + this . seat . id )
}
}