235 lines
20 KiB
Plaintext
235 lines
20 KiB
Plaintext
@model AccountManagement.Application.Contracts.Ticket.EditTicket
|
|
|
|
@{
|
|
string adminVersion = _0_Framework.Application.Version.AdminVersion;
|
|
}
|
|
|
|
<div class="modal-content messageContainer">
|
|
<div class="modal-header d-block text-center">
|
|
@* <button type="button" class="btn-close position-absolute text-start" data-bs-dismiss="modal" aria-label="Close"></button> *@
|
|
<button type="button" class="btn-close position-absolute text-start" id="cancelSendTicket"></button>
|
|
<h5 class="modal-title" id="ticketModalLabel">جزئیات @Model.TicketNumber</h5>
|
|
</div>
|
|
|
|
<div class="modal-body py-0">
|
|
|
|
<div class="container-fluid">
|
|
<div class="row p-0">
|
|
<div class="col-12 p-0">
|
|
<div class="infoTicketHead d-flex align-items-center justify-content-between">
|
|
<div class="d-flex align-items-center">
|
|
<div class="img-bor1">
|
|
<img src="~/assetsclient/images/user_alt_fill.png" alt="Avatar"/>
|
|
</div>
|
|
<div class="">
|
|
<div class="textTitle1">@Model.ContractingPartyName</div>
|
|
<div class="textTitle2">@Model.WorkshopName</div>
|
|
</div>
|
|
</div>
|
|
<div class="d-flex align-items-center gap-1">
|
|
<button type="button" class="disable-Erja btn-ticket-task position-relative d-flex align-items-center justify-content-center @(Model.HasTask || Model.Status == "بسته شده" ? "disable" : "")" onclick=@(!Model.HasTask ? $"CreateTaskTicket({Model.Id})" : "") style="color: #283868;border-radius: 60px;width: 48px !important;display: flex !important;height: 48px;margin: 0;">
|
|
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
<g id="SVGRepo_bgCarrier" stroke-width="0"></g>
|
|
<g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g>
|
|
<g id="SVGRepo_iconCarrier">
|
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M3.46447 3.46447C2 4.92893 2 7.28595 2 12C2 16.714 2 19.0711 3.46447 20.5355C4.92893 22 7.28595 22 12 22C16.714 22 19.0711 22 20.5355 20.5355C22 19.0711 22 16.714 22 12C22 7.28595 22 4.92893 20.5355 3.46447C19.0711 2 16.714 2 12 2C7.28595 2 4.92893 2 3.46447 3.46447ZM17 14.75C17.4142 14.75 17.75 15.0858 17.75 15.5C17.75 15.9142 17.4142 16.25 17 16.25H12.0715L13.4801 17.4238C13.7983 17.689 13.8413 18.1619 13.5762 18.4801C13.311 18.7983 12.8381 18.8413 12.5199 18.5762L9.51986 16.0762C9.34887 15.9337 9.25 15.7226 9.25 15.5C9.25 15.2774 9.34887 15.0663 9.51986 14.9238L12.5199 12.4238C12.8381 12.1587 13.311 12.2017 13.5762 12.5199C13.8413 12.8381 13.7983 13.311 13.4801 13.5762L12.0715 14.75H17ZM17.75 8.5C17.75 8.08579 17.4142 7.75 17 7.75H12.0715L13.4801 6.57617C13.7983 6.31099 13.8413 5.83807 13.5762 5.51986C13.311 5.20165 12.8381 5.15866 12.5199 5.42383L9.51986 7.92383C9.34887 8.06633 9.25 8.27741 9.25 8.5C9.25 8.72258 9.34887 8.93367 9.51986 9.07617L12.5199 11.5762C12.8381 11.8413 13.311 11.7983 13.5762 11.4801C13.8413 11.1619 13.7983 10.689 13.4801 10.4238L12.0715 9.25H17C17.4142 9.25 17.75 8.91421 17.75 8.5ZM7.75 6C7.75 5.58579 7.41421 5.25 7 5.25C6.58579 5.25 6.25 5.58579 6.25 6V18C6.25 18.4142 6.58579 18.75 7 18.75C7.41421 18.75 7.75 18.4142 7.75 18V6Z" fill="#5B5B5B"></path>
|
|
</g>
|
|
</svg>
|
|
<span class="mx-1 d-md-none d-flex">ارجاع</span>
|
|
</button>
|
|
<div class="img-bor2">
|
|
<svg width="24" height="24" viewBox="0 0 16 15" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
<path d="M2.19671 0.621211L2.28367 0.534255C2.67419 0.143731 3.30736 0.14373 3.69788 0.534254L5.86261 2.69899C6.25314 3.08951 6.25314 3.72268 5.86261 4.1132L4.33331 5.64251C4.06589 5.90993 3.99959 6.31847 4.16872 6.65673C5.14645 8.61219 6.73205 10.1978 8.6875 11.1755C9.02577 11.3446 9.43431 11.2783 9.70173 11.0109L11.231 9.48162C11.6216 9.0911 12.2547 9.0911 12.6452 9.48162L14.81 11.6464C15.2005 12.0369 15.2005 12.67 14.81 13.0606L14.723 13.1475C12.6117 15.2589 9.26911 15.4964 6.88039 13.7049L6.51408 13.4302C4.77055 12.1225 3.22173 10.5737 1.91408 8.83016L1.63935 8.46385C-0.152188 6.07513 0.0853593 2.73256 2.19671 0.621211Z" fill="#5B5B5B"/>
|
|
</svg>
|
|
</div>
|
|
@* @Model.Sender.Mobile *@
|
|
@if (Model.Status != "بسته شده")
|
|
{
|
|
<button type="button" onclick="handleCloseTicket(@Model.Id)" class="img-bor3">
|
|
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M2.22836 5.85195C2 6.40326 2 7.10218 2 8.5V9.25C2 9.66421 2.33579 10 2.75 10H3C4.10457 10 5 10.8954 5 12C5 13.1046 4.10457 14 3 14H2.75C2.33579 14 2 14.3358 2 14.75V15.5C2 16.8978 2 17.5967 2.22836 18.1481C2.53284 18.8831 3.11687 19.4672 3.85195 19.7716C4.40326 20 5.10218 20 6.5 20H17.5C18.8978 20 19.5967 20 20.1481 19.7716C20.8831 19.4672 21.4672 18.8831 21.7716 18.1481C22 17.5967 22 16.8978 22 15.5V14.75C22 14.3358 21.6642 14 21.25 14H21C19.8954 14 19 13.1046 19 12C19 10.8954 19.8954 10 21 10H21.25C21.6642 10 22 9.66421 22 9.25V8.5C22 7.10218 22 6.40326 21.7716 5.85195C21.4672 5.11687 20.8831 4.53284 20.1481 4.22836C19.5967 4 18.8978 4 17.5 4H6.5C5.10218 4 4.40326 4 3.85195 4.22836C3.11687 4.53284 2.53284 5.11687 2.22836 5.85195ZM12 16.5C14.4853 16.5 16.5 14.4853 16.5 12C16.5 9.51472 14.4853 7.5 12 7.5C9.51472 7.5 7.5 9.51472 7.5 12C7.5 14.4853 9.51472 16.5 12 16.5ZM11.2929 12L9.64645 13.6464C9.45118 13.8417 9.45118 14.1583 9.64645 14.3536C9.84171 14.5488 10.1583 14.5488 10.3536 14.3536L12 12.7071L13.6464 14.3536C13.8417 14.5488 14.1583 14.5488 14.3536 14.3536C14.5488 14.1583 14.5488 13.8417 14.3536 13.6464L12.7071 12L14.3536 10.3536C14.5488 10.1583 14.5488 9.84171 14.3536 9.64645C14.1583 9.45118 13.8417 9.45118 13.6464 9.64645L12 11.2929L10.3536 9.64645C10.1583 9.45118 9.84171 9.45118 9.64645 9.64645C9.45118 9.84171 9.45118 10.1583 9.64645 10.3536L11.2929 12Z" fill="#5B5B5B"/>
|
|
</svg>
|
|
</button>
|
|
}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-12 p-0 col-lg-12">
|
|
|
|
|
|
<div class="ticket-message-container" id="messageContent">
|
|
</div>
|
|
|
|
@* @if ()
|
|
{ *@
|
|
<div class="footer-message-container my-2 @(Model.Status != "بسته شده" && !Model.IsDeleted ? "" : "d-none")">
|
|
<div class="container">
|
|
<div class="row align-items-center">
|
|
|
|
<div class="col-3 col-md-2 p-0">
|
|
<div class="message-input-div">
|
|
<button type="button" class="btn-sendTi" id="saveAdminResponseTicket">
|
|
<svg width="21" height="21" viewBox="0 0 18 21" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
<path d="M2.50665 18.8657C2.4129 18.8973 2.31352 18.8989 2.21906 18.8703C2.1246 18.8416 2.03857 18.7838 1.9701 18.703C1.90162 18.6222 1.85325 18.5214 1.83011 18.4112C1.80697 18.3011 1.80993 18.1857 1.83867 18.0773L3.59301 11.4547H9.73609C9.87958 11.4547 10.0172 11.3885 10.1187 11.2707C10.2201 11.1528 10.2771 10.993 10.2771 10.8264C10.2771 10.6597 10.2201 10.4999 10.1187 10.3821C10.0172 10.2642 9.87958 10.198 9.73609 10.198H3.59301L1.83867 3.5754C1.8101 3.46709 1.80727 3.35183 1.83049 3.24181C1.8537 3.13179 1.90209 3.0311 1.97054 2.9504C2.03899 2.86971 2.12495 2.812 2.21932 2.78339C2.31369 2.75478 2.41297 2.75634 2.50665 2.78789C7.2784 4.39951 11.7782 6.94551 15.8121 10.3162C15.8818 10.3743 15.9386 10.451 15.9777 10.5397C16.0169 10.6284 16.0373 10.7267 16.0373 10.8264C16.0373 10.9261 16.0169 11.0243 15.9777 11.113C15.9386 11.2018 15.8818 11.2784 15.8121 11.3366C11.7783 14.7075 7.27846 17.2538 2.50665 18.8657Z" fill="white" />
|
|
</svg>
|
|
<div class="spinner-loading loading" style="display: none">
|
|
<span class="spinner-border spinner-border-sm loading text-white" role="status" aria-hidden="true"></span>
|
|
</div>
|
|
</button>
|
|
<button type="button" class="btn-voice-file-Ti record_btn" id="upload-voice-ticket-messageAdmin">
|
|
<svg width="21" height="21" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
<rect x="6" y="2.125" width="4" height="7.79167" rx="2" stroke="white" stroke-width="1.2" stroke-linejoin="round" />
|
|
<path d="M3.4 7.79199C3.4 9.06695 3.87634 10.2965 4.73465 11.2084C5.59412 12.1216 6.76786 12.642 8 12.642C9.23214 12.642 10.4059 12.1216 11.2653 11.2084C12.1237 10.2965 12.6 9.06695 12.6 7.79199" stroke="white" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" />
|
|
<path d="M8 14.8747V13.458" stroke="white" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" />
|
|
</svg>
|
|
<div class="spinner-loading loading" style="display: none">
|
|
<span class="spinner-border spinner-border-sm loading text-white" role="status" aria-hidden="true"></span>
|
|
</div>
|
|
<input type="file" class="d-none" id="Command_Voice">
|
|
</button>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-9 col-md-10 p-0">
|
|
|
|
<div class="upload-voice-containerTi align-items-center justify-content-center" style="display: none">
|
|
<div id="upload-voice-recording" class="text-center">
|
|
<svg width="30" height="30" viewBox="0 0 63 62" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
<path d="M29.94 42.8076V42.5805L29.7139 42.5588C25.9145 42.1942 22.709 40.6562 20.4538 38.2294C18.1993 35.8033 16.8813 32.4746 16.8813 28.5034V24.6695C16.8813 23.7829 17.5993 23.0901 18.4997 23.0901C19.4 23.0901 20.118 23.7829 20.118 24.6695V28.3672C20.118 31.7435 21.2628 34.5597 23.2701 36.532C25.2769 38.5039 28.1261 39.6129 31.4999 39.6129C34.8737 39.6129 37.7229 38.5039 39.7298 36.532C41.7371 34.5597 42.8819 31.7435 42.8819 28.3672V24.6695C42.8819 23.7863 43.6159 23.0901 44.5197 23.0901C45.4165 23.0901 46.1185 23.7796 46.1185 24.6695V28.5034C46.1185 32.4746 44.8006 35.8033 42.5461 38.2294C40.2909 40.6562 37.0853 42.1942 33.286 42.5588L33.0599 42.5805V42.8076V46.7583V47.0083H33.3099H40.4522C41.3524 47.0083 42.09 47.7205 42.09 48.6071C42.09 49.476 41.3507 50.206 40.4522 50.206H22.5476C21.6492 50.206 20.9099 49.476 20.9099 48.6071C20.9099 47.7205 21.6474 47.0083 22.5476 47.0083H29.69H29.94V46.7583V42.8076ZM38.1198 28.0558C38.1198 32.2488 35.3021 35.0844 31.4999 35.0844C27.6977 35.0844 24.88 32.2488 24.88 28.0558V14.9388C24.88 10.7457 27.6977 7.91016 31.4999 7.91016C35.3021 7.91016 38.1198 10.7457 38.1198 14.9388V28.0558Z" fill="url(#paint0_linear_1349_16648)" stroke="url(#paint1_linear_1349_16648)" stroke-width="0.5" />
|
|
<g filter="url(#filter0_bd_1349_16648)">
|
|
<circle cx="31.5" cy="31" r="13" fill="#2AB8B8" fill-opacity="0.6" shape-rendering="crispEdges" />
|
|
<circle cx="31.5" cy="31" r="12.65" stroke="url(#paint2_linear_1349_16648)" stroke-width="0.7" shape-rendering="crispEdges" />
|
|
</g>
|
|
<path d="M30.63 36.1383C30.9524 36.1383 31.1933 35.8829 31.1933 35.575V25.9867C31.1933 25.6716 30.9452 25.4234 30.63 25.4234C30.3149 25.4234 30.0667 25.6716 30.0667 25.9867V35.575C30.0667 35.8837 30.3141 36.1383 30.63 36.1383ZM34.1048 35.0139C34.4264 35.0139 34.6681 34.7649 34.6681 34.4506V27.1111C34.6681 26.796 34.42 26.5478 34.1048 26.5478C33.7833 26.5478 33.5415 26.7968 33.5415 27.1111V34.4506C33.5415 34.7649 33.7833 35.0139 34.1048 35.0139ZM28.8898 34.206C29.2098 34.206 29.4587 33.9586 29.4587 33.6426V27.9191C29.4587 27.6032 29.2098 27.3558 28.8898 27.3558C28.573 27.3558 28.3321 27.6056 28.3321 27.9191V33.6426C28.3321 33.9562 28.573 34.206 28.8898 34.206ZM32.3703 33.494C32.6878 33.494 32.9279 33.2378 32.9279 32.9307V28.631C32.9279 28.3175 32.687 28.0677 32.3703 28.0677C32.0479 28.0677 31.8069 28.3231 31.8069 28.631V32.9307C31.8069 33.2386 32.0479 33.494 32.3703 33.494ZM35.8394 32.5335C36.161 32.5335 36.4027 32.2845 36.4027 31.9702V29.5915C36.4027 29.2772 36.161 29.0282 35.8394 29.0282C35.5178 29.0282 35.2761 29.2772 35.2761 29.5915V31.9702C35.2761 32.2853 35.5243 32.5335 35.8394 32.5335ZM27.1552 32.0872C27.4768 32.0872 27.7185 31.8382 27.7185 31.5239V30.0379C27.7185 29.7243 27.4719 29.4689 27.1552 29.4689C26.832 29.4689 26.5919 29.7251 26.5919 30.0379V31.5239C26.5919 31.8382 26.8336 32.0872 27.1552 32.0872Z" fill="url(#paint3_linear_1349_16648)" fill-opacity="0.8" stroke="url(#paint4_linear_1349_16648)" stroke-width="0.2" />
|
|
<defs>
|
|
<filter id="filter0_bd_1349_16648" x="10.5" y="10" width="42" height="42" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
<feFlood flood-opacity="0" result="BackgroundImageFix" />
|
|
<feGaussianBlur in="BackgroundImageFix" stdDeviation="3" />
|
|
<feComposite in2="SourceAlpha" operator="in" result="effect1_backgroundBlur_1349_16648" />
|
|
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha" />
|
|
<feOffset />
|
|
<feGaussianBlur stdDeviation="4" />
|
|
<feComposite in2="hardAlpha" operator="out" />
|
|
<feColorMatrix type="matrix" values="0 0 0 0 0.164706 0 0 0 0 0.721569 0 0 0 0 0.721569 0 0 0 0.64 0" />
|
|
<feBlend mode="normal" in2="effect1_backgroundBlur_1349_16648" result="effect2_dropShadow_1349_16648" />
|
|
<feBlend mode="normal" in="SourceGraphic" in2="effect2_dropShadow_1349_16648" result="shape" />
|
|
</filter>
|
|
<linearGradient id="paint0_linear_1349_16648" x1="16.4428" y1="5.31527" x2="57.5413" y2="18.8131" gradientUnits="userSpaceOnUse">
|
|
<stop stop-color="#329E7A" />
|
|
<stop offset="1" stop-color="#25A2A2" />
|
|
</linearGradient>
|
|
<linearGradient id="paint1_linear_1349_16648" x1="32.739" y1="7.66016" x2="31.3903" y2="50.4134" gradientUnits="userSpaceOnUse">
|
|
<stop stop-color="#CFFFFF" />
|
|
<stop offset="1" stop-color="#CFFFFF" stop-opacity="0.5" />
|
|
</linearGradient>
|
|
<linearGradient id="paint2_linear_1349_16648" x1="32.5833" y1="18" x2="32.0137" y2="43.9875" gradientUnits="userSpaceOnUse">
|
|
<stop stop-color="#CFFFFF" />
|
|
<stop offset="1" stop-color="#CFFFFF" stop-opacity="0.5" />
|
|
</linearGradient>
|
|
<linearGradient id="paint3_linear_1349_16648" x1="26.5911" y1="24.4548" x2="41.2864" y2="29.531" gradientUnits="userSpaceOnUse">
|
|
<stop stop-color="#FFFAFA" />
|
|
<stop offset="1" stop-color="#FFFAFA" stop-opacity="0.4" />
|
|
</linearGradient>
|
|
<linearGradient id="paint4_linear_1349_16648" x1="31.4973" y1="36.0383" x2="31.7227" y2="25.5283" gradientUnits="userSpaceOnUse">
|
|
<stop stop-color="white" stop-opacity="0.8" />
|
|
<stop offset="1" stop-color="white" stop-opacity="0.2" />
|
|
</linearGradient>
|
|
</defs>
|
|
</svg>
|
|
</div>
|
|
|
|
<div id="waveArea" class="align-items-center" style="width: 100%; padding: 5px;" style="display: none;">
|
|
<input type="file" class="d-none" id="Command_Voice">
|
|
@* <audio controls id="playAudio" style="display: none;">
|
|
<source src="" type="audio/ogg" >
|
|
Your browser does not support the audio element.
|
|
</audio> *@
|
|
<div class="audio-player">
|
|
<button type="button" id="removeVoice" class="bg-transparent">
|
|
<svg width="22" height="22" viewBox="0 0 9 9" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
<path d="M2.82471 6.77522L6.81477 2.78516M2.82471 2.78516L6.81477 6.77522" stroke="#FF5555" stroke-linecap="round" stroke-linejoin="round" />
|
|
</svg>
|
|
</button>
|
|
<div id="waveform" class="waveform"></div>
|
|
<button type="button" id="play-pause" class="player-btn play"></button>
|
|
</div>
|
|
<div class="d-flex justify-content-between align-items-center mx-1 d-none" id="upload-container-voice">
|
|
<div class="upload-box-voiceTi empty" id="msg_box_ticket_messageAdmin" style="display: none">
|
|
<div class="spinner-loading loading" style="display: none">
|
|
<span class="spinner-border spinner-border-sm loading text-white" role="status" aria-hidden="true"></span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="position-relative" id="documentFilesDiv">
|
|
<div id="upload-container-docTi">
|
|
</div>
|
|
|
|
<textarea id="Response" class="form-control" rows="2" style="resize: none;"> </textarea>
|
|
<button class="upload-file-new bg-transparent" id="upload-doc-msg" type="submit">
|
|
<svg width="26" height="26" viewBox="0 0 23 23" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
<path d="M2.875 7.70313C2.875 7.00534 2.875 6.65645 2.96112 6.37256C3.15502 5.73335 3.65523 5.23314 4.29443 5.03924C4.57833 4.95312 4.92722 4.95312 5.625 4.95312H7.9783C8.77084 4.95312 9.16711 4.95312 9.52561 5.09698C9.88412 5.24083 10.1705 5.51474 10.7432 6.06256L12.4583 7.70313V10.4531H2.875V7.70313V7.70313Z" fill="#538AF6" fill-opacity="0.25" />
|
|
<path d="M2.875 10.9031C2.875 9.78302 2.875 9.22297 3.09299 8.79514C3.28473 8.41882 3.59069 8.11286 3.96702 7.92111C4.39484 7.70312 4.95489 7.70312 6.075 7.70312H16.925C18.0451 7.70312 18.6052 7.70312 19.033 7.92111C19.4093 8.11286 19.7153 8.41882 19.907 8.79514C20.125 9.22297 20.125 9.78302 20.125 10.9031V14.5865C20.125 15.7066 20.125 16.2666 19.907 16.6944C19.7153 17.0708 19.4093 17.3767 19.033 17.5685C18.6052 17.7865 18.0451 17.7865 16.925 17.7865H6.075C4.95489 17.7865 4.39484 17.7865 3.96702 17.5685C3.59069 17.3767 3.28473 17.0708 3.09299 16.6944C2.875 16.2666 2.875 15.7066 2.875 14.5865V10.9031Z" fill="#538AF6" />
|
|
</svg>
|
|
</button>
|
|
|
|
<input type="file" class="d-none" id="Command_Document1" accept=".pdf,.doc,.docx,.txt, image/*">
|
|
<input type="file" class="d-none" id="Command_Document2" accept=".pdf,.doc,.docx,.txt, image/*">
|
|
<input type="file" class="d-none" id="Command_Document3" accept=".pdf,.doc,.docx,.txt, image/*">
|
|
<input type="file" class="d-none" id="Command_Document4" accept=".pdf,.doc,.docx,.txt, image/*">
|
|
|
|
</div>
|
|
</div>
|
|
<div id="fileItems" style="display: none"></div>
|
|
<div id="voiceItem" style="display: none"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@* } *@
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
@* <div class="modal-footer justify-content-center">
|
|
<div class="row">
|
|
<div class="col-12">
|
|
<button type="button" class="btn-cancel2" data-bs-dismiss="modal">انصراف</button>
|
|
</div>
|
|
</div>
|
|
</div> *@
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<script src="~/AssetsAdminNew/libs/wavesurfer/wavesurfer.min.js"></script>
|
|
|
|
<script>
|
|
|
|
var antiForgeryToken = $('@Html.AntiForgeryToken()').val();
|
|
var sendMsgTicketAjax = '@Url.Page("/Company/Ticket/Index", "SaveAdminResponseTicket")';
|
|
var loadMessagesAjax = '@Url.Page("/Company/Ticket/Index", "ShowDetailTicketMessagesByAdminAjax")';
|
|
var uploadFileTicketAjax = '@Url.Page("/Company/Ticket/Index", "UploadFile")';
|
|
var deleteFileTicketAjax = '@Url.Page("/Company/Ticket/Index", "DeleteFile")';
|
|
var deleteAllFilesTicketAjax = '@Url.Page("/Company/Ticket/Index", "RemoveAllTempFiles")';
|
|
var TicketId = Number(@Model.Id);
|
|
|
|
|
|
var IsActiveAction = true;
|
|
var hideActionTaskForTicketMessage = false;
|
|
var urlAjaxAcceptPendingAdminResponse = '@Url.Page("/Company/Ticket/Index", "AcceptPendingAdminResponse")';
|
|
var urlAjaxRejectPendingAdminResponse = '@Url.Page("/Company/Ticket/Index", "RejectPendingAdminResponse")';
|
|
var urlAjaxEditPendingAdminResponse = '@Url.Page("/Company/Ticket/Index", "EditPendingAdminResponse")';
|
|
var urlAjaxCloseTicket = '@Url.Page("/Company/Ticket/Index", "CloseTicket")';
|
|
|
|
var HasTicketAccessUrl = "@Url.Page("./Index", "HasTicketAccess")";
|
|
|
|
</script>
|
|
<script src="~/assetsadminnew/ticket/js/detailTicketModal.js?ver=@adminVersion"></script> |