Commit f71ac662 authored by ari_darmawan's avatar ari_darmawan

validasi ticket resolve team pic

parent 319982f9
...@@ -255,11 +255,10 @@ export class AdminTicketOnpicDetailComponent implements OnInit { ...@@ -255,11 +255,10 @@ export class AdminTicketOnpicDetailComponent implements OnInit {
}) })
if(this.RoleID == this._SP.PARAM_SERVICEDESK){ if(this.RoleID == this._SP.PARAM_SERVICEDESK){
this.ConversationReplyNote[0].Selected = true
}
if(this.RoleID != this._SP.PARAM_SERVICEDESK){
this.ConversationReplyNote[1].Selected = true this.ConversationReplyNote[1].Selected = true
this.ConversationReplyNote[0].Hide = true this.ConversationReplyNote[0].Hide = true
}else{
this.ConversationReplyNote[0].Selected = true
} }
} }
......
...@@ -299,7 +299,9 @@ ...@@ -299,7 +299,9 @@
<!-- Public Reply--> <!-- Public Reply-->
<div <div
class="form-group" class="form-group"
[ngClass]="{'d-block': ConversationReplyNote[0].Selected == true, 'd-none':ConversationReplyNote[0].Selected == false}"> [ngClass]="{'d-block': ConversationReplyNote[0].Selected == true, 'd-none':ConversationReplyNote[0].Selected == false}"
*ngIf="RoleID != _SP.PARAM_SUPPORT"
>
<label class="text-muted"><small>Macro</small></label> <label class="text-muted"><small>Macro</small></label>
<select type="text" <select type="text"
class="form-control form-control-sm select-style" class="form-control form-control-sm select-style"
......
...@@ -243,7 +243,7 @@ export class AdminTicketDetailComponent implements OnInit { ...@@ -243,7 +243,7 @@ export class AdminTicketDetailComponent implements OnInit {
this.ConversationViewByRole() this.ConversationViewByRole()
this.ConversationReplyNoteViewByRole() this.ConversationReplyNoteViewByRole()
console.log(this.RoleID)
// PublicReplySubmit // PublicReplySubmit
} }
...@@ -258,7 +258,10 @@ export class AdminTicketDetailComponent implements OnInit { ...@@ -258,7 +258,10 @@ export class AdminTicketDetailComponent implements OnInit {
if(this.RoleID == this._SP.PARAM_SERVICEDESK){ if(this.RoleID == this._SP.PARAM_SERVICEDESK){
this.ConversationReplyNote[0].Selected = true this.ConversationReplyNote[0].Selected = true
} }
if(this.RoleID != this._SP.PARAM_SERVICEDESK){ else if(this.RoleID == this._SP.PARAM_SUPPORT){
this.ConversationReplyNote[0].Selected = true
}
else if(this.RoleID != this._SP.PARAM_SERVICEDESK){
this.ConversationReplyNote[1].Selected = true this.ConversationReplyNote[1].Selected = true
this.ConversationReplyNote[0].Hide = true this.ConversationReplyNote[0].Hide = true
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment