{"id":3560,"date":"2025-11-21T10:06:44","date_gmt":"2025-11-21T10:06:44","guid":{"rendered":"https:\/\/edubateam.com\/ticket\/"},"modified":"2025-11-21T14:33:10","modified_gmt":"2025-11-21T14:33:10","slug":"ticket","status":"publish","type":"page","link":"https:\/\/edubateam.com\/fa\/ticket\/","title":{"rendered":"\u062a\u06cc\u06a9\u062a"},"content":{"rendered":"<div class=\"fusion-fullwidth fullwidth-box fusion-builder-row-1 fusion-flex-container nonhundred-percent-fullwidth non-hundred-percent-height-scrolling\" style=\"--awb-border-radius-top-left:0px;--awb-border-radius-top-right:0px;--awb-border-radius-bottom-right:0px;--awb-border-radius-bottom-left:0px;--awb-flex-wrap:wrap;\" ><div class=\"fusion-builder-row fusion-row fusion-flex-align-items-flex-start fusion-flex-content-wrap\" style=\"max-width:1435.2px;margin-left: calc(-4% \/ 2 );margin-right: calc(-4% \/ 2 );\"><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-0 fusion_builder_column_1_1 1_1 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:1.92%;--awb-margin-bottom-large:0px;--awb-spacing-left-large:1.92%;--awb-width-medium:100%;--awb-spacing-right-medium:1.92%;--awb-spacing-left-medium:1.92%;--awb-width-small:100%;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-flex-justify-content-flex-start fusion-content-layout-column\"><div class=\"fusion-text fusion-text-1\">\t\t\t<div id=\"wpsc-container\" style=\"display:none;\">\n\t\t\t\t<div class=\"wpsc-shortcode-container\">\n\t\t\t\t\t\t\t\t<div class=\"wpsc-auth-container\">\n\t\t\t\t<div class=\"auth-inner-container\">\n\t\t\t\t\t<h2>\u0644\u0637\u0641\u0627\u064b \u0648\u0627\u0631\u062f \u062d\u0633\u0627\u0628 \u062e\u0648\u062f \u0634\u0648\u06cc\u062f<\/h2>\n\t\t\t\t\t<form onsubmit=\"return false;\" class=\"wpsc-login wpsc-default-login\">\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t<input type=\"text\" name=\"username\" placeholder=\"\u0646\u0627\u0645 \u06a9\u0627\u0631\u0628\u0631\u06cc \/ \u0622\u062f\u0631\u0633 \u0627\u06cc\u0645\u06cc\u0644\" autocomplete=\"off\"\/>\n\t\t\t\t\t\t\t<input type=\"password\" name=\"password\" placeholder=\"\u0631\u0645\u0632\u0639\u0628\u0648\u0631\"\/>\n\t\t\t\t\t\t\t<div class=\"checkbox-container remember-me\">\n\t\t\t\t\t\t\t\t<input id=\"wpsc-remember-me\" type=\"checkbox\" name=\"remember_me\" value=\"1\"\/>\n\t\t\t\t\t\t\t\t<label for=\"wpsc-remember-me\">\u0645\u0631\u0627 \u0628\u062e\u0627\u0637\u0631 \u0628\u0633\u067e\u0627\u0631<\/label>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t<button class=\"wpsc-button normal primary\" onclick=\"wpsc_submit_login_form(this)\">\u0648\u0631\u0648\u062f \u0628\u0647 \u062d\u0633\u0627\u0628<\/button>\n\t\t\t\t\t\t\t<input type=\"hidden\" name=\"action\" value=\"wpsc_default_login\"\/>\n\t\t\t\t\t\t\t<input type=\"hidden\" name=\"_ajax_nonce\" value=\"4632e8b097\"\/>\n\t\t\t\t\t\t\t\t\t\t\t\t<\/form>\n\n\t\t\t\t\t<div class=\"auth-links\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"wpsc-link wpsc-forgot-password\" href=\"https:\/\/edubateam.com\/fa\/wp-login.php?action=lostpassword\">\u0631\u0645\u0632 \u062e\u0648\u062f \u0631\u0627 \u0641\u0631\u0627\u0645\u0648\u0634 \u06a9\u0631\u062f\u0647\u200c\u0627\u06cc\u062f\u061f<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<script>\n\t\t\t\t\t\/**\n\t\t\t\t\t * Submit default login form\n\t\t\t\t\t *\/\n\t\t\t\t\tfunction wpsc_submit_login_form(el) {\n\n\t\t\t\t\t\tvar dataform = new FormData(jQuery(el).closest('form')[0]);\n\t\t\t\t\t\tvar username = dataform.get('username').trim();\n\t\t\t\t\t\tvar password = dataform.get('password').trim();\n\t\t\t\t\t\tif (!username || !password) {\n\t\t\t\t\t\t\talert(supportcandy.translations.req_fields_missing);\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\twpsc_post_login_form(el, dataform);\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\/**\n\t\t\t\t\t * Submit login form\n\t\t\t\t\t *\/\n\t\t\t\t\tfunction wpsc_post_login_form(el, dataform) {\n\n\t\t\t\t\t\tjQuery(el).text(supportcandy.translations.please_wait);\n\t\t\t\t\t\tjQuery.ajax({\n\t\t\t\t\t\t\turl: supportcandy.ajax_url,\n\t\t\t\t\t\t\ttype: 'POST',\n\t\t\t\t\t\t\tdata: dataform,\n\t\t\t\t\t\t\tprocessData: false,\n\t\t\t\t\t\t\tcontentType: false\n\t\t\t\t\t\t}).done(function (response) {\n\t\t\t\t\t\t\tif (response.success) {\n\t\t\t\t\t\t\t\twindow.location.reload();\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tif (response.data) {\n\t\t\t\t\t\t\t\tif (typeof response.data === 'string') {\n\t\t\t\t\t\t\t\t\tmessage = response.data;\n\t\t\t\t\t\t\t\t} else if (response.data.message) {\n\t\t\t\t\t\t\t\t\tmessage = response.data.message;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\talert(message);\n\t\t\t\t\t\t}).fail(function (xhr, status, error) {\n\t\t\t\t\t\t\tlet message = supportcandy.translations.something_wrong;\n\n\t\t\t\t\t\t\t\/\/ Handle WP JSON errors (401, 403, 400)\n\t\t\t\t\t\t\tif (xhr.responseJSON && xhr.responseJSON.data) {\n\t\t\t\t\t\t\t\tif (typeof xhr.responseJSON.data === 'string') {\n\t\t\t\t\t\t\t\t\tmessage = xhr.responseJSON.data;\n\t\t\t\t\t\t\t\t} else if (xhr.responseJSON.data.message) {\n\t\t\t\t\t\t\t\t\tmessage = xhr.responseJSON.data.message;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\talert(message);\n\t\t\t\t\t\t}).always(function () {\n\t\t\t\t\t\t\twindow.location.reload();\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\n\t\t\t\t\t\/**\n\t\t\t\t\t * Custom login\n\t\t\t\t\t *\/\n\t\t\t\t\tfunction wpsc_custom_login(el, url) {\n\n\t\t\t\t\t\tjQuery(el).text(supportcandy.translations.please_wait);\n\t\t\t\t\t\twindow.location.href = url;\n\t\t\t\t\t}\n\n\t\t\t\t\t\/**\n\t\t\t\t\t * Get default registration page\n\t\t\t\t\t *\/\n\t\t\t\t\tfunction wpsc_get_default_registration() {\n\n\t\t\t\t\t\tjQuery('.auth-inner-container').html(supportcandy.loader_html);\n\t\t\t\t\t\tvar data = { action: 'wpsc_get_default_registration' };\n\t\t\t\t\t\tjQuery.post(supportcandy.ajax_url, data, function (response) {\n\t\t\t\t\t\t\tjQuery('.auth-inner-container').html(response);\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\n\t\t\t\t\t\/**\n\t\t\t\t\t * Set default registration form\n\t\t\t\t\t *\/\n\t\t\t\t\tfunction wpsc_set_default_registration(el) {\n\n\t\t\t\t\t\tvar dataform = new FormData(jQuery(el).closest('form')[0]);\n\t\t\t\t\t\tvar firstname = dataform.get('firstname').trim();\n\t\t\t\t\t\tvar lastname = dataform.get('lastname').trim();\n\t\t\t\t\t\tvar username = dataform.get('username').trim();\n\t\t\t\t\t\tvar email_address = dataform.get('email_address').trim();\n\t\t\t\t\t\tvar password = dataform.get('password').trim();\n\t\t\t\t\t\tvar confirm_password = dataform.get('confirm_password').trim();\n\t\t\t\t\t\tvar isUsername = dataform.get('is_username').trim();\n\t\t\t\t\t\tvar isEmail = dataform.get('is_email').trim();\n\n\t\t\t\t\t\t\n\t\t\t\t\t\tif (!firstname || !lastname || !username || !email_address || !password || !confirm_password) {\n\t\t\t\t\t\t\talert(supportcandy.translations.req_fields_missing);\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (!validateEmail(email_address)) {\n\t\t\t\t\t\t\talert(supportcandy.translations.incorrect_email);\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (isUsername != 1) {\n\t\t\t\t\t\t\talert(supportcandy.translations.unsername_unavailable);\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (isEmail != 1) {\n\t\t\t\t\t\t\talert(supportcandy.translations.email_unavailable);\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (password !== confirm_password) {\n\t\t\t\t\t\t\talert(supportcandy.translations.incorrect_password);\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\n\t\t\t\t\t\t\twpsc_authenticate_registration(el, dataform);\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\/**\n\t\t\t\t\t * Post registration form\n\t\t\t\t\t *\/\n\t\t\t\t\tfunction wpsc_authenticate_registration(el, dataform) {\n\n\t\t\t\t\t\tjQuery('.auth-inner-container').html(supportcandy.loader_html);\n\t\t\t\t\t\tjQuery.ajax({\n\t\t\t\t\t\t\turl: supportcandy.ajax_url,\n\t\t\t\t\t\t\ttype: 'POST',\n\t\t\t\t\t\t\tdata: dataform,\n\t\t\t\t\t\t\tprocessData: false,\n\t\t\t\t\t\t\tcontentType: false\n\t\t\t\t\t\t}).done(function (res) {\n\t\t\t\t\t\t\tif (typeof(res) == \"object\") {\n\t\t\t\t\t\t\t\talert(supportcandy.translations.something_wrong);\n\t\t\t\t\t\t\t\twpsc_get_default_registration();\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tjQuery('.auth-inner-container').html(res);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}).fail(function (res) {\n\t\t\t\t\t\t\talert(supportcandy.translations.something_wrong);\n\t\t\t\t\t\t\twindow.location.reload();\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\n\t\t\t\t\t\/**\n\t\t\t\t\t * Register user\n\t\t\t\t\t *\/\n\t\t\t\t\tfunction wpsc_confirm_registration(el) {\n\n\t\t\t\t\t\tjQuery('.auth-inner-container').html(supportcandy.loader_html);\n\t\t\t\t\t\tvar dataform = new FormData(jQuery(el).closest('form')[0]);\n\t\t\t\t\t\tjQuery.ajax({\n\t\t\t\t\t\t\turl: supportcandy.ajax_url,\n\t\t\t\t\t\t\ttype: 'POST',\n\t\t\t\t\t\t\tdata: dataform,\n\t\t\t\t\t\t\tprocessData: false,\n\t\t\t\t\t\t\tcontentType: false\n\t\t\t\t\t\t}).done(function (res) {\n\t\t\t\t\t\t\tif (res.isSuccess == 1) {\n\t\t\t\t\t\t\t\twindow.location.reload();\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\talert(supportcandy.translations.something_wrong);\n\t\t\t\t\t\t\t\twpsc_get_default_registration();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\n\t\t\t\t\t\/**\n\t\t\t\t\t * Get guest otp login screen\n\t\t\t\t\t *\n\t\t\t\t\t * @return void\n\t\t\t\t\t *\/\n\t\t\t\t\tfunction wpsc_get_guest_sign_in() {\n\n\t\t\t\t\t\tjQuery('.auth-inner-container').html(supportcandy.loader_html);\n\t\t\t\t\t\tvar data = { action: 'wpsc_get_guest_sign_in' };\n\t\t\t\t\t\tjQuery.post(supportcandy.ajax_url, data, function (res) {\n\t\t\t\t\t\t\tif (typeof(res) == \"object\") {\n\t\t\t\t\t\t\t\talert(supportcandy.translations.something_wrong);\n\t\t\t\t\t\t\t\twindow.location.reload();\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tjQuery('.auth-inner-container').html(res);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\n\t\t\t\t\t\/**\n\t\t\t\t\t * Send login OTP\n\t\t\t\t\t *\n\t\t\t\t\t * @return void\n\t\t\t\t\t *\/\n\t\t\t\t\tfunction wpsc_authenticate_guest_login(el) {\n\n\t\t\t\t\t\tvar dataform = new FormData(jQuery(el).closest('form')[0]);\n\n\t\t\t\t\t\tvar email_address = dataform.get('email_address').trim();\n\t\t\t\t\t\tif ( ! email_address ) {\n\t\t\t\t\t\t\talert(supportcandy.translations.req_fields_missing);\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (!validateEmail(email_address)) {\n\t\t\t\t\t\t\talert(supportcandy.translations.incorrect_email);\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tjQuery(el).text(supportcandy.translations.please_wait);\n\t\t\t\t\t\tjQuery.ajax({\n\t\t\t\t\t\t\turl: supportcandy.ajax_url,\n\t\t\t\t\t\t\ttype: 'POST',\n\t\t\t\t\t\t\tdata: dataform,\n\t\t\t\t\t\t\tprocessData: false,\n\t\t\t\t\t\t\tcontentType: false\n\t\t\t\t\t\t}).done(function (res) {\n\t\t\t\t\t\t\tif (typeof(res) == \"object\") {\n\t\t\t\t\t\t\t\talert(supportcandy.translations.something_wrong);\n\t\t\t\t\t\t\t\twpsc_get_guest_sign_in();\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tjQuery('.auth-inner-container').html(res);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}).fail(function (res) {\n\t\t\t\t\t\t\talert(supportcandy.translations.something_wrong);\n\t\t\t\t\t\t\twindow.location.reload();\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\n\t\t\t\t\t\/**\n\t\t\t\t\t * Confirm guest login auth\n\t\t\t\t\t *\n\t\t\t\t\t * @return void\n\t\t\t\t\t *\/\n\t\t\t\t\tfunction wpsc_confirm_guest_login(el) {\n\n\t\t\t\t\t\tjQuery('.auth-inner-container').html(supportcandy.loader_html);\n\t\t\t\t\t\tvar dataform = new FormData(jQuery(el).closest('form')[0]);\n\t\t\t\t\t\tjQuery.ajax({\n\t\t\t\t\t\t\turl: supportcandy.ajax_url,\n\t\t\t\t\t\t\ttype: 'POST',\n\t\t\t\t\t\t\tdata: dataform,\n\t\t\t\t\t\t\tprocessData: false,\n\t\t\t\t\t\t\tcontentType: false\n\t\t\t\t\t\t}).done(function (res) {\n\t\t\t\t\t\t\tif (res.isSuccess == 1) {\n\t\t\t\t\t\t\t\twindow.location.reload();\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\talert(supportcandy.translations.something_wrong);\n\t\t\t\t\t\t\t\twpsc_get_guest_sign_in();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t<\/script>\n\t\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t\t\n\t\t\t<div class=\"wpsc-page-snippets\" style=\"display: none;\">\n\t\t\t\t<div class=\"wpsc-editor-attachment upload-waiting\">\n\t\t\t\t\t<div class=\"attachment-label\"><\/div>\n\t\t\t\t\t<div class=\"attachment-remove\" onclick=\"wpsc_remove_attachment(this)\">\n\t\t\t\t\t<svg aria-hidden=\"true\" class=\"svg-inline--fa fa-times fa-w-11\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 352 512\"><path fill=\"currentColor\" d=\"M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z\"><\/path><\/svg>\t\t\t\t\t<\/div>\n\t\t\t\t\t<div class=\"attachment-waiting\"><\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t\t\n\t\t\t<script type=\"text\/javascript\">\n\n\t\t\t\t\/**\n\t\t\t\t * Get ticket list\n\t\t\t\t *\/\n\t\t\t\tfunction wpsc_get_ticket_list(is_humbargar = false) {\n\n\t\t\t\t\tsupportcandy.current_section = 'ticket-list';\n\n\t\t\t\t\tif (is_humbargar) wpsc_toggle_humbargar();\n\n\t\t\t\t\tif (wpsc_is_description_text()) {\n\t\t\t\t\t\tif ( !confirm(supportcandy.translations.warning_message)){\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}  else {\n\t\t\t\t\t\t\tvar is_tinymce = (typeof tinyMCE != \"undefined\") && tinyMCE.activeEditor && !tinyMCE.activeEditor.isHidden();\n\t\t\t\t\t\t\tif (is_tinymce && tinymce.get('description')) {\n\t\t\t\t\t\t\t\tvar description = tinyMCE.get('description').setContent('');\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tvar description = jQuery('#description').val('');\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tticket_id = jQuery('#wpsc-current-ticket').val();\n\t\t\t\t\t\t\twpsc_clear_saved_draft_reply( ticket_id );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tvar id = supportcandy.current_ticket_id;\n\t\t\t\t\tif (id) {\n\t\t\t\t\t\tdelete supportcandy.current_ticket_id;\n\t\t\t\t\t\twpsc_get_individual_ticket(id);\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\twpsc_update_live_agents();\n\n\t\t\t\t\t\/\/ set flag to differenciate between ticket list and individual ticket\n\t\t\t\t\tsupportcandy.ticketListIsIndividual = false;\n\n\t\t\t\t\tjQuery('.wpsc-tickets-nav, .wpsc-humbargar-menu-item').removeClass('active');\n\t\t\t\t\tjQuery('.wpsc-tickets-nav.ticket-list, .wpsc-humbargar-menu-item.ticket-list').addClass('active');\n\t\t\t\t\tjQuery('.wpsc-humbargar-title').html(supportcandy.humbargar_titles.ticket_list);\n\n\t\t\t\t\t\/\/ set url\n\t\t\t\t\tvar url = new URL(window.location.href);\n\t\t\t\t\tvar search_params = url.searchParams;\n\t\t\t\t\tsearch_params.set('wpsc-section', 'ticket-list');\n\t\t\t\t\tsearch_params.delete('ticket-id');\n\t\t\t\t\turl.search = search_params.toString();\n\t\t\t\t\twindow.history.replaceState({}, null, url.toString());\n\n\t\t\t\t\tjQuery('.wpsc-body').html(supportcandy.loader_html);\n\n\t\t\t\t\tvar data = {\n\t\t\t\t\t\taction: 'wpsc_get_ticket_list',\n\t\t\t\t\t\t_ajax_nonce: supportcandy.nonce,\n\t\t\t\t\t\tis_frontend: supportcandy.is_frontend\n\t\t\t\t\t};\n\t\t\t\t\tsearch_params.forEach(function(value, key) {\n\t\t\t\t\t\tdata[key] = value;\n\t\t\t\t\t});\n\t\t\t\t\tif (typeof supportcandy.ticketList != 'undefined' && typeof supportcandy.ticketList.filters != 'undefined') {\n\t\t\t\t\t\tdata.filters = supportcandy.ticketList.filters;\n\t\t\t\t\t}\n\t\t\t\t\tjQuery.post(supportcandy.ajax_url, data, function (response) {\n\t\t\t\t\t\tjQuery('.wpsc-body').html(response);\n\t\t\t\t\t\twpsc_reset_responsive_style();\n\t\t\t\t\t});\n\t\t\t\t\twpsc_delete_auto_draft();\n\t\t\t\t}\n\n\t\t\t\t\/**\n\t\t\t\t * Get individual ticket\n\t\t\t\t *\/\n\t\t\t\tfunction wpsc_get_individual_ticket(id) {\n\n\t\t\t\t\tjQuery('.wpsc-tickets-nav, .wpsc-humbargar-menu-item').removeClass('active');\n\t\t\t\t\tjQuery('.wpsc-tickets-nav.ticket-list, .wpsc-humbargar-menu-item.ticket-list').addClass('active');\n\t\t\t\t\tjQuery('.wpsc-humbargar-title').html(supportcandy.humbargar_titles.ticket_list);\n\n\t\t\t\t\t\/\/ set url\n\t\t\t\t\tvar url = new URL(window.location.href);\n\t\t\t\t\tvar search_params = url.searchParams;\n\t\t\t\t\tsearch_params.set('wpsc-section', 'ticket-list');\n\t\t\t\t\tsearch_params.set('ticket-id', id);\n\t\t\t\t\turl.search = search_params.toString();\n\t\t\t\t\twindow.history.replaceState({}, null, url.toString());\n\n\t\t\t\t\tjQuery('.wpsc-body').html(supportcandy.loader_html);\n\n\t\t\t\t\t\/\/ set flag to differenciate between ticket list and individual ticket\n\t\t\t\t\tsupportcandy.ticketListIsIndividual = true;\n\n\t\t\t\t\tvar data = {\n\t\t\t\t\t\taction: 'wpsc_get_individual_ticket',\n\t\t\t\t\t\tticket_id: id,\n\t\t\t\t\t};\n\t\t\t\t\tsearch_params.forEach(function(value, key) {\n\t\t\t\t\t\tdata[key] = value;\n\t\t\t\t\t});\n\t\t\t\t\tjQuery.post(supportcandy.ajax_url, data, function (response) {\n\t\t\t\t\t\tjQuery('.wpsc-body').html(response);\n\t\t\t\t\t\twpsc_reset_responsive_style();\n\t\t\t\t\t});\n\t\t\t\t}\n\n\t\t\t\t\/**\n\t\t\t\t * Get create ticket form\n\t\t\t\t *\/\n\t\t\t\tfunction wpsc_get_ticket_form(is_humbargar = false) {\n\t\t\t\t\t\n\t\t\t\t\tsupportcandy.current_section = 'new-ticket';\n\n\t\t\t\t\tif (is_humbargar) wpsc_toggle_humbargar();\n\n\t\t\t\t\tif (wpsc_is_description_text()) {\n\t\t\t\t\t\tif ( confirm(supportcandy.translations.warning_message)){\n\t\t\t\t\t\t\tcurrent_ticket = jQuery('#wpsc-current-ticket').val();\n\t\t\t\t\t\t\twpsc_clear_saved_draft_reply( current_ticket );\n\t\t\t\t\t\t} else{\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tjQuery('.wpsc-tickets-nav, .wpsc-humbargar-menu-item').removeClass('active');\n\t\t\t\t\tjQuery('.wpsc-tickets-nav.new-ticket, .wpsc-humbargar-menu-item.new-ticket').addClass('active');\n\t\t\t\t\tjQuery('.wpsc-humbargar-title').html(supportcandy.humbargar_titles.new_ticket);\n\n\t\t\t\t\twpsc_update_live_agents();\n\n\t\t\t\t\t\/\/ set url\n\t\t\t\t\tvar url = new URL(window.location.href);\n\t\t\t\t\tvar search_params = url.searchParams;\n\t\t\t\t\tsearch_params.set('wpsc-section', 'new-ticket');\n\t\t\t\t\tsearch_params.delete('ticket-id');\n\t\t\t\t\turl.search = search_params.toString();\n\t\t\t\t\twindow.history.replaceState({}, null, url.toString());\n\n\t\t\t\t\tjQuery('.wpsc-body').html(supportcandy.loader_html);\n\n\t\t\t\t\tvar data = {\n\t\t\t\t\t\taction: 'wpsc_get_ticket_form',\n\t\t\t\t\t\t_ajax_nonce: supportcandy.nonce\n\t\t\t\t\t};\n\t\t\t\t\tsearch_params.forEach(function(value, key) {\n\t\t\t\t\t\tdata[key] = value;\n\t\t\t\t\t});\n\t\t\t\t\tjQuery.post(supportcandy.ajax_url, data, function (response) {\n\t\t\t\t\t\tjQuery('.wpsc-body').html(response);\n\t\t\t\t\t\twpsc_reset_responsive_style();\n\t\t\t\t\t});\n\t\t\t\t}\n\n\t\t\t\t\/**\n\t\t\t\t * Get agent settings\n\t\t\t\t *\/\n\t\t\t\tfunction wpsc_get_user_profile(is_humbargar = false) {\n\n\t\t\t\t\tsupportcandy.current_section = 'my-profile';\n\n\t\t\t\t\tif (is_humbargar) wpsc_toggle_humbargar();\n\n\t\t\t\t\tjQuery('.wpsc-tickets-nav, .wpsc-humbargar-menu-item').removeClass('active');\n\t\t\t\t\tjQuery('.wpsc-tickets-nav.my-profile, .wpsc-humbargar-menu-item.my-profile').addClass('active');\n\t\t\t\t\tjQuery('.wpsc-humbargar-title').html(supportcandy.humbargar_titles.my_profile);\n\n\t\t\t\t\twpsc_update_live_agents();\n\n\t\t\t\t\t\/\/ set url\n\t\t\t\t\tvar url = new URL(window.location.href);\n\t\t\t\t\tvar search_params = url.searchParams;\n\t\t\t\t\tsearch_params.set('wpsc-section', 'my-profile');\n\t\t\t\t\tsearch_params.delete('ticket-id');\n\t\t\t\t\turl.search = search_params.toString();\n\t\t\t\t\twindow.history.replaceState({}, null, url.toString());\n\n\t\t\t\t\tjQuery('.wpsc-body').html(supportcandy.loader_html);\n\n\t\t\t\t\tvar data = { action: 'wpsc_get_user_profile' };\n\t\t\t\t\tsearch_params.forEach(function(value, key) {\n\t\t\t\t\t\tdata[key] = value;\n\t\t\t\t\t});\n\t\t\t\t\tjQuery.post(supportcandy.ajax_url, data, function (response) {\n\t\t\t\t\t\tjQuery('.wpsc-body').html(response);\n\t\t\t\t\t\twpsc_reset_responsive_style();\n\t\t\t\t\t});\n\t\t\t\t}\n\n\t\t\t\t\/**\n\t\t\t\t * Get agent settings\n\t\t\t\t *\/\n\t\t\t\tfunction wpsc_get_agent_profile(is_humbargar = false) {\n\n\t\t\t\t\tsupportcandy.current_section = 'agent-profile';\n\n\t\t\t\t\tif (is_humbargar) wpsc_toggle_humbargar();\n\n\t\t\t\t\tjQuery('.wpsc-tickets-nav, .wpsc-humbargar-menu-item').removeClass('active');\n\t\t\t\t\tjQuery('.wpsc-tickets-nav.agent-profile, .wpsc-humbargar-menu-item.agent-profile').addClass('active');\n\t\t\t\t\tjQuery('.wpsc-humbargar-title').html(supportcandy.humbargar_titles.agent_profile);\n\n\t\t\t\t\twpsc_update_live_agents();\n\n\t\t\t\t\t\/\/ set url\n\t\t\t\t\tvar url = new URL(window.location.href);\n\t\t\t\t\tvar search_params = url.searchParams;\n\t\t\t\t\tsearch_params.set('wpsc-section', 'agent-profile');\n\t\t\t\t\tsearch_params.delete('ticket-id');\n\t\t\t\t\turl.search = search_params.toString();\n\t\t\t\t\twindow.history.replaceState({}, null, url.toString());\n\n\t\t\t\t\tjQuery('.wpsc-body').html(supportcandy.loader_html);\n\n\t\t\t\t\tvar data = { action: 'wpsc_get_agent_profile' };\n\t\t\t\t\tsearch_params.forEach(function(value, key) {\n\t\t\t\t\t\tdata[key] = value;\n\t\t\t\t\t});\n\t\t\t\t\tjQuery.post(supportcandy.ajax_url, data, function (response) {\n\t\t\t\t\t\tjQuery('.wpsc-body').html(response);\n\t\t\t\t\t\twpsc_reset_responsive_style();\n\t\t\t\t\t\tjQuery('.wpsc-ap-nav.general').trigger('click');\n\t\t\t\t\t});\n\t\t\t\t}\n\n\t\t\t\t\/**\n\t\t\t\t * Get agent dashboard\n\t\t\t\t *\/\n\t\t\t\tfunction wpsc_get_agent_dashboard(is_humbargar = false) {\n\n\t\t\t\t\tsupportcandy.current_section = 'dashboard';\n\n\t\t\t\t\tif (is_humbargar) {\n\t\t\t\t\t\twpsc_toggle_humbargar();\n\t\t\t\t\t}\n\n\t\t\t\t\tjQuery( '.wpsc-tickets-nav, .wpsc-humbargar-menu-item' ).removeClass( 'active' );\n\t\t\t\t\tjQuery( '.wpsc-tickets-nav.dashboard, .wpsc-humbargar-menu-item.dashboard' ).addClass( 'active' );\n\t\t\t\t\tjQuery( '.wpsc-humbargar-title' ).html( supportcandy.humbargar_titles.dashboard );\n\n\t\t\t\t\twpsc_update_live_agents();\n\n\t\t\t\t\t\/\/ set url\n\t\t\t\t\tvar url = new URL(window.location.href);\n\t\t\t\t\tvar search_params = url.searchParams;\n\t\t\t\t\tsearch_params.set('wpsc-section', 'dashboard');\n\t\t\t\t\tsearch_params.delete('ticket-id');\n\t\t\t\t\turl.search = search_params.toString();\n\t\t\t\t\twindow.history.replaceState({}, null, url.toString());\n\t\t\t\t\tjQuery( '.wpsc-body' ).html( supportcandy.loader_html );\n\n\t\t\t\t\tvar data = { action: 'wpsc_get_agent_dashboard' };\n\t\t\t\t\tsearch_params.forEach(function(value, key) {\n\t\t\t\t\t\tdata[key] = value;\n\t\t\t\t\t});\n\n\t\t\t\t\tjQuery.post(\n\t\t\t\t\t\tsupportcandy.ajax_url,\n\t\t\t\t\t\tdata,\n\t\t\t\t\t\tfunction (response) {\n\t\t\t\t\t\t\tjQuery( '.wpsc-body' ).html( response );\n\t\t\t\t\t\t\twpsc_reset_responsive_style();\n\t\t\t\t\t\t\tjQuery( '.wpsc-ap-nav.general' ).trigger( 'click' );\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\t\/**\n\t\t\t\t * Get create ticket as guest\n\t\t\t\t *\/\n\t\t\t\tfunction wpsc_get_guest_ticket_form() {\n\n\t\t\t\t\tjQuery('.wpsc-shortcode-container').html('<div class=\"wpsc-body\"><\/div>');\n\t\t\t\t\twpsc_get_ticket_form();\n\t\t\t\t}\n\n\t\t\t\t\/**\n\t\t\t\t * Update live agents\n\t\t\t\t *\/\n\t\t\t\tfunction wpsc_update_live_agents() {\n\n\t\t\t\t\tif (!supportcandy.ticketListIsIndividual) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tagent_id = jQuery(\"#wpsc-current-agent\").val();\n\t\t\t\t\tif (!agent_id) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tif (typeof supportcandy.agent_collision === \"undefined\" || !supportcandy.agent_collision) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tticket_id = jQuery(\"#wpsc-current-ticket\").val();\n\t\t\t\t\tvar data = { action: 'wpsc_check_live_agents', agent_id, ticket_id, operation: 'leave', _ajax_nonce: supportcandy.nonce };\n\t\t\t\t\tjQuery.post(\n\t\t\t\t\t\tsupportcandy.ajax_url,\n\t\t\t\t\t\tdata,\n\t\t\t\t\t\tfunction (response) {\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t<\/script>\n\t\t\t\n<\/div><\/div><\/div><\/div><\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"footnotes":""},"class_list":["post-3560","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u062a\u06cc\u06a9\u062a - \u0627\u062f\u0648\u0628\u0627<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/edubateam.com\/fa\/ticket\/\" \/>\n<meta property=\"og:locale\" content=\"fa_IR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u062a\u06cc\u06a9\u062a - \u0627\u062f\u0648\u0628\u0627\" \/>\n<meta property=\"og:url\" content=\"https:\/\/edubateam.com\/fa\/ticket\/\" \/>\n<meta property=\"og:site_name\" content=\"\u0627\u062f\u0648\u0628\u0627\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/edubateam2021\/\" \/>\n<meta property=\"article:modified_time\" content=\"2025-11-21T14:33:10+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u0632\u0645\u0627\u0646 \u062a\u0642\u0631\u06cc\u0628\u06cc \u0628\u0631\u0627\u06cc \u062e\u0648\u0627\u0646\u062f\u0646\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 \u062f\u0642\u06cc\u0642\u0647\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/edubateam.com\\\/fa\\\/ticket\\\/\",\"url\":\"https:\\\/\\\/edubateam.com\\\/fa\\\/ticket\\\/\",\"name\":\"\u062a\u06cc\u06a9\u062a - \u0627\u062f\u0648\u0628\u0627\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/edubateam.com\\\/fa\\\/#website\"},\"datePublished\":\"2025-11-21T10:06:44+00:00\",\"dateModified\":\"2025-11-21T14:33:10+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/edubateam.com\\\/fa\\\/ticket\\\/#breadcrumb\"},\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/edubateam.com\\\/fa\\\/ticket\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/edubateam.com\\\/fa\\\/ticket\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/edubateam.com\\\/fa\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u062a\u06cc\u06a9\u062a\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/edubateam.com\\\/fa\\\/#website\",\"url\":\"https:\\\/\\\/edubateam.com\\\/fa\\\/\",\"name\":\"\u0627\u062f\u0648\u0628\u0627\",\"description\":\"\u0641\u0631\u064a\u0642 \u0627\u062f\u0648\u0628\u0627 \u0627\u0644\u062a\u0639\u0644\u064a\u0645\u064a \u0644\u0644\u062f\u0631\u0627\u0633\u0629 \u0641\u064a \u0627\u0644\u062c\u0627\u0645\u0639\u0627\u062a \u0627\u0644\u0627\u064a\u0631\u0627\u0646\u064a\u0629\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/edubateam.com\\\/fa\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fa-IR\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u062a\u06cc\u06a9\u062a - \u0627\u062f\u0648\u0628\u0627","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/edubateam.com\/fa\/ticket\/","og_locale":"fa_IR","og_type":"article","og_title":"\u062a\u06cc\u06a9\u062a - \u0627\u062f\u0648\u0628\u0627","og_url":"https:\/\/edubateam.com\/fa\/ticket\/","og_site_name":"\u0627\u062f\u0648\u0628\u0627","article_publisher":"https:\/\/www.facebook.com\/edubateam2021\/","article_modified_time":"2025-11-21T14:33:10+00:00","twitter_card":"summary_large_image","twitter_misc":{"\u0632\u0645\u0627\u0646 \u062a\u0642\u0631\u06cc\u0628\u06cc \u0628\u0631\u0627\u06cc \u062e\u0648\u0627\u0646\u062f\u0646":"2 \u062f\u0642\u06cc\u0642\u0647"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/edubateam.com\/fa\/ticket\/","url":"https:\/\/edubateam.com\/fa\/ticket\/","name":"\u062a\u06cc\u06a9\u062a - \u0627\u062f\u0648\u0628\u0627","isPartOf":{"@id":"https:\/\/edubateam.com\/fa\/#website"},"datePublished":"2025-11-21T10:06:44+00:00","dateModified":"2025-11-21T14:33:10+00:00","breadcrumb":{"@id":"https:\/\/edubateam.com\/fa\/ticket\/#breadcrumb"},"inLanguage":"fa-IR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/edubateam.com\/fa\/ticket\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/edubateam.com\/fa\/ticket\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/edubateam.com\/fa\/"},{"@type":"ListItem","position":2,"name":"\u062a\u06cc\u06a9\u062a"}]},{"@type":"WebSite","@id":"https:\/\/edubateam.com\/fa\/#website","url":"https:\/\/edubateam.com\/fa\/","name":"\u0627\u062f\u0648\u0628\u0627","description":"\u0641\u0631\u064a\u0642 \u0627\u062f\u0648\u0628\u0627 \u0627\u0644\u062a\u0639\u0644\u064a\u0645\u064a \u0644\u0644\u062f\u0631\u0627\u0633\u0629 \u0641\u064a \u0627\u0644\u062c\u0627\u0645\u0639\u0627\u062a \u0627\u0644\u0627\u064a\u0631\u0627\u0646\u064a\u0629","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/edubateam.com\/fa\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fa-IR"}]}},"_links":{"self":[{"href":"https:\/\/edubateam.com\/fa\/wp-json\/wp\/v2\/pages\/3560","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/edubateam.com\/fa\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/edubateam.com\/fa\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/edubateam.com\/fa\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/edubateam.com\/fa\/wp-json\/wp\/v2\/comments?post=3560"}],"version-history":[{"count":1,"href":"https:\/\/edubateam.com\/fa\/wp-json\/wp\/v2\/pages\/3560\/revisions"}],"predecessor-version":[{"id":3575,"href":"https:\/\/edubateam.com\/fa\/wp-json\/wp\/v2\/pages\/3560\/revisions\/3575"}],"wp:attachment":[{"href":"https:\/\/edubateam.com\/fa\/wp-json\/wp\/v2\/media?parent=3560"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}