71 lines
2.4 KiB
Plaintext
71 lines
2.4 KiB
Plaintext
@model string
|
|
@using _0_Framework.Application
|
|
@{
|
|
string clientVersion = _0_Framework.Application.Version.StyleVersion;
|
|
<link href="~/assetsclient/pages/RollCall/css/ConfirmEmployeeTimeChangeModal.css?ver=@clientVersion" rel="stylesheet" />
|
|
}
|
|
|
|
|
|
<div class="modal-content" style="height: auto;" id="modalConfirm">
|
|
|
|
<div class="modal-header d-block text-center position-relative">
|
|
<button type="button" class="btn-close position-absolute text-start closeConfirmModal"></button>
|
|
<div class="modal-title d-flex flex-column justify-content-center " id="morakhasiEstehghaghiModalLabel" style="font-size: 19px;">
|
|
<div class="header-title"> تغییرات ساعت کاری پرسنل</div>
|
|
<div class="header-title">@Model</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="modal-body">
|
|
<div class="container-fluid">
|
|
<div class="row">
|
|
<div class="card">
|
|
|
|
<div class="card-content">
|
|
<h3 class="card-title">از تاریخ ذیل تغییرات اعمال میگردد</h3>
|
|
<div class="flex-container d-flex justify-content-center align-items-center">
|
|
<input type="text" class="form-control m-0 py-0 dateModal" name="Command.FromDate"
|
|
style="width: 120px; height: 36px; text-align: center; font-size: 16px; color: #5C5C5C; font-weight: 500; border: 2px solid #C6C6C6; direction: ltr">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="modal-footer d-flex gap-2 justify-content-center">
|
|
<button class="btn-quit flex-grow-1 closeConfirmModal">انصراف</button>
|
|
<button class="btn-confirm flex-grow-1 position-relative" onclick="postChangeEditEmployee()">
|
|
<span class="text-nowrap">تایید</span>
|
|
<div class="spinner-loading loading" id="ConfirmRecalculationLoading" style="display: none;">
|
|
<span class="spinner-border spinner-border-sm loading text-white" role="status" aria-hidden="true"></span>
|
|
</div>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
|
|
<script>
|
|
var antiForgeryToken = $('@Html.AntiForgeryToken()').val();
|
|
var dateNow = `@DateTime.Now.ToFarsi()`;
|
|
|
|
$(document).ready(function () {
|
|
|
|
new Cleave('.dateModal', {
|
|
delimiters: ['/', '/'],
|
|
blocks: [4, 2, 2],
|
|
numericOnly: true
|
|
});
|
|
|
|
// new Cleave('.dateModal', {
|
|
// date: true,
|
|
// datePattern: ['Y', 'm', 'd']
|
|
// });
|
|
|
|
$('.dateModal').val(dateNow);
|
|
|
|
$(".closeConfirmModal").on("click", function () {
|
|
$('#ConfirmModal').hide();
|
|
});
|
|
});
|
|
|
|
</script> |