524 lines
15 KiB
Plaintext
524 lines
15 KiB
Plaintext
@model CompanyManagment.App.Contracts.FileEmployer.CreateFileEmployer
|
||
|
||
@{
|
||
<style>
|
||
|
||
#thh table {
|
||
width: 100%;
|
||
height: 150px;
|
||
text-align: center;
|
||
margin: 0 auto;
|
||
}
|
||
|
||
#thh th, td {
|
||
padding: 10px 20px;
|
||
}
|
||
|
||
#thh th {
|
||
background-color: #bdbdbd;
|
||
text-align: center;
|
||
}
|
||
|
||
#thh td:nth-child(odd) {
|
||
border-left: 1px solid #fff;
|
||
width: 40%;
|
||
text-align: center;
|
||
}
|
||
|
||
#thh td:nth-child(even) {
|
||
text-align: center;
|
||
}
|
||
|
||
#thh th:nth-child(odd) {
|
||
border-left: 1px solid #fff;
|
||
}
|
||
|
||
#thh tr:nth-child(odd) {
|
||
background-color: #d7d7d7;
|
||
}
|
||
|
||
#thh tr:nth-child(even) {
|
||
background-color: rgb(224, 227, 228);
|
||
}
|
||
|
||
|
||
|
||
#thh2 table {
|
||
width: 100%;
|
||
height: 150px;
|
||
text-align: center;
|
||
margin: 0 auto;
|
||
}
|
||
|
||
#thh2 th, td {
|
||
padding: 10px 20px;
|
||
}
|
||
|
||
#thh2 th {
|
||
background-color: #bdbdbd;
|
||
text-align: center;
|
||
}
|
||
|
||
#thh2 td:nth-child(odd) {
|
||
border-left: 1px solid #afafaf;
|
||
width: 50%;
|
||
text-align: center;
|
||
}
|
||
|
||
#thh2 td:nth-child(even) {
|
||
text-align: center;
|
||
}
|
||
|
||
#thh2 th:nth-child(odd) {
|
||
border-left: 1px solid #afafaf;
|
||
}
|
||
|
||
#thh2 tr:nth-child(odd) {
|
||
background-color: lightblue;
|
||
}
|
||
|
||
#thh2 tr:nth-child(even) {
|
||
background-color: rgb(224, 227, 228);
|
||
}
|
||
|
||
#thh2 tr:hover {
|
||
background-color: rgb(108, 186, 250);
|
||
}
|
||
|
||
|
||
|
||
|
||
|
||
|
||
.modal-dialog {
|
||
width: 50% !important;
|
||
}
|
||
|
||
.select2-container {
|
||
width: 100% !important;
|
||
}
|
||
|
||
.modal-footer {
|
||
border-top: unset !important;
|
||
}
|
||
|
||
.modal .modal-dialog .modal-content .modal-footer {
|
||
padding-top: unset !important;
|
||
}
|
||
|
||
p {
|
||
direction: ltr !important;
|
||
text-align: right !important;
|
||
}
|
||
|
||
input[type=radio]:hover {
|
||
cursor: pointer;
|
||
}
|
||
|
||
.military {
|
||
display: none !important;
|
||
}
|
||
|
||
.items {
|
||
border: 1px solid #c7c7c7;
|
||
border-radius: 5px;
|
||
padding: 3px 30px 5px 18px;
|
||
}
|
||
|
||
.persianDateInput1 {
|
||
text-align: center !important;
|
||
}
|
||
</style>
|
||
@*<script>
|
||
$('input:radio[name="Gender"]').change(
|
||
function () {
|
||
if ($(this).is(':checked') && $(this).val() == 'زن') {
|
||
$("#hid").css({ "visibility": "hidden" });
|
||
$("._statusDDL").val('');
|
||
} else if ($(this).is(':checked') && $(this).val() == 'مرد') {
|
||
$("#hid").css({ "visibility": "unset" });
|
||
$("._statusDDL").val('مشمول');
|
||
}
|
||
});
|
||
</script>*@
|
||
}
|
||
|
||
|
||
<div class="modal-header">
|
||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||
|
||
<form asp-page="./Index" asp-page-handler="CreateLegal" id="employee" autocomplete="off"
|
||
method="post"
|
||
data-ajax="true"
|
||
data-callback=""
|
||
data-action="Refresh">
|
||
<div class="modal-body">
|
||
<div class="row">
|
||
<fieldset style="
|
||
border: 1px solid #999797;
|
||
border-radius: 10px;
|
||
padding: revert;
|
||
">
|
||
<legend style="margin-bottom: 5px;font-size: large;border-bottom: 0px;color: #505458;width: 200px;text-align: center;"> مشخصات خوانده/کارفرمای حقوقی</legend>
|
||
<div class="form-group col-md-12" dir="rtl" style="padding: 0px 0px 0px 7px">
|
||
<label asp-for="RepresentativeId">انتخاب معرف <span style="color: red">*</span></label>
|
||
<select class="form-control select-city" asp-for="RepresentativeId" asp-items='new SelectList(Model.RepresentativeViewModels, "Id", "FullName")'>
|
||
</select>
|
||
<span asp-validation-for="RepresentativeId" class="error"></span>
|
||
</div>
|
||
<div class="row">
|
||
<div class="col-md-6">
|
||
<div class="form-group">
|
||
<label asp-for="LegalName" class="control-label"> نام موسسه / شرکت <span style="color: red">*</span> </label>
|
||
<input type="text" class="form-control" asp-for="LegalName">
|
||
<span asp-validation-for="LegalName" class="error"></span>
|
||
|
||
|
||
</div>
|
||
</div>
|
||
<div class="col-md-6">
|
||
<div class="form-group">
|
||
<label asp-for="NationalId" class="control-label"> شناسه ملی</label>
|
||
<input type="text" class="form-control" asp-for="NationalId">
|
||
<span asp-validation-for="NationalId" class="error"></span>
|
||
|
||
</div>
|
||
</div>
|
||
|
||
|
||
</div>
|
||
<div class="row">
|
||
<div class="col-md-6">
|
||
<div class="form-group">
|
||
<label asp-for="RegisterId" class="control-label"> شماره ثبت </label>
|
||
<input type="text" class="form-control" asp-for="RegisterId">
|
||
<span asp-validation-for="RegisterId" class="error"></span>
|
||
|
||
|
||
</div>
|
||
</div>
|
||
<div class="col-md-6">
|
||
<div class="form-group">
|
||
<label asp-for="InsuranceWorkshopCode" class="control-label"> کد تامین اجتماعی</label>
|
||
<input type="text" class="form-control" asp-for="InsuranceWorkshopCode">
|
||
<span asp-validation-for="InsuranceWorkshopCode" class="error"></span>
|
||
|
||
</div>
|
||
</div>
|
||
|
||
|
||
</div>
|
||
<div class="row">
|
||
<div class="col-md-6">
|
||
<div class="form-group">
|
||
<label asp-for="FName" class="control-label">نام مدیر عامل </label>
|
||
<input type="text" class="form-control" asp-for="FName">
|
||
<span asp-validation-for="FName" class="error"></span>
|
||
|
||
|
||
</div>
|
||
</div>
|
||
<div class="col-md-6">
|
||
<div class="form-group">
|
||
<label asp-for="LName" class="control-label"> نام خانوادگی مدیر عامل</label>
|
||
<input type="text" class="form-control" asp-for="LName">
|
||
<span asp-validation-for="LName" class="error"></span>
|
||
|
||
</div>
|
||
</div>
|
||
|
||
|
||
</div>
|
||
|
||
|
||
<div class="row">
|
||
|
||
<div class="col-md-6">
|
||
<div class="form-group">
|
||
<label asp-for="IdNumber" class="control-label">شماره شناسنامه</label>
|
||
<input type="text" class="form-control" asp-for="IdNumber">
|
||
<span asp-validation-for="IdNumber" class="error"></span>
|
||
|
||
</div>
|
||
</div>
|
||
<div class="col-md-6">
|
||
<div class="form-group">
|
||
<label asp-for="NationalCode" class="control-label">کد ملی </label>
|
||
<input type="text" class="form-control" asp-for="NationalCode">
|
||
<span asp-validation-for="NationalCode" class="error"></span>
|
||
|
||
</div>
|
||
</div>
|
||
|
||
|
||
</div>
|
||
<div class="row">
|
||
<div class="col-md-6">
|
||
<div class="form-group">
|
||
<div>
|
||
<label asp-for="DateOfBirth" class="control-label">تاریخ تولد</label>
|
||
<input class="form-control persianDateInput" placeholder="مثال : 1399/01/01" asp-for="DateOfBirth"/>
|
||
|
||
<span asp-validation-for="DateOfBirth" class="error"></span>
|
||
|
||
</div>
|
||
|
||
</div>
|
||
</div>
|
||
<div class="col-md-6">
|
||
<div class="form-group">
|
||
<label style="visibility: hidden" class="control-label">تاریخ تولد</label>
|
||
<input class="form-control persianDateInput" disabled="disabled"/>
|
||
|
||
|
||
</div>
|
||
|
||
|
||
</div>
|
||
</div>
|
||
<div class="row">
|
||
<div class="col-md-6">
|
||
<div class="form-group">
|
||
<label asp-for="LevelOfEducation" class="control-label"> سطح تحصیلات </label>
|
||
<select class="form-control" asp-for="LevelOfEducation">
|
||
<option value=""> </option>
|
||
<option value="سیکل"> سیکل </option>
|
||
<option value="دیپلم"> دیپلم</option>
|
||
<option value="فوق دیپلم"> فوق دیپلم </option>
|
||
<option value="لیسانس"> لیسانس</option>
|
||
<option value="فوق لیسانس"> فوق لیسانس</option>
|
||
<option value="دکتری"> دکتری</option>
|
||
</select>
|
||
</div>
|
||
</div>
|
||
<div class="col-md-6">
|
||
<div class="form-group">
|
||
<label asp-for="FieldOfStudy" class="control-label"> رشته تحصیلی </label>
|
||
<input type="text" class="form-control" asp-for="FieldOfStudy">
|
||
<span asp-validation-for="FieldOfStudy" class="error"></span>
|
||
</div>
|
||
</div>
|
||
|
||
|
||
</div>
|
||
|
||
<div class="row">
|
||
<div class="col-md-6">
|
||
<div class="form-group">
|
||
<label asp-for="Phone" class="control-label"> شماره همراه </label>
|
||
<input type="text" class="form-control" asp-for="Phone">
|
||
<span asp-validation-for="Phone" class="error"></span>
|
||
</div>
|
||
</div>
|
||
<div class="col-md-6">
|
||
<div class="form-group">
|
||
<label asp-for="OfficePhone" class="control-label"> شماره ثابت </label>
|
||
<input type="text" class="form-control" asp-for="OfficePhone">
|
||
<span asp-validation-for="OfficePhone" class="error"></span>
|
||
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
|
||
</fieldset>
|
||
<fieldset style="border: 1px solid #999797;border-radius: 10px;padding: revert;">
|
||
<legend style="margin-bottom: 5px;font-size: large;border-bottom: 0px;color: #505458;width: 210px;text-align: center;"> اطلاعات سامانه ای ادارات </legend>
|
||
<div class="row">
|
||
<div class="col-md-6">
|
||
<div class="form-group">
|
||
<label asp-for="MclsUserName" class="control-label">نام کاربری اداره کار</label>
|
||
<input style="background-color: #e0ffe0;" type="text" class="form-control" asp-for="MclsUserName">
|
||
|
||
</div>
|
||
</div>
|
||
<div class="col-md-6">
|
||
<div class="form-group">
|
||
<label asp-for="MclsPassword" class="control-label">رمز عبور اداره کار</label>
|
||
<input style="background-color: #e0ffe0;" type="text" class="form-control" asp-for="MclsPassword">
|
||
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="row">
|
||
<div class="col-md-6">
|
||
<div class="form-group">
|
||
<label asp-for="EserviceUserName" class="control-label" style="direction: ltr">E Service نام کاربری </label>
|
||
<input style="background-color: #e0ffe0;" type="text" class="form-control" asp-for="EserviceUserName">
|
||
|
||
</div>
|
||
</div>
|
||
<div class="col-md-6">
|
||
<div class="form-group">
|
||
<label asp-for="EservicePassword" class="control-label" style="direction: ltr">E Service رمز عبور </label>
|
||
<input style="background-color: #e0ffe0;" type="text" class="form-control" asp-for="EservicePassword">
|
||
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="row">
|
||
<div class="col-md-6">
|
||
<div class="form-group">
|
||
<label asp-for="TaxOfficeUserName" class="control-label"> نام کاربری سامانه مالیات </label>
|
||
<input style="background-color: #e0ffe0;" type="text" class="form-control" asp-for="TaxOfficeUserName">
|
||
|
||
</div>
|
||
</div>
|
||
<div class="col-md-6">
|
||
<div class="form-group">
|
||
<label asp-for="TaxOfficepassword" class="control-label"> رمز عبور سامانه مالیات </label>
|
||
<input style="background-color: #e0ffe0;" type="text" class="form-control" asp-for="TaxOfficepassword">
|
||
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="row">
|
||
<div class="col-md-6">
|
||
<div class="form-group">
|
||
<label asp-for="SanaUserName" class="control-label"> نام کاربری سامانه ثنا </label>
|
||
<input style="background-color: #e0ffe0;" type="text" class="form-control" asp-for="SanaUserName">
|
||
|
||
</div>
|
||
</div>
|
||
<div class="col-md-6">
|
||
<div class="form-group">
|
||
<label asp-for="SanaPassword" class="control-label"> رمز عبور سامانه ثنا </label>
|
||
<input style="background-color: #e0ffe0;" type="text" class="form-control" asp-for="SanaPassword">
|
||
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
</fieldset>
|
||
</div>
|
||
|
||
</div>
|
||
@*<input type="hidden" asp-for="id" value="id"/>*@
|
||
|
||
<div class="modal-footer">
|
||
|
||
<button type="submit" class="btn btn-success btn-rounded waves-effect waves-light" onclick="sum()">ذخیره</button>
|
||
|
||
<button type="button" class="btn btn-default btn-rounded waves-effect waves-light m-b-5" data-dismiss="modal">بستن</button>
|
||
</div>
|
||
|
||
</form>
|
||
|
||
</div>
|
||
|
||
|
||
<script language="javascript" src="~/AdminTheme/js/city.js"></script>
|
||
<script>
|
||
function sum() {
|
||
|
||
|
||
const y = document.getElementById('city');
|
||
const City1 = y.options[y.selectedIndex].text;
|
||
|
||
document.getElementById('hide2').value = City1;
|
||
|
||
|
||
}
|
||
</script>
|
||
|
||
|
||
@*<script>
|
||
//$("#add").click(function (e) {
|
||
// e.preventDefault();
|
||
// var a = ($(".items").length) / 2;
|
||
|
||
// var n = '<tr class="ss"> <td><input type="text" class="items" name="CreateEmployeChildrenList[' +
|
||
// a +
|
||
// '].FName" /></td>' +
|
||
// '<td><input type="text" style="text-align: center !important;" class="items persianDateInput2" name="CreateEmployeChildrenList[' +
|
||
// a +
|
||
// '].DateOfBirth" /><a href="#" class="remove_items" style="padding-right:5px"><i style="color: red;" class="ion-close-circled"></i></a></td></tr>';
|
||
|
||
|
||
// $("#item-list").append(n);
|
||
|
||
|
||
// $('.persianDateInput2').persianDatepicker({
|
||
// format: 'YYYY/MM/DD',
|
||
// initialValueType: 'persian',
|
||
// initialValue: false,
|
||
|
||
// 'position': [-270, 25],
|
||
// autoClose: true
|
||
// });
|
||
|
||
//});
|
||
//$(".remove_item").click(function (e) {
|
||
// e.preventDefault();
|
||
|
||
|
||
|
||
// $(this.ss).remove();;
|
||
|
||
|
||
|
||
|
||
//});
|
||
//$(".ss").on('click',
|
||
// 'remove_items',
|
||
// function (e) {
|
||
// e.preventDefault();
|
||
// $(this).parent().remove();
|
||
// });
|
||
</script>*@
|
||
<script>
|
||
$('.persianDateInput1').persianDatepicker({
|
||
format: 'YYYY/MM/DD',
|
||
initialValueType: 'persian',
|
||
initialValue: false,
|
||
|
||
'position': [-270, 25],
|
||
autoClose: true,
|
||
inline: true,
|
||
calendar: {
|
||
persian: {
|
||
leapYearMode: 'astronomical'
|
||
}
|
||
}
|
||
});
|
||
</script>
|
||
|
||
|
||
<script>
|
||
$('.add_project_file').click(function(e) {
|
||
e.preventDefault();
|
||
const a = ($(".items").length) / 2;
|
||
$(".project_images").append(
|
||
`<tr><td><input type="text" class="items" name="CreateEmployeChildrenList[${a
|
||
}].FName" /></td><td><input type="text" style="text-align: center !important;" class="items persianDateInput2" name="CreateEmployeChildrenList[${
|
||
a}].DateOfBirth" /><a href="#" class="remove_project_file" style="padding-right:5px"><i style="color: red;" class="ion-close-circled"></i></a></td></tr>`);
|
||
$('.persianDateInput2').persianDatepicker({
|
||
format: 'YYYY/MM/DD',
|
||
initialValueType: 'persian',
|
||
initialValue: false,
|
||
|
||
'position': [-270, 25],
|
||
autoClose: true,
|
||
inline: true,
|
||
calendar: {
|
||
persian: {
|
||
leapYearMode: 'astronomical'
|
||
}
|
||
}
|
||
});
|
||
});
|
||
|
||
// Remove parent of 'remove' link when link is clicked.
|
||
$('.project_images').on('click',
|
||
'.remove_project_file',
|
||
function(e) {
|
||
e.preventDefault();
|
||
|
||
$(this).closest('tr').remove();
|
||
});
|
||
</script>
|
||
|
||
|
||
@*<script src="~/lib/select2/js/select2.js"></script>
|
||
<script src="~/lib/select2/js/i18n/fa.js"></script>*@ |