53 lines
2.2 KiB
Plaintext
53 lines
2.2 KiB
Plaintext
@model AccountManagement.Application.Contracts.Media.MediaViewModel
|
|
|
|
@{
|
|
string adminVersion = _0_Framework.Application.Version.AdminVersion;
|
|
<link href="~/AssetsAdminNew/employeesdocument/css/ModalPrintSingleUploadDocument.css?ver=@adminVersion" rel="stylesheet" />
|
|
}
|
|
|
|
<div class="modal-content">
|
|
<div class="modal-header pb-0 d-flex align-items-center justify-content-center text-center">
|
|
<button type="button" class="btn-close position-absolute text-start" data-bs-dismiss="modal" aria-label="Close"></button>
|
|
<div>
|
|
<p class="m-0 pdHeaderTitle1"><span class="">مدارک پرسنل </span> <span id="EmployeeFullNameModalSinglePrint"></span></p>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
<div class="image-show">
|
|
@if (Model.Path != null && !string.IsNullOrWhiteSpace(Model.Path))
|
|
{
|
|
<img id="EmployeePicture" src="@Url.Page("./EmployeeList", "ShowPicture", new { filePath = @Model.Path })" class="preview-image isTrue"/>
|
|
}
|
|
else
|
|
{
|
|
<img id="EmployeePicture" src="~/assetsclient/images/pd-image.png" class="preview-image"/>
|
|
}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="modal-footer d-block">
|
|
<div class="container m-auto">
|
|
<div class="row width-btn">
|
|
<div class="col-6 text-end">
|
|
<button type="button" class="btn-cancel2 d-flex justify-content-center w-100" data-bs-dismiss="modal">انصراف</button>
|
|
</div>
|
|
<div class="col-6 text-start">
|
|
<button type="button" class="btn-register d-flex justify-content-center w-100 position-relative" onclick="openModalPrint(@Model.Id)">
|
|
پرینت
|
|
<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>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<script src="~/assetsclient/js/site.js?ver=@adminVersion"></script>
|
|
<script>
|
|
var antiForgeryToken = $(`@Html.AntiForgeryToken()`).val();
|
|
</script>
|
|
<script src="~/AssetsAdminNew/employeesdocument/js/ModalPrintSingleUploadDocument.js?ver=@adminVersion"></script> |