@if (setting?.businesshourofflinemsg == 'on' && responseCreateTicket.isOnline != true) {
{{ setting?.offlineTextTitle }}
{{ setting?.offlineTextMessage }} - {{ 'Support Hours' | translate }}
} @if (responseCreateTicket?.envato_on == 'on') {
{{'Support Expired: Your support has expired. In order to continue receiving our assistance, please renew your support.' | translate}} {{'Support Policy' | translate}} {{'How To Renew Item Support' | translate}}
} @if (responseCreateTicket?.envato_on == 'on') {
{{'Your purchase code has been verified, but product support has expired.' | translate}} {{'Support Policy' | translate}} {{'How To Renew Item Support' | translate}}
}

{{'New Ticket' | translate}}

@if (!newTicketLimit.length) {
@if (responseCreateTicket?.cc_email == 'on') {
{{'You are allowed to send only a single CC.' | translate}}
@if ((ccemailField.invalid && ccemailField.touched) || ccemailField.dirty) {
@if (ccemailField.errors?.['required']) { {{'Email address is required' | translate}} } @if (ccemailField.errors?.['pattern']) { {{'Please check Email Format' | translate}} }
}
}
{{'Maximum' | translate}} {{responseCreateTicket?.TICKET_CHARACTER}} {{'Characters' | translate}}
{{item?.name}}
@if ((category.invalid && category.touched) || category.dirty) {
@if (category.errors?.['required']) { {{'Category is required' | translate}} }
}
@if (haspurchasecode.length) {
@if ((purchasecode.invalid && purchasecode.touched) || purchasecode.dirty) {
@if (purchasecode.errors?.['required']) { {{'Purchase Code is required' | translate}} }
}
} @if (envatoName?.length) {
} @if (hassubcategoriess.length) {
{{item?.subcategoryname}}
} @if (hasproject.length) {
{{item?.name}}
} @if (responseCreateTicket?.customfields?.length) { @for (customfield of responseCreateTicket?.customfields; track customfield) { @if (customfield?.status == '1') {
@if (customfield.fieldtypes == 'text') { @if ((c_text.invalid && c_text.touched) || c_text.dirty) {
@if (c_text.errors?.['required']) { {{'Field is required' | translate}} }
} } @if (customfield.fieldtypes == 'email') { @if ((c_email.invalid && c_email.touched) || c_email.dirty) {
@if (c_email.errors?.['required']) { {{'Email address is required' | translate}} } @if (c_email.errors?.['pattern']) { {{'Please check Email Format' | translate}} }
} } @if (customfield.fieldtypes == 'textarea') { @if ((c_textarea.invalid && c_textarea.touched) || c_textarea.dirty) {
@if (c_textarea.errors?.['required']) { {{'Field is required' | translate}} }
} } @if (customfield.fieldtypes == 'select') { @for (seoption of customfield.fieldoptions?.split(','); track seoption) { {{seoption}} } @if ((c_select.invalid && c_select.touched) || c_select.dirty) {
@if (c_select.errors?.['required']) { {{'Field is required' | translate}} }
} } @if (customfield.fieldtypes == 'checkbox') { @for (coption of customfield.fieldoptions?.split(','); track coption) { } } @if (customfield.fieldtypes == 'radio') { @for (roption of customfield.fieldoptions?.split(','); track roption) { } }
} } }
@if (description.errors?.['minLength'] && description.touched) {
{{' Minimum Characters are required' | translate}}
} @if (description.errors?.['maxLength']) {
{{ description.errors?.['maxLength'].actualLength }}/{{ description.errors?.['maxLength'].maxLength }} {{' exceeded the limit' | translate}}
} @if ((description.invalid && description.touched) || description.dirty) {
@if (description.errors?.['required']) { {{'Description is required' | translate}} }
}
@if (responseCreateTicket?.USER_FILE_UPLOAD_ENABLE == 'yes') {
{{'The file size should not be more than' | translate}} {{setting?.FILE_UPLOAD_MAX}}{{'MB' | translate}}
}
@if ((terms.invalid && terms.touched) || terms.dirty) {
@if (terms.errors?.['required']) { {{'Terms is required' | translate}} }
}
} @else { {{newTicketLimit | translate}} }