791 lines
74 KiB
Plaintext
791 lines
74 KiB
Plaintext
@using _0_Framework.Application
|
||
@using _0_Framework.Domain.CustomizeCheckoutShared.Enums
|
||
@using Microsoft.AspNetCore.Mvc.TagHelpers
|
||
@model CompanyManagment.App.Contracts.CustomizeCheckout.CustomizeCheckoutViewModel
|
||
|
||
<link href="~/assetsclient/pages/checkouts/css/printonerollcall.css" rel="stylesheet" />
|
||
@{
|
||
string clientVersion = _0_Framework.Application.Version.StyleVersion;
|
||
int indexTable = 0;
|
||
int indexSalaryAid = 0;
|
||
int indexLoan = 0;
|
||
int indexReward = 0;
|
||
|
||
<style>
|
||
.trTable:nth-child(even) {
|
||
background-color: #f1f1f1 !important;
|
||
}
|
||
|
||
.table-container {
|
||
display: flex;
|
||
width: 100%;
|
||
justify-content: space-between;
|
||
}
|
||
|
||
.table-container table {
|
||
flex: 1; /*Ensures equal width */
|
||
}
|
||
|
||
table {
|
||
width: 100%;
|
||
max-width: 100%;
|
||
table-layout: auto;
|
||
}
|
||
|
||
@@media print {
|
||
#printSize {
|
||
width: 20cm !important;
|
||
margin: 3mm 0 0 4mm !important;
|
||
}
|
||
}
|
||
</style>
|
||
}
|
||
|
||
<div class="modal-header" style="border-bottom: unset">
|
||
<button type="button" id="closingOnePrint" class="btn-close position-absolute text-start" data-bs-dismiss="modal" aria-label="Close" style="margin-top: 15px;"></button>
|
||
</div>
|
||
|
||
<form asp-page="./Index" asp-page-handler="Details"
|
||
method="post"
|
||
data-ajax="true"
|
||
data-callback=""
|
||
data-action="Refresh"
|
||
enctype="multipart/form-data">
|
||
<div class="modal-body py-0 print" id="printThis">
|
||
<div class="row">
|
||
<div class="col-12 mt-30">
|
||
<fieldset id="printSize" style="border: 1px solid black;padding: revert;border-radius: 10px; height: 28cm; margin: 3mm 5mm 0 5mm; ">
|
||
<div class="row" dir="rtl">
|
||
<div class="col-3 d-inline-block"><fieldset style="border: 1px solid black; border-radius: 15px; padding: 1px 15px 1px 15px; margin-top: 5px; width: 60%; font-size: 12px; text-align: center;"> @Model.ContractNo</fieldset></div>
|
||
<div class="col-6 d-inline-block text-center">
|
||
<p style="margin-top: 5px !important;font-size: 18px;font-family: 'IranNastaliq' !important;margin-bottom: 5px;">بسمه تعالی</p>
|
||
<p style="font-size: 15px; font-weight: bold;margin: 12px 0 -12px 0;">فیش حقوقی غیر رسمی موقت</p>
|
||
</div>
|
||
<div class="col-3 d-inline-block">
|
||
<div style="width: 55px; height: 62px; margin: 3px auto -5px 0; border: 1px solid #999; border-radius: 8px; overflow: hidden; display: flex; align-items: center; justify-content: center;">
|
||
@if (string.IsNullOrWhiteSpace(Model.EmployeePicture))
|
||
{
|
||
<span>عکس</span>
|
||
}
|
||
else
|
||
{
|
||
<img style="width: 100%;" src="data:image/jpeg;base64,@Model.EmployeePicture" alt="عکس" />
|
||
}
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="row" style="margin-top: 10px; padding: 0 12px;">
|
||
<span style="font-size: 14px; margin: -24px 0 0 0;">شماره پرسنلی: @Model.PersonnelCode</span>
|
||
<div class="col-12" style="border: 1px solid #000; border-radius: 10px; padding: 7px;">
|
||
<table class="w-100">
|
||
<tr>
|
||
<td style="width: 30%;font-size: 10px;font-weight: bold;">نام مجموعه: @Model.WorkshopName</td>
|
||
<td style="width: 30%;font-size: 10px;font-weight: bold;">نام کارفرما: @Model.EmployerName</td>
|
||
<td style="width: 30%; font-size: 10px;font-weight: bold;">
|
||
حقوق ماهانه: @Model.SettingSalary ریال (روزانه: @Model.DailyWage ریال)
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td style="font-size: 10px;font-weight: bold;">نام پرسنل: @(Model.EmployeeFName + ' ' + Model.EmployeeLName)</td>
|
||
<td style="font-size: 10px;font-weight: bold;">کد ملی پرسنل: @Model.NationalCode</td>
|
||
<td style="font-size: 10px;font-weight: bold;">نوع شیفت:
|
||
@if (Model.ShiftStatus == WorkshopShiftStatus.Regular)
|
||
{
|
||
<span>منظم</span>
|
||
}
|
||
else if (Model.ShiftStatus == WorkshopShiftStatus.Irregular)
|
||
{
|
||
<span>مختلط</span>
|
||
}
|
||
else
|
||
{
|
||
<span>چرخشی</span>
|
||
}
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td style="font-size: 10px;font-weight: bold;">فیش حقوقی: سال @Model.Year</td>
|
||
<td style="font-size: 10px;font-weight: bold;">ماه @Model.Month</td>
|
||
<td style="font-size: 10px;font-weight: bold;">
|
||
@if (Model.ShiftStatus == WorkshopShiftStatus.Irregular)
|
||
{
|
||
string type = Model.IrregularShift.WorkshopIrregularShifts switch
|
||
{
|
||
WorkshopIrregularShifts.TwelveTwentyFour => "12 ساعت کار 24 ساعت استراحت",
|
||
WorkshopIrregularShifts.TwelveThirtySix => "12 ساعت کار 24 ساعت استراحت",
|
||
WorkshopIrregularShifts.TwentyFourFortyEight => "24 ساعت کار 48 ساعت استراحت",
|
||
WorkshopIrregularShifts.TwentyFourTwentyFour => "24 ساعت کار 24 ساعت استراحت",
|
||
_ => ""
|
||
};
|
||
string time = $"{Model.IrregularShift.StartTime:HH:mm} الی {Model.IrregularShift.EndTime:HH:mm}";
|
||
<div style="display: flex;align-items: center;gap: 6px;">
|
||
<div style="background-color: #ffffff;border: 1px solid #E1E1E1;text-align: center;padding: 2px 0;border-radius: 5px;width: 66.666667%;">@type</div>
|
||
<div style="background-color: #ffffff;border: 1px solid #E1E1E1;text-align: center;padding: 2px 0;border-radius: 5px;width: 33.333333%;">@time</div>
|
||
</div>
|
||
}
|
||
else
|
||
{
|
||
<div style="display: flex;align-items: center;gap: 6px;">
|
||
@if (Model.ShiftStatus == WorkshopShiftStatus.Regular)
|
||
{
|
||
@for (int i = 0; i < 3; i++)
|
||
{
|
||
if (i >= 0 && i < Model.RegularShift.Count)
|
||
{
|
||
string time = $"{Model.RegularShift[i].StartTime:HH:mm} الی {Model.RegularShift[i].EndTime:HH:mm}";
|
||
<div style="background-color: #ffffff;border: 1px solid #E1E1E1;width: 100%;text-align: center;padding: 2px 0;border-radius: 5px;">@time</div>
|
||
}
|
||
else
|
||
{
|
||
<div style="background-color: #ffffff;border: 1px solid #E1E1E1;width: 100%;text-align: center;padding: 2px 0;border-radius: 5px;">-</div>
|
||
}
|
||
|
||
}
|
||
}
|
||
else if (Model.ShiftStatus == WorkshopShiftStatus.Rotating)
|
||
{
|
||
@for (int i = 0; i < 3; i++)
|
||
{
|
||
if (i >= 0 && i < Model.CustomizeRotatingShifts.Count)
|
||
{
|
||
string time = $"{Model.CustomizeRotatingShifts[i].StartTime:HH:mm} الی {Model.CustomizeRotatingShifts[i].EndTime:HH:mm}";
|
||
<div style="background-color: #ffffff;border: 1px solid #E1E1E1;width: 100%;text-align: center;padding: 2px 0;border-radius: 5px;">@time</div>
|
||
}
|
||
else
|
||
{
|
||
<div style="background-color: #ffffff;border: 1px solid #E1E1E1;width: 100%;text-align: center;padding: 2px 0;border-radius: 5px;">-</div>
|
||
}
|
||
|
||
}
|
||
}
|
||
|
||
|
||
@* <div style="background-color: #ffffff;border: 1px solid #E1E1E1;width: 100%;text-align: center;padding: 2px 0;border-radius: 5px;">17:00 الی 00:30</div>
|
||
<div style="background-color: #ffffff;border: 1px solid #E1E1E1;width: 100%;text-align: center;padding: 2px 0;border-radius: 5px;">-</div> *@
|
||
</div>
|
||
}
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="row" style="margin-top: 10px;padding: 0 12px;">
|
||
<fieldset style="border: 1px solid black !important;-webkit-print-color-adjust: exact;print-color-adjust: exact; border-radius: 10px 10px 10px 10px; margin: 0px 0px; overflow: hidden;padding: 0;">
|
||
<table style="/* table-layout: fixed; */ width: 100%">
|
||
|
||
|
||
<tr style="border-bottom: 1px solid; height: 25px; border-collapse: separate; background-color: #cdcdcd !important; -webkit-print-color-adjust: exact;print-color-adjust: exact; ">
|
||
<th style="text-align: center; width: 8mm; font-size: 12px; padding: 2px; border-collapse: separate; border-radius: 0px 10px 0px 0px;"> </th>
|
||
<th style="text-align: center; position: absolute ; right: 55mm; font-size: 13px;padding-top:4px"> مطالبات </th>
|
||
<th style="text-align: center;"> </th>
|
||
<th style="text-align: center; border-left: 2px solid #000; font-size: 12px"> </th>
|
||
<th style="text-align: center; font-size: 13px; position: absolute; left: 50mm; padding-top: 4px;"> کسورات </th>
|
||
<th style="text-align: center; font-size: 12px; border-collapse: separate; border-radius: 0px 0px 0px 0px;"> </th>
|
||
<th style="text-align: center; font-size: 12px; border-collapse: separate; border-radius: 10px 0px 0px 0px;"> </th>
|
||
</tr>
|
||
|
||
<tr style="border-bottom: 1px solid; background-color: #e1e1e1 !important ;-webkit-print-color-adjust: exact;print-color-adjust: exact; ">
|
||
<th style="width: 5%; text-align: center; border-left: 1px solid #000; font-size: 12px;padding: 2px"> ردیف </th>
|
||
<th style="width: 23%; text-align: center; border-left: 1px solid #000; font-size: 12px"> شرح </th>
|
||
<th style="width: 10%; text-align: center; border-left: 1px solid #000; font-size: 9px"> ساعت/روز/تعداد </th>
|
||
<th style="width: 12%; text-align: center; border-left: 2px solid #000; font-size: 12px"> مبلغ(ریال) </th>
|
||
<th style="width: 28%; text-align: center; border-left: 1px solid #000; font-size: 12px"> شرح </th>
|
||
<th style="width: 10%; text-align: center; border-left: 1px solid #000; font-size: 9px"> ساعت/روز/تعداد </th>
|
||
<th style="width: 12%; text-align: center; font-size: 12px"> مبلغ(ریال) </th>
|
||
</tr>
|
||
|
||
|
||
<tr style="font-size: 12px; ">
|
||
<td style="text-align: center; border-left: 1px solid #000; padding: 2px ">1</td>
|
||
<td style="padding-right: 8px; border-left: 1px solid #000;"> حقوق ماهانه </td>
|
||
<td style="text-align: center; border-left: 1px solid #000;"> - </td>
|
||
<td style="text-align: center; border-left: 2px solid #000;"> @(Model.MonthlySalary == "0" ? "-" : Model.MonthlySalary) </td>
|
||
<td style="padding-right: 8px; border-left: 1px solid #000;"> غیبت </td>
|
||
<td style="text-align: center; border-left: 1px solid #000;"> - </td>
|
||
<td style="text-align: center;"> @(Model.AbsenceDeduction == "0" ? "-" : Model.AbsenceDeduction) </td>
|
||
</tr>
|
||
|
||
<tr style="font-size: 12px; background-color: #f1f1f1 !important; -webkit-print-color-adjust: exact;print-color-adjust: exact; ">
|
||
<td style="text-align: center; border-left: 1px solid #000; padding: 2px ">2</td>
|
||
<td style="padding-right: 8px; border-left: 1px solid #000;"> پاداش </td>
|
||
<td style="text-align: center; border-left: 1px solid #000;"> - </td>
|
||
<td style="text-align: center; border-left: 2px solid #000;"> @(Model.RewardPay == "0" ? "-" : Model.RewardPay) </td>
|
||
<td style="padding-right: 8px; border-left: 1px solid #000;"> تاخیر در ورود </td>
|
||
<td style="text-align: center; border-left: 1px solid #000;"> @Model.LateToWorkValue </td>
|
||
<td style="text-align: center;"> @(Model.LateToWorkDeduction == "0" ? "-" : Model.LateToWorkDeduction) </td>
|
||
</tr>
|
||
|
||
<tr style="font-size: 12px;">
|
||
<td style="text-align: center; border-left: 1px solid #000; padding: 2px ">3</td>
|
||
<td style="padding-right: 8px; border-left: 1px solid #000;"> جمعه کاری </td>
|
||
<td style="text-align: center; border-left: 1px solid #000;"> - </td>
|
||
<td style="text-align: center; border-left: 2px solid #000;"> @(Model.FridayPay == "0" ? "-" : Model.FridayPay) </td>
|
||
<td style="padding-right: 8px; border-left: 1px solid #000;"> تعجیل در خروج </td>
|
||
<td style="text-align: center; border-left: 1px solid #000;"> - </td>
|
||
<td style="text-align: center;"> @(Model.EarlyExitDeduction == "0" ? "-" : Model.EarlyExitDeduction) </td>
|
||
</tr>
|
||
|
||
<tr style="font-size: 12px; background-color: #f1f1f1 !important; -webkit-print-color-adjust: exact;print-color-adjust: exact; ">
|
||
<td style="text-align: center; border-left: 1px solid #000; padding: 2px ">4</td>
|
||
<td style="padding-right: 8px; border-left: 1px solid #000;"> اضافه کاری </td>
|
||
<td style="text-align: center; border-left: 1px solid #000;"> - </td>
|
||
<td style="text-align: center; border-left: 2px solid #000;"> @(Model.OvertimePay == "0" ? "-" : Model.OvertimePay) </td>
|
||
<td style="padding-right: 8px; border-left: 1px solid #000;"> مساعده </td>
|
||
<td style="text-align: center; border-left: 1px solid #000;"> - </td>
|
||
<td style="text-align: center;"> @(Model.SalaryAidDeduction == "0" ? "-" : Model.SalaryAidDeduction) </td>
|
||
</tr>
|
||
<tr style="font-size: 12px;">
|
||
<td style="text-align: center; border-left: 1px solid #000; padding: 2px ">5</td>
|
||
<td style="padding-right: 8px; border-left: 1px solid #000;"> نوبت کاری </td>
|
||
<td style="text-align: center; border-left: 1px solid #000;"> - </td>
|
||
<td style="text-align: center; border-left: 2px solid #000;"> @(Model.ShiftPay == "0" ? "-" : Model.ShiftPay) </td>
|
||
<td style="padding-right: 8px; border-left: 1px solid #000;"> قسط وام </td>
|
||
<td style="text-align: center; border-left: 1px solid #000;"> - </td>
|
||
<td style="text-align: center;"> @(Model.InstallmentDeduction == "0" ? "-" : Model.InstallmentDeduction) </td>
|
||
</tr>
|
||
<tr style="font-size: 12px; background-color: #f1f1f1 !important; -webkit-print-color-adjust: exact;print-color-adjust: exact; ">
|
||
<td style="text-align: center; border-left: 1px solid #000; padding: 2px ">6</td>
|
||
<td style="padding-right: 8px; border-left: 1px solid #000;"> شب کاری </td>
|
||
<td style="text-align: center; border-left: 1px solid #000;"> - </td>
|
||
<td style="text-align: center; border-left: 2px solid #000;"> @(Model.NightworkPay == "0" ? "-" : Model.NightworkPay) </td>
|
||
<td style="padding-right: 8px; border-left: 1px solid #000;"> جریمه </td>
|
||
<td style="text-align: center; border-left: 1px solid #000;"> - </td>
|
||
<td style="text-align: center;"> @(Model.FineDeduction == "0" ? "-" : Model.FineDeduction) </td>
|
||
</tr>
|
||
<tr style="font-size: 12px;">
|
||
<td style="text-align: center; border-left: 1px solid #000; padding: 2px ">7</td>
|
||
<td style="padding-right: 8px; border-left: 1px solid #000;"> حق تاهل </td>
|
||
<td style="text-align: center; border-left: 1px solid #000;"> - </td>
|
||
<td style="text-align: center; border-left: 2px solid #000;"> @(Model.MarriedAllowance == "0" ? "-" : Model.MarriedAllowance) </td>
|
||
<td style="padding-right: 8px; border-left: 1px solid #000;"> حق بیمه </td>
|
||
<td style="text-align: center; border-left: 1px solid #000;"> - </td>
|
||
<td style="text-align: center;"> @(Model.InsuranceDeduction == "0" ? "-" : Model.InsuranceDeduction) </td>
|
||
</tr>
|
||
<tr style="font-size: 12px; background-color: #f1f1f1 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact;">
|
||
<td style="text-align: center; border-left: 1px solid #000; padding: 2px ">8</td>
|
||
<td style="padding-right: 8px; border-left: 1px solid #000;"> حق فرزند </td>
|
||
<td style="text-align: center; border-left: 1px solid #000;"> - </td>
|
||
<td style="text-align: center; border-left: 2px solid #000;"> @(Model.FamilyAllowance == "0" ? "-" : Model.FamilyAllowance) </td>
|
||
<td style="padding-right: 8px; border-left: 1px solid #000;"> مالیات </td>
|
||
<td style="text-align: center; border-left: 1px solid #000;"> - </td>
|
||
<td style="text-align: center;"> @(Model.TaxDeducation == "0" ? "-" : Model.TaxDeducation) </td>
|
||
</tr>
|
||
<tr style="font-size: 12px;">
|
||
<td style="text-align: center; border-left: 1px solid #000; padding: 2px ">9</td>
|
||
<td style="padding-right: 8px; border-left: 1px solid #000;"> عیدی </td>
|
||
<td style="text-align: center; border-left: 1px solid #000;"> - </td>
|
||
<td style="text-align: center; border-left: 2px solid #000;"> @(Model.BonusesPay == "0" ? "-" : Model.BonusesPay) </td>
|
||
<td style="padding-right: 8px; border-left: 1px solid #000;"> </td>
|
||
<td style="text-align: center; border-left: 1px solid #000;"> </td>
|
||
<td style="text-align: center;"> </td>
|
||
</tr>
|
||
<tr style="font-size: 12px; background-color: #f1f1f1 !important; -webkit-print-color-adjust: exact;print-color-adjust: exact; ">
|
||
<td style="text-align: center; border-left: 1px solid #000; padding: 2px ">10</td>
|
||
<td style="padding-right: 8px; border-left: 1px solid #000;"> سنوات </td>
|
||
<td style="text-align: center; border-left: 1px solid #000;"> - </td>
|
||
<td style="text-align: center; border-left: 2px solid #000;"> @(Model.BaseYearsPay == "0" ? "-" : Model.BaseYearsPay) </td>
|
||
<td style="padding-right: 8px; border-left: 1px solid #000;"> </td>
|
||
<td style="text-align: center; border-left: 1px solid #000;"> </td>
|
||
<td style="text-align: center;"> </td>
|
||
</tr>
|
||
<tr style="font-size: 12px;">
|
||
<td style="text-align: center; border-left: 1px solid #000; padding: 2px ">11</td>
|
||
<td style="padding-right: 8px; border-left: 1px solid #000;"> مزد مرخصی </td>
|
||
<td style="text-align: center; border-left: 1px solid #000;"> - </td>
|
||
<td style="text-align: center; border-left: 2px solid #000;"> @(Model.LeavePay == "0" ? "-" : Model.LeavePay) </td>
|
||
<td style="padding-right: 8px; border-left: 1px solid #000;"> </td>
|
||
<td style="text-align: center; border-left: 1px solid #000;"> </td>
|
||
<td style="text-align: center;"> </td>
|
||
</tr>
|
||
<tr style="font-size: 12px; height: 20px; background-color: #dddcdc !important; -webkit-print-color-adjust: exact;print-color-adjust: exact; border-bottom: 1px solid #000; border-top: 1px solid #000; ">
|
||
<td style="text-align: center; padding: 2px "></td>
|
||
<td style="padding-right: 8px; border-left: 1px solid #000;"> جمع مطالبات </td>
|
||
<td style="text-align: center; border-left: 1px solid #000;"> - </td>
|
||
<td style="text-align: center; border-left: 2px solid #000;"> @(Model.TotalClaims == "0" ? "-" : Model.TotalClaims) </td>
|
||
<td style="padding-right: 8px; border-left: 1px solid #000;"> جمع کسورات </td>
|
||
<td style="text-align: center; border-left: 1px solid #000;"> - </td>
|
||
<td style="text-align: center;"> @(Model.TotalDeductions == "0" ? "-" : Model.TotalDeductions) </td>
|
||
</tr>
|
||
<tr style="font-size: 12px; border-radius: 0px 0px 10px 10px !important; height: 20px; background-color: #efefef !important; -webkit-print-color-adjust: exact;print-color-adjust: exact; ">
|
||
<td style="text-align: center; padding: 2px; border-radius: 0px 0px 10px 0px "></td>
|
||
<td style="padding-right: 8px; border-left: 1px solid #000; "> مبلغ قابل پرداخت </td>
|
||
<td style="padding-right: 8px; border-left: 1px solid #000;"> </td>
|
||
<td style="text-align: center; border-left: 2px solid #000;"> @(Model.TotalPayment == "0" ? "-" : Model.TotalPayment) </td>
|
||
<td style="padding-right: 8px;"> </td>
|
||
<td style="text-align: center; border-left: 1px solid #000;"> </td>
|
||
<td style="text-align: center; border-radius:0px 0px 0px 10px"> </td>
|
||
</tr>
|
||
</table>
|
||
</fieldset>
|
||
</div>
|
||
|
||
<div style="padding: 0 12px;">
|
||
<div class="row" style="margin-top: 8px;background-color: #F6F6F6 !important;border: 1px solid #000;border-radius: 10px;display: grid;gap: 8px;padding: 8px 0;-webkit-print-color-adjust: exact;print-color-adjust: exact;padding: 6px;grid-template-columns: repeat(2, minmax(0, 1fr));">
|
||
<div class="col-6 w-100" style="background-color: #DDDCDC !important; border: 1px solid #CCCCCC;border-radius: 7px;padding: 7px; -webkit-print-color-adjust: exact;print-color-adjust: exact; ">
|
||
<table style="width: 100%">
|
||
<thead style="background-color: #AFAFAF;-webkit-print-color-adjust: exact;print-color-adjust: exact; ">
|
||
<tr style="font-size: 8px;border-collapse: separate;background-color: #AFAFAF !important;-webkit-print-color-adjust: exact;print-color-adjust: exact;">
|
||
<th style="font-size: 8px !important;width: 20%;padding: 2px 10px !important;border-left: 0;border-radius: 0 5px 5px 0 !important;-webkit-print-color-adjust: exact;print-color-adjust: exact;">تاریخ @Model.Year</th>
|
||
|
||
<th style="font-size: 8px;text-align: center;width: 6%;-webkit-print-color-adjust: exact;print-color-adjust: exact;">+ -</th>
|
||
|
||
<th style="font-size: 8px;text-align: center;width: 7%;-webkit-print-color-adjust: exact;print-color-adjust: exact;">ورود</th>
|
||
<th style="font-size: 8px;text-align: center;width: 7%;-webkit-print-color-adjust: exact;print-color-adjust: exact;">خروج</th>
|
||
|
||
<th style="font-size: 8px;text-align: center;width: 6%;-webkit-print-color-adjust: exact;print-color-adjust: exact;">+ -</th>
|
||
|
||
<th style="font-size: 8px;text-align: center;width: 6%;-webkit-print-color-adjust: exact;print-color-adjust: exact;">+ -</th>
|
||
|
||
<th style="font-size: 8px;text-align: center;width: 7%;-webkit-print-color-adjust: exact;print-color-adjust: exact;">ورود</th>
|
||
<th style="font-size: 8px;text-align: center;width: 7%;-webkit-print-color-adjust: exact;print-color-adjust: exact;">خروج</th>
|
||
|
||
<th style="font-size: 8px;text-align: center;width: 6%;-webkit-print-color-adjust: exact;print-color-adjust: exact;">+ -</th>
|
||
|
||
<th style="font-size: 8px;text-align: center;width: 10%;-webkit-print-color-adjust: exact;print-color-adjust: exact;">استراحت</th>
|
||
<th style="font-size: 8px;text-align: center;width: 8%;-webkit-print-color-adjust: exact;print-color-adjust: exact;">منقطع</th>
|
||
<th style="font-size: 8px;text-align: center;width: 10%; border-radius: 5px 0 0 5px !important; -webkit-print-color-adjust: exact;print-color-adjust: exact;">کارکرد</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
@for (int i = 0; i < 15; i++)
|
||
{
|
||
<tr style="@(Model.MonthlyRollCall.DailyRollCalls[i].IsHoliday || Model.MonthlyRollCall.DailyRollCalls[i].IsFriday ? "background-color: #BBBBBB !important;" : "background-color: #FFFFFF !important;") font-size: 8px;border-collapse: separate;-webkit-print-color-adjust: exact;print-color-adjust: exact;">
|
||
<td style="font-size: 8px; padding: 1px 3px;border-width: 2px 0 2px 2px;border-color: #DDDCDC;border-style: solid; border-radius: 0 5px 5px 0; -webkit-print-color-adjust: exact;print-color-adjust: exact; ">@Model.MonthlyRollCall.DailyRollCalls[i].DateTimeGr.ToFarsiWithoutYear() - @Model.MonthlyRollCall.DailyRollCalls[i].DateTimeGr.DayOfWeek.DayOfWeeKToPersian()</td>
|
||
@if (@Model.MonthlyRollCall.DailyRollCalls[i].IsAbsent)
|
||
{
|
||
<td style="font-size: 8px; text-align: center;border-width: 2px 0 2px 2px;border-color: #DDDCDC;border-style: solid;@(Model.MonthlyRollCall.DailyRollCalls[i].IsHoliday || Model.MonthlyRollCall.DailyRollCalls[i].IsFriday ? "background-color: #BBBBBB !important;" : "background-color: #efefef !important;") -webkit-print-color-adjust: exact;print-color-adjust: exact; ">-</td>
|
||
|
||
<td colspan="2" style="font-size: 8px; text-align: center; border-width: 2px 0 2px 2px; border-color: #DDDCDC; border-style: solid; -webkit-print-color-adjust: exact; print-color-adjust: exact;">
|
||
<div class="row" style="display: flex; justify-content: center;">
|
||
<div class="col-6 px-0" style="display: flex;align-items: center;justify-content: center;">
|
||
<span style="width: 40px; display: block; border-radius: 50px; background-color: #737373; color: #fff;">
|
||
غیبت
|
||
</span>
|
||
</div>
|
||
</div>
|
||
</td>
|
||
|
||
<td style="font-size: 8px; text-align: center;border-width: 2px 0 2px 2px;border-color: #DDDCDC;border-style: solid;@(Model.MonthlyRollCall.DailyRollCalls[i].IsHoliday || Model.MonthlyRollCall.DailyRollCalls[i].IsFriday ? "background-color: #BBBBBB !important;" : "background-color: #efefef !important;") !important;-webkit-print-color-adjust: exact;print-color-adjust: exact; ">-</td>
|
||
|
||
<td style="font-size: 8px; text-align: center;border-width: 2px 0 2px 2px;border-color: #DDDCDC;border-style: solid;@(Model.MonthlyRollCall.DailyRollCalls[i].IsHoliday || Model.MonthlyRollCall.DailyRollCalls[i].IsFriday ? "background-color: #BBBBBB !important;" : "background-color: #efefef !important;")-webkit-print-color-adjust: exact;print-color-adjust: exact; ">-</td>
|
||
|
||
<td colspan="2" style="font-size: 8px; text-align: center; border-width: 2px 0 2px 2px; border-color: #DDDCDC; border-style: solid; -webkit-print-color-adjust: exact; print-color-adjust: exact;">
|
||
<div class="row" style="display: flex; justify-content: center;">
|
||
<div class="col-7 px-0">
|
||
@if (Model.MonthlyRollCall.DailyRollCalls[i].IsBirthDay)
|
||
{
|
||
<span style="width: 38px; display: block; border-radius: 50px; background-color: #fff; color: #737373; border: 1px solid #737373;">تولد</span>
|
||
}
|
||
</div>
|
||
</div>
|
||
</td>
|
||
|
||
<td style="font-size: 8px; text-align: center;border-width: 2px 0 2px 2px;border-color: #DDDCDC;border-style: solid;@(Model.MonthlyRollCall.DailyRollCalls[i].IsHoliday || Model.MonthlyRollCall.DailyRollCalls[i].IsFriday ? "background-color: #BBBBBB !important;" : "background-color: #efefef !important;")-webkit-print-color-adjust: exact;print-color-adjust: exact; ">-</td>
|
||
}
|
||
else
|
||
{
|
||
@if (string.IsNullOrWhiteSpace(Model.MonthlyRollCall.DailyRollCalls[i].LeaveType))
|
||
{
|
||
<td style="font-size: 8px; text-align: center;border-width: 2px 0 2px 2px;border-color: #DDDCDC;border-style: solid;@(Model.MonthlyRollCall.DailyRollCalls[i].IsHoliday || Model.MonthlyRollCall.DailyRollCalls[i].IsFriday ? "background-color: #BBBBBB !important;" : "background-color: #efefef !important;")-webkit-print-color-adjust: exact;print-color-adjust: exact; ">@Model.MonthlyRollCall.DailyRollCalls[i].EnterDifferencesMinutes1</td>
|
||
|
||
<td style="font-size: 8px; text-align: center;border-width: 2px 0 2px 0;border-color: #DDDCDC;border-style: solid;-webkit-print-color-adjust: exact;print-color-adjust: exact; ">@Model.MonthlyRollCall.DailyRollCalls[i].StartDate1</td>
|
||
<td style="font-size: 8px; text-align: center;border-width: 2px 0 2px 2px;border-color: #DDDCDC;border-style: solid;-webkit-print-color-adjust: exact;print-color-adjust: exact; ">@Model.MonthlyRollCall.DailyRollCalls[i].EndDate1</td>
|
||
|
||
<td style="font-size: 8px; text-align: center;border-width: 2px 0 2px 2px;border-color: #DDDCDC;border-style: solid;@(Model.MonthlyRollCall.DailyRollCalls[i].IsHoliday || Model.MonthlyRollCall.DailyRollCalls[i].IsFriday ? "background-color: #BBBBBB !important;" : "background-color: #efefef !important;")-webkit-print-color-adjust: exact;print-color-adjust: exact; ">@Model.MonthlyRollCall.DailyRollCalls[i].ExitDifferencesMinutes1</td>
|
||
|
||
<td style="font-size: 8px; text-align: center;border-width: 2px 0 2px 2px;border-color: #DDDCDC;border-style: solid;@(Model.MonthlyRollCall.DailyRollCalls[i].IsHoliday || Model.MonthlyRollCall.DailyRollCalls[i].IsFriday ? "background-color: #BBBBBB !important;" : "background-color: #efefef !important;")-webkit-print-color-adjust: exact;print-color-adjust: exact; ">@Model.MonthlyRollCall.DailyRollCalls[i].EnterDifferencesMinutes2</td>
|
||
|
||
<td style="font-size: 8px; text-align: center;border-width: 2px 0 2px 0;border-color: #DDDCDC;border-style: solid;-webkit-print-color-adjust: exact;print-color-adjust: exact; ">@Model.MonthlyRollCall.DailyRollCalls[i].StartDate2</td>
|
||
<td style="font-size: 8px; text-align: center;border-width: 2px 0 2px 2px;border-color: #DDDCDC;border-style: solid;-webkit-print-color-adjust: exact;print-color-adjust: exact; ">@Model.MonthlyRollCall.DailyRollCalls[i].EndDate2</td>
|
||
|
||
<td style="font-size: 8px; text-align: center;border-width: 2px 0 2px 2px;border-color: #DDDCDC;border-style: solid;@(Model.MonthlyRollCall.DailyRollCalls[i].IsHoliday || Model.MonthlyRollCall.DailyRollCalls[i].IsFriday ? "background-color: #BBBBBB !important;" : "background-color: #efefef !important;")-webkit-print-color-adjust: exact;print-color-adjust: exact; ">@Model.MonthlyRollCall.DailyRollCalls[i].ExitDifferencesMinutes2</td>
|
||
}
|
||
else
|
||
{
|
||
|
||
<td style="font-size: 8px; text-align: center;border-width: 2px 0 2px 2px;border-color: #DDDCDC;border-style: solid;@(Model.MonthlyRollCall.DailyRollCalls[i].IsHoliday || Model.MonthlyRollCall.DailyRollCalls[i].IsFriday ? "background-color: #BBBBBB !important;" : "background-color: #efefef !important;")@(Model.MonthlyRollCall.DailyRollCalls[i].IsHoliday || Model.MonthlyRollCall.DailyRollCalls[i].IsFriday ? "background-color: #BBBBBB !important;" : "background-color: #efefef !important;") exact;print-color-adjust: exact; ">-</td>
|
||
|
||
<td colspan="2" style="font-size: 8px; text-align: center; border-width: 2px 0 2px 2px; border-color: #DDDCDC; border-style: solid; -webkit-print-color-adjust: exact; print-color-adjust: exact;">
|
||
<div style="display: flex;justify-content: center;">
|
||
<span style="width: 38px; display: block; border-radius: 50px; background-color: #fff; color: #737373;border: 1px solid #737373;font-size: 7.5px;font-weight: 500;">
|
||
@Model.MonthlyRollCall.DailyRollCalls[i].LeaveType
|
||
</span>
|
||
</div>
|
||
</td>
|
||
|
||
<td style="font-size: 8px; text-align: center;border-width: 2px 0 2px 2px;border-color: #DDDCDC;border-style: solid;@(Model.MonthlyRollCall.DailyRollCalls[i].IsHoliday || Model.MonthlyRollCall.DailyRollCalls[i].IsFriday ? "background-color: #BBBBBB !important;" : "background-color: #efefef !important;") -webkit-print-color-adjust: exact;print-color-adjust: exact; ">-</td>
|
||
|
||
<td style="font-size: 8px; text-align: center;border-width: 2px 0 2px 2px;border-color: #DDDCDC;border-style: solid;@(Model.MonthlyRollCall.DailyRollCalls[i].IsHoliday || Model.MonthlyRollCall.DailyRollCalls[i].IsFriday ? "background-color: #BBBBBB !important;" : "background-color: #efefef !important;") -webkit-print-color-adjust: exact;print-color-adjust: exact; ">-</td>
|
||
|
||
<td colspan="2" style="font-size: 8px; text-align: center; border-width: 2px 0 2px 2px; border-color: #DDDCDC; border-style: solid; -webkit-print-color-adjust: exact; print-color-adjust: exact;">
|
||
<div style="display: flex; justify-content: center;">
|
||
@if (Model.MonthlyRollCall.DailyRollCalls[i].IsBirthDay)
|
||
{
|
||
<span style="width: 38px; display: block; border-radius: 50px; background-color: #fff; color: #737373; border: 1px solid #737373;">تولد</span>
|
||
}
|
||
</div>
|
||
</td>
|
||
|
||
<td style="font-size: 8px; text-align: center;border-width: 2px 0 2px 2px;border-color: #DDDCDC;border-style: solid;@(Model.MonthlyRollCall.DailyRollCalls[i].IsHoliday || Model.MonthlyRollCall.DailyRollCalls[i].IsFriday ? "background-color: #BBBBBB !important;" : "background-color: #efefef !important;") -webkit-print-color-adjust: exact;print-color-adjust: exact; ">-</td>
|
||
|
||
}
|
||
}
|
||
|
||
<td style="font-size: 8px; text-align: center;border-width: 2px 0 2px 2px;border-color: #DDDCDC;border-style: solid;-webkit-print-color-adjust: exact;print-color-adjust: exact; ">@Model.MonthlyRollCall.DailyRollCalls[i].BreakTimeString</td>
|
||
<td style="font-size: 8px; text-align: center; border-width: 2px 0 2px 2px; border-color: #DDDCDC; border-style: solid;vertical-align: center;-webkit-print-color-adjust: exact;print-color-adjust: exact; ">
|
||
@if (@Model.MonthlyRollCall.DailyRollCalls[i].IsSliced)
|
||
{
|
||
<svg width="12" height="12" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" style="display: block; margin: auto;">
|
||
<circle stroke-width="2" cx="12" cy="12" r="9" stroke="#222222" />
|
||
<path stroke-width="2" d="M8 12L11 15L16 9" stroke="#222222" stroke-linecap="round" />
|
||
</svg>
|
||
}
|
||
else
|
||
{
|
||
<span>-</span>
|
||
}
|
||
</td>
|
||
<td style="font-size: 8px;text-align: center;border-width: 2px 0 2px 0;border-color: #DDDCDC;border-style: solid;-webkit-print-color-adjust: exact;print-color-adjust: exact;border-radius: 5px 0 0 5px;">@Model.MonthlyRollCall.DailyRollCalls[i].TotalWorkingHours</td>
|
||
</tr>
|
||
}
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<div class="col-6 w-100" style="background-color: #DDDCDC !important; border: 1px solid #CCCCCC;border-radius: 7px;padding: 7px; -webkit-print-color-adjust: exact;print-color-adjust: exact; ">
|
||
<table style="width: 100%">
|
||
<thead style="background-color: #AFAFAF;-webkit-print-color-adjust: exact;print-color-adjust: exact; ">
|
||
<tr style="font-size: 8px;border-collapse: separate;background-color: #AFAFAF !important;-webkit-print-color-adjust: exact;print-color-adjust: exact;">
|
||
<th style="font-size: 8px !important;width: 20%;padding: 2px 10px !important;border-left: 0;border-radius: 0 5px 5px 0 !important;-webkit-print-color-adjust: exact;print-color-adjust: exact;">تاریخ @Model.Year</th>
|
||
|
||
<th style="font-size: 8px;text-align: center;width: 6%;-webkit-print-color-adjust: exact;print-color-adjust: exact;">+ -</th>
|
||
|
||
<th style="font-size: 8px;text-align: center;width: 7%;-webkit-print-color-adjust: exact;print-color-adjust: exact;">ورود</th>
|
||
<th style="font-size: 8px;text-align: center;width: 7%;-webkit-print-color-adjust: exact;print-color-adjust: exact;">خروج</th>
|
||
|
||
<th style="font-size: 8px;text-align: center;width: 6%;-webkit-print-color-adjust: exact;print-color-adjust: exact;">+ -</th>
|
||
|
||
<th style="font-size: 8px;text-align: center;width: 6%;-webkit-print-color-adjust: exact;print-color-adjust: exact;">+ -</th>
|
||
|
||
<th style="font-size: 8px;text-align: center;width: 7%;-webkit-print-color-adjust: exact;print-color-adjust: exact;">ورود</th>
|
||
<th style="font-size: 8px;text-align: center;width: 7%;-webkit-print-color-adjust: exact;print-color-adjust: exact;">خروج</th>
|
||
|
||
<th style="font-size: 8px;text-align: center;width: 6%;-webkit-print-color-adjust: exact;print-color-adjust: exact;">+ -</th>
|
||
|
||
<th style="font-size: 8px;text-align: center;width: 10%;-webkit-print-color-adjust: exact;print-color-adjust: exact;">استراحت</th>
|
||
<th style="font-size: 8px;text-align: center;width: 8%;-webkit-print-color-adjust: exact;print-color-adjust: exact;">منقطع</th>
|
||
<th style="font-size: 8px;text-align: center;width: 10%; border-radius: 5px 0 0 5px !important; -webkit-print-color-adjust: exact;print-color-adjust: exact;">کارکرد</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
@{
|
||
Model.MonthlyRollCall.DailyRollCalls = Model.MonthlyRollCall.DailyRollCalls.Skip(15).ToList();
|
||
}
|
||
@foreach (var day in Model.MonthlyRollCall.DailyRollCalls)
|
||
{
|
||
<tr style="@((day.IsFriday || day.IsHoliday) ? "background-color: #BBBBBB !important;" : "background-color: #FFFFFF !important;") font-size: 8px;border-collapse: separate;-webkit-print-color-adjust: exact;print-color-adjust: exact;">
|
||
<td style="font-size: 8px; padding: 1px 3px;border-width: 2px 0 2px 2px;border-color: #DDDCDC;border-style: solid; border-radius: 0 5px 5px 0; -webkit-print-color-adjust: exact;print-color-adjust: exact; ">@day.DateTimeGr.ToFarsiWithoutYear() - @day.DateTimeGr.DayOfWeek.DayOfWeeKToPersian()</td>
|
||
@if (day.IsAbsent)
|
||
{
|
||
<td style="font-size: 8px; text-align: center;border-width: 2px 0 2px 2px;border-color: #DDDCDC;border-style: solid; @(day.IsHoliday || day.IsFriday ? "background-color: #BBBBBB !important;" : "background-color: #efefef !important;") -webkit-print-color-adjust: exact;print-color-adjust: exact; ">-</td>
|
||
|
||
<td colspan="2" style="font-size: 8px; text-align: center; border-width: 2px 0 2px 2px; border-color: #DDDCDC; border-style: solid; -webkit-print-color-adjust: exact; print-color-adjust: exact;">
|
||
<div class="row" style="display: flex; justify-content: center;">
|
||
<div class="col-6 px-0" style="display: flex;align-items: center;justify-content: center;">
|
||
<span style="width: 40px; display: block; border-radius: 50px; background-color: #737373; color: #fff;">
|
||
غیبت
|
||
</span>
|
||
</div>
|
||
</div>
|
||
</td>
|
||
|
||
<td style="font-size: 8px; text-align: center;border-width: 2px 0 2px 2px;border-color: #DDDCDC;border-style: solid;@(day.IsHoliday || day.IsFriday ? "background-color: #BBBBBB !important;" : "background-color: #efefef !important;") -webkit-print-color-adjust: exact;print-color-adjust: exact; ">-</td>
|
||
|
||
<td style="font-size: 8px; text-align: center;border-width: 2px 0 2px 2px;border-color: #DDDCDC;border-style: solid;@(day.IsHoliday || day.IsFriday ? "background-color: #BBBBBB !important;" : "background-color: #efefef !important;") -webkit-print-color-adjust: exact;print-color-adjust: exact; ">-</td>
|
||
|
||
<td colspan="2" style="font-size: 8px; text-align: center; border-width: 2px 0 2px 2px; border-color: #DDDCDC; border-style: solid; -webkit-print-color-adjust: exact; print-color-adjust: exact;">
|
||
<div class="row" style="display: flex; justify-content: center;">
|
||
<div class="col-7 px-0">
|
||
@if (day.IsBirthDay)
|
||
{
|
||
<span style="width: 38px; display: block; border-radius: 50px; background-color: #fff; color: #737373; border: 1px solid #737373;">تولد</span>
|
||
}
|
||
</div>
|
||
</div>
|
||
</td>
|
||
|
||
<td style="font-size: 8px; text-align: center;border-width: 2px 0 2px 2px;border-color: #DDDCDC;border-style: solid;@(day.IsHoliday || day.IsFriday ? "background-color: #BBBBBB !important;" : "background-color: #efefef !important;")-webkit-print-color-adjust: exact;print-color-adjust: exact; ">-</td>
|
||
}
|
||
else
|
||
{
|
||
@if (string.IsNullOrWhiteSpace(day.LeaveType))
|
||
{
|
||
<td style="font-size: 8px; text-align: center;border-width: 2px 0 2px 2px;border-color: #DDDCDC;border-style: solid;@(day.IsHoliday || day.IsFriday ? "background-color: #BBBBBB !important;" : "background-color: #efefef !important;") -webkit-print-color-adjust: exact;print-color-adjust: exact; ">@day.EnterDifferencesMinutes1</td>
|
||
|
||
<td style="font-size: 8px !important; text-align: center;border-width: 2px 0 2px 0;border-color: #DDDCDC;border-style: solid;-webkit-print-color-adjust: exact;print-color-adjust: exact; ">@day.StartDate1</td>
|
||
<td style="font-size: 8px !important; text-align: center;border-width: 2px 0 2px 2px;border-color: #DDDCDC;border-style: solid;-webkit-print-color-adjust: exact;print-color-adjust: exact; ">@day.EndDate1</td>
|
||
|
||
<td style="font-size: 8px; text-align: center;border-width: 2px 0 2px 2px;border-color: #DDDCDC;border-style: solid;@(day.IsHoliday || day.IsFriday ? "background-color: #BBBBBB !important;" : "background-color: #efefef !important;") -webkit-print-color-adjust: exact;print-color-adjust: exact; ">@day.ExitDifferencesMinutes1</td>
|
||
|
||
<td style="font-size: 8px; text-align: center;border-width: 2px 0 2px 2px;border-color: #DDDCDC;border-style: solid;@(day.IsHoliday || day.IsFriday ? "background-color: #BBBBBB !important;" : "background-color: #efefef !important;") -webkit-print-color-adjust: exact;print-color-adjust: exact; ">@day.EnterDifferencesMinutes1</td>
|
||
|
||
<td style="font-size: 8px !important; text-align: center;border-width: 2px 0 2px 0;border-color: #DDDCDC;border-style: solid;-webkit-print-color-adjust: exact;print-color-adjust: exact; ">@day.StartDate2</td>
|
||
<td style="font-size: 8px !important; text-align: center;border-width: 2px 0 2px 2px;border-color: #DDDCDC;border-style: solid;-webkit-print-color-adjust: exact;print-color-adjust: exact; ">@day.EndDate2</td>
|
||
|
||
<td style="font-size: 8px; text-align: center;border-width: 2px 0 2px 2px;border-color: #DDDCDC;border-style: solid;@(day.IsHoliday || day.IsFriday ? "background-color: #BBBBBB !important;" : "background-color: #efefef !important;") -webkit-print-color-adjust: exact;print-color-adjust: exact; ">@day.ExitDifferencesMinutes2</td>
|
||
}
|
||
else
|
||
{
|
||
<td style="font-size: 8px; text-align: center;border-width: 2px 0 2px 2px;border-color: #DDDCDC;border-style: solid;@(day.IsHoliday || day.IsFriday ? "background-color: #BBBBBB !important;" : "background-color: #efefef !important;")-webkit-print-color-adjust: exact;print-color-adjust: exact; ">-</td>
|
||
|
||
<td colspan="2" style="font-size: 8px; text-align: center; border-width: 2px 0 2px 2px; border-color: #DDDCDC; border-style: solid; -webkit-print-color-adjust: exact; print-color-adjust: exact;">
|
||
<div style="display: flex;justify-content: center;">
|
||
<span style="width: 38px; display: block; border-radius: 50px; background-color: #fff; color: #737373;border: 1px solid #737373;font-size: 7.5px;font-weight: 500;">
|
||
@day.LeaveType
|
||
</span>
|
||
</div>
|
||
</td>
|
||
|
||
<td style="font-size: 8px; text-align: center;border-width: 2px 0 2px 2px;border-color: #DDDCDC;border-style: solid;@(day.IsHoliday || day.IsFriday ? "background-color: #BBBBBB !important;" : "background-color: #efefef !important;")-webkit-print-color-adjust: exact;print-color-adjust: exact; ">-</td>
|
||
<td style="font-size: 8px; text-align: center;border-width: 2px 0 2px 2px;border-color: #DDDCDC;border-style: solid;@(day.IsHoliday || day.IsFriday ? "background-color: #BBBBBB !important;" : "background-color: #efefef !important;")-webkit-print-color-adjust: exact;print-color-adjust: exact; ">-</td>
|
||
|
||
<td colspan="2" style="font-size: 8px; text-align: center; border-width: 2px 0 2px 2px; border-color: #DDDCDC; border-style: solid; -webkit-print-color-adjust: exact; print-color-adjust: exact;">
|
||
<div style="display: flex; justify-content: center;">
|
||
@if (day.IsBirthDay)
|
||
{
|
||
<span style="width: 38px; display: block; border-radius: 50px; background-color: #fff; color: #737373; border: 1px solid #737373;">تولد</span>
|
||
}
|
||
</div>
|
||
</td>
|
||
|
||
<td style="font-size: 8px; text-align: center;border-width: 2px 0 2px 2px;border-color: #DDDCDC;border-style: solid;@(day.IsHoliday || day.IsFriday ? "background-color: #BBBBBB !important;" : "background-color: #efefef !important;")-webkit-print-color-adjust: exact;print-color-adjust: exact; ">-</td>
|
||
}
|
||
}
|
||
|
||
<td style="font-size: 8px !important; text-align: center;border-width: 2px 0 2px 2px;border-color: #DDDCDC;border-style: solid;-webkit-print-color-adjust: exact;print-color-adjust: exact; ">@day.BreakTimeString</td>
|
||
<td style="font-size: 8px !important; text-align: center; border-width: 2px 0 2px 2px; border-color: #DDDCDC; border-style: solid;vertical-align: center;-webkit-print-color-adjust: exact;print-color-adjust: exact; ">
|
||
@if (day.IsSliced)
|
||
{
|
||
<svg width="12" height="12" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" style="display: block; margin: auto;">
|
||
<circle stroke-width="2" cx="12" cy="12" r="9" stroke="#222222" />
|
||
<path stroke-width="2" d="M8 12L11 15L16 9" stroke="#222222" stroke-linecap="round" />
|
||
</svg>
|
||
}
|
||
else
|
||
{
|
||
<span>-</span>
|
||
}
|
||
</td>
|
||
<td style="font-size: 8px;text-align: center;border-width: 2px 0 2px 0;border-color: #DDDCDC;border-style: solid;-webkit-print-color-adjust: exact;print-color-adjust: exact;border-radius: 5px 0 0 5px;">@day.TotalWorkingHours</td>
|
||
</tr>
|
||
}
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
|
||
<div class="row" style="margin-top: 10px;padding: 0 12px;">
|
||
<fieldset style="border: 1px solid black !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; border-radius: 10px 10px 10px 10px; margin: 0px 0px; overflow: hidden; padding: 0; display: flex;width: 100%;">
|
||
@* <table style="/* table-layout: fixed; */width: 5%">
|
||
|
||
<tr style="text-align: center; font-size: 10px; padding: 2px 4px; height: 24px; border-bottom: 1px solid; border-left: 1px solid; border-collapse: separate; background-color: #cdcdcd !important; -webkit-print-color-adjust: exact; print-color-adjust: exact;">
|
||
<th cstyle="height: 24px;"></th>
|
||
</tr>
|
||
|
||
<tr style="border-bottom: 1px solid; background-color: #e1e1e1 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; font-size: 10px; height: 24px;">
|
||
<th style="border-left: 1px solid black; text-align: center; padding: 2px 4px;">ردیف</th>
|
||
</tr>
|
||
@for (int i = 0; i < 5; i++)
|
||
{
|
||
<tr class="trTable" style="text-align: right; font-size: 10px; border-left: 1px solid black; height: 24px;">
|
||
<th style="text-align: center; padding: 2px 4px;">
|
||
@(indexTable = indexTable + 1)
|
||
</th>
|
||
</tr>
|
||
}
|
||
</table> *@
|
||
|
||
<div class="table-container">
|
||
<table>
|
||
<colgroup>
|
||
<col style="width: 30%;">
|
||
<col style="width: 40%;">
|
||
<col style="width: 30%;">
|
||
</colgroup>
|
||
|
||
<tr style="text-align: center; font-size: 9px; padding: 2px 4px; height: 24px; border-bottom: 1px solid; border-left: 2px solid; border-collapse: separate; background-color: #cdcdcd !important; -webkit-print-color-adjust: exact; print-color-adjust: exact;">
|
||
<th colspan="3">جریمه ها</th>
|
||
</tr>
|
||
|
||
<tr style="border-bottom: 1px solid; background-color: #e1e1e1 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; font-size: 9px; height: 24px;">
|
||
<th style="padding: 2px 4px; text-align: center; border-left: 1px solid black; min-width:3rem;">تاریخ</th>
|
||
<th style="padding: 2px 4px; text-align: center; border-left: 1px solid black; min-width:4rem;">عنوان</th>
|
||
<th style="padding: 2px 4px; text-align: center; border-left: 2px solid black; min-width:3rem;">مبلغ</th>
|
||
</tr>
|
||
|
||
@for (int i = 0; i < 7; i++)
|
||
{
|
||
<tr class="trTable" style="text-align: right; font-size: 9px; height: 24px;border-left: 2px solid black">
|
||
<td style="padding: 2px 4px;text-align: center;border-left: 1px solid black; white-space: nowrap;overflow: hidden !important;text-overflow: ellipsis;">
|
||
@(Model.FineViewModelList != null && i < Model.FineViewModelList.Count
|
||
? Model.FineViewModelList[i]?.FineDate ?? ""
|
||
: "")
|
||
</td>
|
||
<td style="padding: 2px 4px;border-left: 1px solid black; white-space: nowrap;overflow: hidden !important;text-overflow: ellipsis;">
|
||
<div style="display: inline-block;width: 4rem; white-space: nowrap; overflow: hidden !important; text-overflow: ellipsis;">
|
||
@(Model.FineViewModelList != null && i < Model.FineViewModelList.Count
|
||
? Model.FineViewModelList[i]?.Title ?? ""
|
||
: "")
|
||
</div>
|
||
</td>
|
||
<td style="padding: 2px 4px; text-align: center;">
|
||
@(Model.FineViewModelList != null && i < Model.FineViewModelList.Count
|
||
? Model.FineViewModelList[i]?.Amount ?? ""
|
||
: "")
|
||
</td>
|
||
</tr>
|
||
}
|
||
|
||
</table>
|
||
|
||
<table>
|
||
<colgroup>
|
||
<col style="width: 50%;">
|
||
<col style="width: 50%;">
|
||
</colgroup>
|
||
|
||
<tr style="border-left: 2px solid black;text-align: center; font-size: 9px; padding: 2px 4px; height: 24px; border-bottom: 1px solid; border-collapse: separate; background-color: #cdcdcd !important; -webkit-print-color-adjust: exact; print-color-adjust: exact;">
|
||
<th colspan="3">مساعده</th>
|
||
</tr>
|
||
|
||
<tr style="border-bottom: 1px solid;border-left: 1px solid black; background-color: #e1e1e1 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; font-size: 9px; height: 24px;">
|
||
<th style="padding: 2px 4px; text-align: center; border-left: 1px solid black;min-width:3rem;">تاریخ</th>
|
||
<th style="padding: 2px 4px; text-align: center; border-left: 2px solid black;min-width:4rem;">مبلغ</th>
|
||
</tr>
|
||
|
||
@for (int i = 0; i < 7; i++)
|
||
{
|
||
<tr class="trTable" style="text-align: right; font-size: 10px; height: 24px;">
|
||
<td style="padding: 2px 4px; text-align: center;border-left: 1px solid black">
|
||
@(Model.SalaryAidViewModels != null && i < Model.SalaryAidViewModels.Count
|
||
? Model.SalaryAidViewModels[i]?.SalaryAidDateTimeFa ?? ""
|
||
: "")
|
||
</td>
|
||
<td style="padding: 2px 4px; text-align: center;border-left: 2px solid black">
|
||
@(Model.SalaryAidViewModels != null && i < Model.SalaryAidViewModels.Count
|
||
? Model.SalaryAidViewModels[i]?.Amount ?? ""
|
||
: "")
|
||
</td>
|
||
</tr>
|
||
}
|
||
|
||
</table>
|
||
|
||
<table>
|
||
<colgroup>
|
||
<col style="width: 40%;">
|
||
<col style="width: 60%;">
|
||
</colgroup>
|
||
|
||
<tr style="border-left: 2px solid black;text-align: center; font-size: 9px; padding: 2px 4px; height: 24px; border-bottom: 1px solid; border-collapse: separate; background-color: #cdcdcd !important; -webkit-print-color-adjust: exact; print-color-adjust: exact;">
|
||
<th colspan="3" style="text-align: center">وام</th>
|
||
</tr>
|
||
|
||
<tr style="border-left: 1px solid black;border-bottom: 1px solid; background-color: #e1e1e1 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; font-size: 9px; height: 24px;">
|
||
<th style="padding: 2px 4px; text-align: center; border-left: 1px solid black; min-width:4rem;">مبلغ کل وام</th>
|
||
<th style="padding: 2px 4px; text-align: center; border-left: 2px solid black; min-width:4rem;">مبلغ باقیمانده وام</th>
|
||
</tr>
|
||
|
||
@for (int i = 0; i < 7; i++)
|
||
{
|
||
<tr class="trTable" style="text-align: right; font-size: 9px;border-left: 2px solid black; height: 24px;">
|
||
<td style="padding: 2px 4px; text-align: center;border-left: 1px solid black">
|
||
@(Model.InstallmentViewModels != null && i < Model.InstallmentViewModels.Count
|
||
? Model.InstallmentViewModels[i]?.LoanAmount ?? ""
|
||
: "")
|
||
</td>
|
||
<td style="padding: 2px 4px; text-align: center;">
|
||
@(Model.InstallmentViewModels != null && i < Model.InstallmentViewModels.Count
|
||
? Model.InstallmentViewModels[i]?.RemainingAmount ?? ""
|
||
: "")
|
||
</td>
|
||
</tr>
|
||
}
|
||
|
||
</table>
|
||
|
||
<table>
|
||
<colgroup>
|
||
<col style="width: 30%;">
|
||
<col style="width: 40%;">
|
||
<col style="width: 30%;">
|
||
</colgroup>
|
||
|
||
<tr style="text-align: center; font-size: 9px; padding: 2px 4px; height: 24px; border-bottom: 1px solid; border-collapse: separate; background-color: #cdcdcd !important; -webkit-print-color-adjust: exact; print-color-adjust: exact;">
|
||
<th colspan="3">پاداش</th>
|
||
</tr>
|
||
|
||
<tr style="border-bottom: 1px solid; background-color: #e1e1e1 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; font-size: 10px; height: 24px;">
|
||
<th style="padding: 2px 4px; text-align: center; border-left: 1px solid black; min-width:3rem;">تاریخ</th>
|
||
<th style="padding: 2px 4px; text-align: center; border-left: 1px solid black; min-width:4rem;">عنوان</th>
|
||
<th style="padding: 2px 4px; text-align: center; min-width:80px;">مبلغ</th>
|
||
</tr>
|
||
|
||
@for (int i = 0; i < 7; i++)
|
||
{
|
||
<tr class="trTable" style="text-align: right; font-size: 9px; height: 24px;">
|
||
<td style="padding: 2px 4px; text-align: center;border-left: 1px solid black">
|
||
@(Model.RewardViewModels != null && i < Model.RewardViewModels.Count
|
||
? Model.RewardViewModels[i]?.GrantDateFa ?? ""
|
||
: "")
|
||
</td>
|
||
<td style="padding: 2px 4px; text-align: right;border-left: 1px solid black; white-space: nowrap;overflow: hidden !important;text-overflow: ellipsis;">
|
||
<div style="display: inline-block;width: 4rem; white-space: nowrap; overflow: hidden !important; text-overflow: ellipsis;">
|
||
@(Model.RewardViewModels != null && i < Model.RewardViewModels.Count
|
||
? Model.RewardViewModels[i]?.Title ?? "-"
|
||
: "")
|
||
</div>
|
||
</td>
|
||
<td style="padding: 2px 4px; text-align: center;">
|
||
@(Model.RewardViewModels != null && i < Model.RewardViewModels.Count
|
||
? Model.RewardViewModels[i]?.Amount ?? ""
|
||
: "")
|
||
</td>
|
||
</tr>
|
||
}
|
||
|
||
</table>
|
||
|
||
</div>
|
||
</fieldset>
|
||
</div>
|
||
|
||
</fieldset>
|
||
</div>
|
||
</div>
|
||
|
||
</div>
|
||
|
||
|
||
|
||
<input type="hidden" asp-for="Id" value="@Model.Id" />
|
||
|
||
|
||
<div class="modal-footer" style="border-top: unset; padding: 1px 15px 10px;">
|
||
<div class="container">
|
||
<div class="row">
|
||
<div class="col-12 text-start">
|
||
<button type="button" class="btn btn-rounded waves-effect waves-light m-b-10 text-white" data-bs-dismiss="modal" aria-label="Close" style="background-color: #454D5C;width: 100px;">بستن فرم</button>
|
||
<button id="btnPrint" type="button" class="btn btn-success btn-rounded waves-effect waves-light" style="width: 100px;">پرینت</button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</form>
|
||
<!--<script src="~/AdminTheme/assets/js/workingHoursPrintable.js"></script>-->
|
||
|
||
<script src="~/assetsclient/pages/checkouts/js/printonerollcall.js?ver=@clientVersion"></script>
|