Files
Backend-Api/ServiceHost/Areas/Client/Pages/Company/CustomizeCheckout/_ModalEmployeeSettingPartials/LeavePayAndInsuranceDeduction.cshtml

59 lines
5.1 KiB
Plaintext

@using _0_Framework.Domain.CustomizeCheckoutShared.Enums
@using Microsoft.AspNetCore.Mvc.TagHelpers
@model CompanyManagment.App.Contracts.CustomizeWorkshopSettings.EditCustomizeEmployeeSettings
<div class="row my-2">
<div class="col-12 mb-2">
<div class="rollCallInfo">
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="16" cy="16" r="12" fill="#2FC1C1" />
<path d="M17.3333 9.33333C17.3333 10.0697 16.7363 10.6667 16 10.6667C15.2636 10.6667 14.6666 10.0697 14.6666 9.33333C14.6666 8.59695 15.2636 8 16 8C16.7363 8 17.3333 8.59695 17.3333 9.33333Z" fill="#FFE2E2" />
<path d="M16 22.0013V15.3346C16 14.2416 16 13.695 15.7288 13.3076C15.6284 13.1643 15.5037 13.0396 15.3604 12.9392C14.973 12.668 14.4265 12.668 13.3334 12.668V12.668M16 22.0013H18M16 22.0013H14" stroke="#FFE2E2" />
</svg>
<span>این تنظیمات در محاسبات فیش حقوق قانونی اداره کار تاثیری نخواهد داشت.</span>
</div>
</div>
<div class="col-12 group-container">
<div class="titleSettingRollCall">مزد مرخصی</div>
<div class="form-group my-1 group">
<input type="radio" name="Command.LeavePay.LeavePayType" id="LeavePayType1" class="form-check-input Main-Radio" @(Model.LeavePay.LeavePayType == LeavePayType.None ? "checked" : "") value="@((int)(LeavePayType.None))" />
<label for="LeavePayType1">مزد مرخصی پرداخت نمیگردد و در فیش حقوقی محاسبه نگردد.</label>
</div>
<div class="form-group my-1 group">
<input type="radio" name="Command.LeavePay.LeavePayType" id="LeavePayType2" class="form-check-input Main-Radio" @(Model.LeavePay.LeavePayType == LeavePayType.Pay ? "checked" : "") value="@((int)(LeavePayType.Pay))"/>
<label for="LeavePayType2">در صورتی که پرسنل از مرخصی استفاده ننماید، </label>
<select class="form-control-select sub-input @(Model.LeavePay.LeavePayType == LeavePayType.Pay ? "" : "disabled")" name="Command.LeavePay.Value" @(Model.LeavePay.LeavePayType == LeavePayType.Pay ? "asp-for='Model.LeavePay.Value'" : "disabled")>
<option value="1" >1</option>
<option value="2" >2</option>
</select>
<label for="LeavePayType2">برابر حقوق در فیش حقوقی محاسبه گردد.</label>
</div>
</div>
<div class="col-12">
<div class="lineHr my-3"></div>
</div>
<div class="col-12 group-container">
<div class="titleSettingRollCall">حق بیمه</div>
<div class="form-group my-1 group">
<input type="radio" name="Command.InsuranceDeduction.InsuranceDeductionType" id="InsuranceDeductionType1" class="form-check-input Main-Radio" @(Model.InsuranceDeduction.InsuranceDeductionType == InsuranceDeductionType.None ? "checked" : "") value="@((int)(InsuranceDeductionType.None))" />
<label for="InsuranceDeductionType1">حق بیمه پرداخت نمیشود.</label>
</div>
<div class="form-group my-1 group">
<input type="radio" name="Command.InsuranceDeduction.InsuranceDeductionType" id="InsuranceDeductionType2" class="form-check-input Main-Radio" @(Model.InsuranceDeduction.InsuranceDeductionType == InsuranceDeductionType.BasedOnLaborLaw ? "checked" : "") value="@((int)(InsuranceDeductionType.BasedOnLaborLaw))" />
<label for="InsuranceDeductionType2">براساس قوانین کار (حقوق + بن کارگری + بن مسکن + حق تاهل) * 7%</label>
</div>
<div class="form-group my-1 group">
<input type="radio" name="Command.InsuranceDeduction.InsuranceDeductionType" id="InsuranceDeductionType3" class="form-check-input Main-Radio" @(Model.InsuranceDeduction.InsuranceDeductionType == InsuranceDeductionType.PercentageOfSalary ? "checked" : "") value="@((int)(InsuranceDeductionType.PercentageOfSalary))" />
<label for="InsuranceDeductionType3">براساس درصد از حقوق تعیین</label>
<input type="text" class="sub-input form-control-percent" maxlength="3" name="Command.InsuranceDeduction.Value" value="@(Model.InsuranceDeduction.InsuranceDeductionType == InsuranceDeductionType.PercentageOfSalary? Model.InsuranceDeduction.Value : "")" @((Model.InsuranceDeduction.Value != 0 && Model.InsuranceDeduction.InsuranceDeductionType == InsuranceDeductionType.PercentageOfSalary) ? "" : "disabled") />
</div>
<div class="form-group my-1 group">
<input type="radio" name="Command.InsuranceDeduction.InsuranceDeductionType" id="InsuranceDeductionType4" class="form-check-input Main-Radio" @(Model.InsuranceDeduction.InsuranceDeductionType == InsuranceDeductionType.Money ? "checked" : "") value="@((int)(InsuranceDeductionType.Money))" />
<label for="InsuranceDeductionType4">ماهیانه</label>
<input type="text" class="sub-input form-control-currency" name="Command.InsuranceDeduction.Value" value="@(Model.InsuranceDeduction.InsuranceDeductionType == InsuranceDeductionType.Money? Model.InsuranceDeduction.Value : "")" @((Model.InsuranceDeduction.Value != 0 && Model.InsuranceDeduction.InsuranceDeductionType == InsuranceDeductionType.Money) ? "" : "disabled") />
<label for="InsuranceDeductionType4">ریال</label>
</div>
</div>
</div>