@if (ticketDataParent && ticketDataParent?.ticket?.status != 'Closed' && ticketDataParent?.ticket?.status != 'Suspend' && ticketDataParent.allowreply) { @if (ticketDataParent?.comments?.data?.length) {
}
@if (ticketDataParent?.ticketdraft) { }
{{item?.title}}
@if (replayStatus?.employees?.length) {

{{replayStatus?.employees?.[0]?.name}} ({{replayStatus?.diff_time}}){{'Working on it...'| translate}}

} @else{ @if (comment.errors?.['minLength'] && comment.touched) {
{{' Minimum Characters are required' | translate}}
} @if (comment.errors?.['maxLength']) {
{{ comment.errors?.['maxLength'].actualLength }}/{{ comment.errors?.['maxLength'].maxLength }} {{' exceeded the limit' | translate}}
} @if ((comment.invalid && comment.touched) || comment.dirty) {
@if (comment.errors?.['required']) { {{'Comment is required' | translate}} }
} }
@if(setting?.enableGeminiApi == 'on'){
} @if(showGeneratedText){

{{ generatedDescription }}

}
{{'The file size should not be more than' | translate}} {{ticketDataParent?.setting?.original?.FILE_UPLOAD_MAX}} {{'MB' | translate}}
@if ((status.invalid && status.touched) || status.dirty) {
@if (status.errors?.['required']) { {{'Status is required' | translate}} }
}
@if(holdremove){
@if((onhold.invalid && onhold.touched) || onhold.dirty){
@if(onhold.errors?.required){ {{'On Hold is required' | translate}} }
} } @if (ticketDataParent.setting?.original?.ticketrating == 'off') { @if (ratingonoff) {
({{'If you Disable this switch, you stop rating page to the customer' | translate}})
} } @if (ticketDataParent?.setting?.original?.USER_REOPEN_ISSUE == "yes" && ticketDataParent?.tickettype != 'emalitoticket') { @if (reopenTkt) {
({{'If you disable this switch, you can stop the reopen option to the customer for this ticket.' | translate}})
} }
} @else {

{{'Reply Ticket' | translate}} @if (ticketDataParent.ticketdraft) { {{'Draft' | translate}} }

@if (ticketDataParent?.ticketdraft) { }
@if (ticketDataParent?.cannedmessages?.length) {
@if (ticketDataParent?.cannedmessages?.length) {
{{item?.title}}
}
}
@if (replayStatus?.employees?.length) {

{{replayStatus?.employees?.[0]?.name}} ({{replayStatus?.diff_time}}){{'Working on it...'| translate}}

} @else{ @if (comment.errors?.['minLength'] && comment.touched) {
{{' Minimum Characters are required' | translate}}
} @if (comment.errors?.['maxLength']) {
{{ comment.errors?.['maxLength'].actualLength }}/{{ comment.errors?.['maxLength'].maxLength }} {{' exceeded the limit' | translate}}
} @if ((comment.invalid && comment.touched) || comment.dirty) {
@if (comment.errors?.['required']) { {{'Comment is required' | translate}} }
} }
@if(setting?.enableGeminiApi == 'on'){
} @if(showGeneratedText){

{{ generatedDescription }}

}
{{'The file size should not be more than'| translate}} {{ticketDataParent?.setting?.original?.FILE_UPLOAD_MAX}}{{'MB'| translate}}
@if ((status.invalid && status.touched) || status.dirty) {
@if (status.errors?.['required']) { {{'Status is required' | translate}} }
}
@if(holdremove){
@if((onhold.invalid && onhold.touched) || onhold.dirty){
@if(onhold.errors?.required){ {{'On Hold is required' | translate}} }
} } @if (ticketDataParent?.setting?.original?.ticketrating == "off") { @if (ratingonoff) {
({{'If you disable this switch, you can stop rating page to the customer' | translate}})
} } @if (ticketDataParent?.setting?.original?.USER_REOPEN_ISSUE == "yes" && ticketDataParent?.tickettype != 'emalitoticket') { @if (reopenTkt) {
({{'If you disable this switch, you can stop the reopen option to the customer for this ticket.' | translate}})
} }
} }