890 lines
46 KiB
Plaintext
890 lines
46 KiB
Plaintext
@page
|
||
@using CompanyManagment.App.Contracts.PersonalContractingParty
|
||
@model ServiceHost.Areas.Admin.Pages.Company.Contracts.IndexModel
|
||
|
||
|
||
@{
|
||
//string colaps = "in";
|
||
//string act = "active";
|
||
int i = 1;
|
||
|
||
string adminVersion = _0_Framework.Application.Version.AdminVersion;
|
||
}
|
||
|
||
@{
|
||
//Layout = "~/Pages/Shared/_Layout.cshtml";
|
||
Layout = "Shared/_AdminLayout";
|
||
ViewData["title"] = "قرارداد";
|
||
<style>
|
||
.bgGray, .bgGray:hover{
|
||
background-color:#b5b5b5 !important;
|
||
color: #646464;
|
||
}
|
||
a.disabled {
|
||
pointer-events: none;
|
||
cursor: default;
|
||
background-color: grey !important;
|
||
border-color: grey !important;
|
||
}
|
||
|
||
a.myLinkSign.disabled {
|
||
background-color:#b5b5b5 !important;
|
||
}
|
||
.sizeSet {
|
||
padding: 2px !important;
|
||
text-align: center !important;
|
||
}
|
||
|
||
.rad {
|
||
border-radius: 8px !important;
|
||
/* padding: 10px; */
|
||
padding: 2px 5px 0px 5px;
|
||
}
|
||
|
||
.ionSize {
|
||
font-size: 20px !important;
|
||
top: 2px !important;
|
||
position: relative;
|
||
}
|
||
|
||
.dailyWageReportIcon {
|
||
font-size: 20px !important;
|
||
top: 2px !important;
|
||
position: relative;
|
||
padding :6px !important;
|
||
}
|
||
|
||
.ionRad {
|
||
border-radius: 8px !important;
|
||
padding: 0px 7px 0px 7px !important;
|
||
background-color: #ff7700 !important;
|
||
border-color: #ff7700 !important;
|
||
}
|
||
|
||
.ionRad2 {
|
||
border-radius: 8px !important;
|
||
padding: 0px 7px 0px 7px !important;
|
||
background-color: #7c7a7a !important;
|
||
border-color: #7c7a7a !important;
|
||
}
|
||
|
||
.faSize {
|
||
font-size: 22px !important;
|
||
}
|
||
|
||
.thh0 {
|
||
width: 8px !important;
|
||
}
|
||
|
||
.thh {
|
||
width: 40px !important;
|
||
}
|
||
|
||
.thh2 {
|
||
width: 130px !important;
|
||
}
|
||
|
||
.thhNastionalId {
|
||
width: 30px !important;
|
||
}
|
||
|
||
.inpt {
|
||
width: 100%;
|
||
border: 1px solid #c7c7c7;
|
||
}
|
||
|
||
.searchpanel {
|
||
background-color: #747272;
|
||
}
|
||
|
||
select {
|
||
cursor: pointer;
|
||
}
|
||
|
||
.panel-default > .panel-heading {
|
||
background-color: #1b9998 !important;
|
||
}
|
||
|
||
|
||
|
||
|
||
|
||
.tooltip-container {
|
||
cursor: pointer;
|
||
position: relative;
|
||
display: inline-block;
|
||
}
|
||
|
||
.tooltip2-container {
|
||
cursor: pointer;
|
||
position: relative;
|
||
display: inline-block;
|
||
}
|
||
|
||
.tooltipfull-container {
|
||
cursor: pointer;
|
||
position: relative;
|
||
display: inline-block;
|
||
}
|
||
|
||
.tooltip {
|
||
opacity: 0;
|
||
z-index: 99;
|
||
color: #fff;
|
||
width: 220px;
|
||
display: block;
|
||
font-size: 14px;
|
||
font-family: 'IranSans';
|
||
padding: 5px 10px;
|
||
border-radius: 3px;
|
||
text-align: center;
|
||
/*text-shadow: 1px 1px 2px #111;*/
|
||
background: #e67e22;
|
||
border: 1px solid #e67e22;
|
||
box-shadow: 0 0 3px rgba(0,0,0,0.5);
|
||
-webkit-transition: all .2s ease-in-out;
|
||
-moz-transition: all .2s ease-in-out;
|
||
-o-transition: all .2s ease-in-out;
|
||
-ms-transition: all .2s ease-in-out;
|
||
transition: all .2s ease-in-out;
|
||
-webkit-transform: scale(0);
|
||
-moz-transform: scale(0);
|
||
-o-transform: scale(0);
|
||
-ms-transform: scale(0);
|
||
transform: scale(0);
|
||
position: absolute;
|
||
right: -50px;
|
||
bottom: 40px;
|
||
}
|
||
|
||
.tooltip:before, .tooltip:after {
|
||
content: '';
|
||
border-left: 10px solid transparent;
|
||
border-right: 10px solid transparent;
|
||
border-top: 10px solid #e67e22;
|
||
position: absolute;
|
||
bottom: -10px;
|
||
left: 70%;
|
||
}
|
||
|
||
.tooltip-container:hover .tooltip, a:hover .tooltip {
|
||
opacity: 1;
|
||
-webkit-transform: scale(1);
|
||
-moz-transform: scale(1);
|
||
-o-transform: scale(1);
|
||
-ms-transform: scale(1);
|
||
transform: scale(1);
|
||
}
|
||
|
||
.tooltip2 {
|
||
opacity: 0;
|
||
z-index: 99;
|
||
color: #fff;
|
||
width: 220px;
|
||
display: block;
|
||
font-size: 14px;
|
||
font-family: 'IranSans';
|
||
padding: 5px 10px;
|
||
border-radius: 3px;
|
||
text-align: center;
|
||
/*text-shadow: 1px 1px 2px #111;*/
|
||
background: #e67e22;
|
||
border: 1px solid #e67e22;
|
||
box-shadow: 0 0 3px rgba(0,0,0,0.5);
|
||
-webkit-transition: all .2s ease-in-out;
|
||
-moz-transition: all .2s ease-in-out;
|
||
-o-transition: all .2s ease-in-out;
|
||
-ms-transition: all .2s ease-in-out;
|
||
transition: all .2s ease-in-out;
|
||
-webkit-transform: scale(0);
|
||
-moz-transform: scale(0);
|
||
-o-transform: scale(0);
|
||
-ms-transform: scale(0);
|
||
transform: scale(0);
|
||
position: absolute;
|
||
right: -90px;
|
||
bottom: 40px;
|
||
}
|
||
|
||
.tooltip2:before, .tooltip2:after {
|
||
content: '';
|
||
border-left: 10px solid transparent;
|
||
border-right: 10px solid transparent;
|
||
border-top: 10px solid #e67e22;
|
||
position: absolute;
|
||
bottom: -10px;
|
||
left: 50%;
|
||
}
|
||
|
||
.tooltip2-container:hover .tooltip2, a:hover .tooltip2 {
|
||
opacity: 1;
|
||
-webkit-transform: scale(1);
|
||
-moz-transform: scale(1);
|
||
-o-transform: scale(1);
|
||
-ms-transform: scale(1);
|
||
transform: scale(1);
|
||
}
|
||
|
||
|
||
.tooltipfull {
|
||
opacity: 0;
|
||
z-index: 99;
|
||
color: #fff;
|
||
/* width: 180px;*/
|
||
display: block;
|
||
font-size: 12px;
|
||
font-family: 'IranSans';
|
||
padding: 5px 10px;
|
||
border-radius: 15px;
|
||
text-align: center;
|
||
/*text-shadow: 1px 1px 2px #111;*/
|
||
background: #950000;
|
||
border: 1px solid #950000;
|
||
box-shadow: 0 0 3px rgba(0,0,0,0.5);
|
||
-webkit-transition: all .2s ease-in-out;
|
||
-moz-transition: all .2s ease-in-out;
|
||
-o-transition: all .2s ease-in-out;
|
||
/* -ms-transition: all .2s ease-in-out;*/
|
||
transition: all .2s ease-in-out;
|
||
-webkit-transform: scale(0);
|
||
-moz-transform: scale(0);
|
||
-o-transform: scale(0);
|
||
-ms-transform: scale(0);
|
||
transform: scale(0);
|
||
position: absolute;
|
||
right: -2px;
|
||
bottom: 20px;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.tooltipfull:before, .tooltipfull:after {
|
||
content: '';
|
||
border-left: 10px solid transparent;
|
||
border-right: 10px solid transparent;
|
||
border-top: 10px solid #950000;
|
||
position: absolute;
|
||
bottom: -10px;
|
||
left: 50%;
|
||
}
|
||
|
||
.tooltipfull-containerText:hover .tooltipfull, a:hover .tooltipfull {
|
||
opacity: 1;
|
||
-webkit-transform: scale(1);
|
||
-moz-transform: scale(1);
|
||
-o-transform: scale(1);
|
||
-ms-transform: scale(1);
|
||
transform: scale(1);
|
||
}
|
||
|
||
@@media screen and (max-width: 1920px) {
|
||
.fulltext {
|
||
font-family: 'IranSans' !important;
|
||
font-size: 12px !important;
|
||
text-align: right;
|
||
white-space: nowrap !important;
|
||
max-width: 170px;
|
||
width: 170px;
|
||
}
|
||
}
|
||
|
||
@@media screen and (max-width: 1440px) {
|
||
.fulltext {
|
||
font-family: 'IranSans' !important;
|
||
font-size: 12px !important;
|
||
text-align: right;
|
||
white-space: nowrap !important;
|
||
max-width: 105px;
|
||
width: 105px;
|
||
overflow-x: hidden;
|
||
text-overflow: ellipsis
|
||
}
|
||
}
|
||
::-webkit-scrollbar {
|
||
width: 8px;
|
||
}
|
||
|
||
::-webkit-scrollbar-track {
|
||
background: #dfdfdf;
|
||
border-radius: 5px;
|
||
}
|
||
|
||
::-webkit-scrollbar-thumb {
|
||
background: brown;
|
||
border-radius: 5px;
|
||
}
|
||
.opt {
|
||
background-color: #f5f5f5;
|
||
border-radius: 10px;
|
||
text-align: right;
|
||
padding: 2px 5px
|
||
}
|
||
.opt:hover {
|
||
background-color: #d3f3f5 !important;
|
||
}
|
||
.selectDiv {
|
||
position: relative;
|
||
z-index: 1;
|
||
border-radius: 10px;
|
||
min-height: 20px;
|
||
max-height: 140px;
|
||
overflow: hidden scroll;
|
||
width: 100%;
|
||
background-color: rgb(255 255 255);
|
||
display: block;
|
||
box-shadow: 0px -1px 12px 0px rgba(0,0,0,.16), 2px 1px 10px 0 rgba(0,0,0,.12);
|
||
}
|
||
.selectedOption {
|
||
color: #04556a !important;
|
||
background-color: #e0f8ff !important;
|
||
}
|
||
.keyboardSelected {
|
||
color: #04556a !important;
|
||
background-color: #e0f8ff !important;
|
||
}
|
||
|
||
/*-----------change by Heydari-----------*/
|
||
.alarm{
|
||
background-color: #eb3434;
|
||
animation: color-change 1500ms linear infinite;
|
||
}
|
||
#datatable td{
|
||
position: relative;
|
||
}
|
||
@@keyframes color-change{
|
||
0% {
|
||
background-color: #eb3434;
|
||
}
|
||
|
||
50% {
|
||
background-color: #e5e5e5;
|
||
}
|
||
|
||
100% {
|
||
background-color: #eb3434;
|
||
}
|
||
}
|
||
table.dataTable thead .sorting_asc_disabled:after,
|
||
table.dataTable thead .sorting_desc_disabled:after,
|
||
table.dataTable thead .sorting:after {
|
||
display: none;
|
||
}
|
||
table.dataTable thead > tr > th {
|
||
padding-left: 8px;
|
||
padding-right: 12px;
|
||
}
|
||
.name-td {
|
||
font-family: 'Web_Yekan' !important;
|
||
font-size: 12px !important;
|
||
max-width: 100px;
|
||
position: relative;
|
||
}
|
||
.operation-td.screen-view{
|
||
justify-content: left;
|
||
flex-direction: row-reverse;
|
||
}
|
||
.employee-operations:before{
|
||
left: 49px;
|
||
}
|
||
.code-td {
|
||
text-align: center;
|
||
font-size: 12px !important;
|
||
max-width: 100px;
|
||
position: relative;
|
||
}
|
||
.fulltext {
|
||
opacity: 0;
|
||
white-space: nowrap;
|
||
}
|
||
.ellipsed {
|
||
display: block;
|
||
width: 100%;
|
||
text-overflow: ellipsis;
|
||
overflow-x: clip;
|
||
white-space: nowrap;
|
||
}
|
||
.date-box{
|
||
display: flex;
|
||
align-items: center;
|
||
}
|
||
.tooltipfull-containerText {
|
||
cursor: pointer;
|
||
position: absolute;
|
||
display: inline-block;
|
||
right: 9px;
|
||
top: 13px;
|
||
}
|
||
@@media(max-width: 550px){
|
||
.name-td {
|
||
font-size: 10px !important;
|
||
max-width: 75px;
|
||
position: relative;
|
||
}
|
||
.code-td {
|
||
text-align: center;
|
||
font-size: 9px !important;
|
||
max-width: 60px;
|
||
position: relative;
|
||
}
|
||
.table>tbody>tr>td{
|
||
padding: 8px 0;
|
||
}
|
||
.employee-operations {
|
||
width: 5rem;
|
||
font-size: 10px;
|
||
}
|
||
.form-group {
|
||
margin: 3px auto !important;
|
||
}
|
||
}
|
||
@@media(max-width: 400px){
|
||
.name-td {
|
||
max-width: 55px;
|
||
}
|
||
}
|
||
</style>
|
||
var selctedOption = "selectedOption";
|
||
}
|
||
@section Styles
|
||
{
|
||
<link href="@Href("~/admintheme/css/moreBtnsPopup.css")" rel="stylesheet" />
|
||
}
|
||
<div class="row">
|
||
<div class="row">
|
||
<div class="col-sm-12 m-r-10">
|
||
<p class="pull-right">
|
||
<a permission="20110" id="btnPopModal" href="#showmodal=@Url.Page("/Company/Contracts/Index", "Create")" class="btn btn-success btn-rounded waves-effect waves-light m-b-5" style="visibility: hidden; background-color: #f5f5f5; border-color: #0f9500; font-family: 'Web_Yekan' !important; color: #0f9500 !important; margin-right: 10px "> <i class="fa fa-user-plus" style="padding-left: 3px; font-size: 14px; color: #0f9500 !important "></i> ایجاد قرارداد جدید </a>
|
||
</p>
|
||
<p class="pull-right">
|
||
<a permission="20111" href="#showmodal=@Url.Page("/Company/Contracts/Index" , "Extension")" class="btn btn-success btn-rounded waves-effect waves-light m-b-5" style="visibility: hidden; background-color: #f5f5f5; border-color: #337ab7; font-family: 'Web_Yekan' !important; color: #337ab7 !important; margin-right: 10px "> <i class="fa fa-copy" style="padding-left: 3px; font-size: 14px; color: #337ab7 !important "></i> تمدید قرارداد </a>
|
||
</p>
|
||
<input type="hidden" id="sercheCheck" value="@Model.WorkshopSearch" />
|
||
<input type="hidden" id="sercheDeleteCheck" value="@Model.DeleteCheck" />
|
||
<input type="hidden" id="sercheSignCheck" value="@Model.SignCheck" />
|
||
|
||
@*href="#showmodal=@Url.Page("./Index", "PrintAll", new {ids = idss})"*@
|
||
</div>
|
||
</div>
|
||
<div class="col-sm-12">
|
||
<div permission="20112" class="panel-group panel-group-joined" id="accordion-test">
|
||
<div class="panel panel-default" style="border-radius: 15px !important; background-color: #d5e5e5; ">
|
||
<div class="panel-heading" style="background-color: #1b9998 !important">
|
||
<h4 class="panel-title" style="color: #edebeb !important; display: inline;">
|
||
<a data-toggle="collapse" data-parent="#accordion-test" href="#collapseOne" class="collapsed" style="display: inline;">
|
||
جستجوی قرارداد
|
||
</a>
|
||
</h4>
|
||
</div>
|
||
<div id="collapseOne" class="panel-collapse collapse in ">
|
||
<div class="panel-body" style="padding-top: 15px; padding-bottom: 15px;">
|
||
@*===================================================================================================================*@
|
||
<div class="row">
|
||
<div class="col-sm-12">
|
||
<form class="form-inline" role="form" method="get" name="search-theme-form" id="search-theme-form" autocomplete="off">
|
||
<div class="form-group col-sm-12">
|
||
<div class="row">
|
||
<div class=" col-md-3 col-sm-6 col-xs-12 pull-right">
|
||
<div class="form-group" style="width: 100% !important; margin: 0 auto;">
|
||
<select class="form-control select-city" asp-for="SearchModel.EmployerId" asp-items="Model.Employers" style="width: 100% !important">
|
||
<option value="0"> کارفرما </option>
|
||
</select>
|
||
</div>
|
||
</div>
|
||
<div class="col-md-3 col-sm-6 col-xs-12 pull-right">
|
||
<div class="form-group" style="width: 100% !important; margin: 0 auto;">
|
||
<select class="form-control select-city" asp-for="SearchModel.WorkshopIds" asp-items="Model.Workshops" style="width: 100% !important">
|
||
<option value="0"> کارگاه </option>
|
||
</select>
|
||
</div>
|
||
</div>
|
||
<div class="col-md-3 col-sm-6 col-xs-12 pull-right" style="height: 34px">
|
||
<label class="sr-only"></label>
|
||
<input type="hidden" class="sendEmployeeId" asp-for="SearchModel.EmployeeId"/>
|
||
<input type="hidden" asp-for="SearchModel.EmployeeName" />
|
||
<input type="search" value="@Model.employeeFullName" id="empSearch" class="form-control @{
|
||
if(!string.IsNullOrWhiteSpace(@Model.employeeFullName)){
|
||
@selctedOption
|
||
}
|
||
}" autocomplete="off" placeholder="نام و نام خانوادگی پرسنل " style="width: 100%;position: relative">
|
||
<div id="emp" class="selectDiv">
|
||
<ul class="searchResult m-t-10" style="list-style-type: none; padding: 5px">
|
||
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
<div class="col-md-3 col-sm-6 col-xs-12 pull-right">
|
||
<div class="form-group" style="width: 100% !important; margin: 0 auto;">
|
||
<label class="sr-only" asp-for="SearchModel.ContractNo"></label>
|
||
<input class="form-control inpt" asp-for="SearchModel.ContractNo" placeholder=" شماره قرارداد " style="width: 100%">
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<hr style=" margin-top: 12px;margin-bottom: 12px;" />
|
||
<div class="row" dir="rtl">
|
||
<div class="col-md-3 col-sm-6 col-xs-12 pull-right date-box" dir="rtl">
|
||
<div class="form-group" style="width: 36% !important; margin: 0 auto; font-size: 14px !important;">
|
||
انتخاب تاریخ
|
||
</div>
|
||
<div class="form-group" style="width: 30% !important; margin: 0 auto;">
|
||
<select class="form-control " asp-for="SearchModel.Year" style="width: 100% !important">
|
||
<option value=" "> سال </option>
|
||
@foreach (string itemi in @Model.YearlyList)
|
||
{
|
||
<option style="font-family: 'IranSans' !important;" value="@itemi"> @itemi </option>
|
||
}
|
||
</select>
|
||
</div>
|
||
<div class="form-group" style="width: 30% !important; margin: 0 auto;">
|
||
<select class="form-control" asp-for="SearchModel.Month" style="width: 100% !important">
|
||
<option value=" "> ماه</option>
|
||
<option value="01"> فروردین</option>
|
||
<option value="02"> اردیبهشت</option>
|
||
<option value="03"> خرداد</option>
|
||
<option value="04"> تیر</option>
|
||
<option value="05"> مرداد</option>
|
||
<option value="06"> شهریور</option>
|
||
<option value="07"> مهر</option>
|
||
<option value="08"> آبان</option>
|
||
<option value="09"> آذر</option>
|
||
<option value="10"> دی</option>
|
||
<option value="11"> بهمن</option>
|
||
<option value="12"> اسفند</option>
|
||
</select>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="col-md-3 col-sm-6 col-xs-12 pull-right" dir="rtl">
|
||
<div class="form-group" style="width: 100% !important; margin: 0 auto;">
|
||
@*<label class="sr-only" asp-for="SearchModel.ContractingPartyID"></label>*@
|
||
<input dir="ltr" maxlength="10" style="text-align: center; width: 100%" placeholder="تاریخ شروع" class="form-control persianDateInputa" asp-for="SearchModel.ContarctStart" />
|
||
</div>
|
||
</div>
|
||
<div class="col-md-3 col-sm-6 col-xs-12 pull-right" dir="rtl">
|
||
<div class="form-group" style="width: 100% !important; margin: 0 auto;">
|
||
@*<label class="sr-only" asp-for="SearchModel.ContractingPartyID"></label>*@
|
||
<input dir="ltr" maxlength="10" style="text-align: center;width: 100%" placeholder="تاریخ پایان" class="form-control persianDateInputb" asp-for="SearchModel.ContractEnd" />
|
||
</div>
|
||
|
||
</div>
|
||
|
||
<div class="col-md-3 col-sm-6 col-xs-12 pull-right" dir="rtl">
|
||
<div class="form-group" style="width: 100% !important; margin: 0 auto;">
|
||
@*<label class="sr-only" asp-for="SearchModel.ContractingPartyID"></label>*@
|
||
|
||
<select class="form-control" asp-for="SearchModel.ContractPeriod" style="width: 100% !important">
|
||
<option value=" "> مدت قرارداد</option>
|
||
<option value="1"> یک ماهه</option>
|
||
<option value="2"> دو ماهه</option>
|
||
<option value="3"> سه ماهه</option>
|
||
<option value="6"> شش ماهه</option>
|
||
<option value="12"> یک ساله</option>
|
||
</select>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="row" style="margin-top: 10px">
|
||
<div class="col-lg-9">
|
||
<label class="sr-only" asp-for="SearchModel.IsActiveString"></label>
|
||
<select permission="20116" id="activing" class="form-control activer" asp-for="SearchModel.IsActiveString" style="background-color: #dddddd; border-radius: 25px; border: 1px solid #bfbfbf;">
|
||
<option value=""> فعال </option>
|
||
<option value="false"> غیرفعال</option>
|
||
<option value="both"> هردو</option>
|
||
</select>
|
||
</div>
|
||
<div class="col-lg-3" style="margin-top: 5px">
|
||
<a href="#" class="btn btn-searchContract btn-success btn-rounded waves-effect waves-light m-b-5 search" style="border-bottom-left-radius: 0px; border-top-left-radius: 0px; background-color: #1b9998; border-color: #1b9998; font-family: 'Web_Yekan' !important; margin-left: -3px "> <i class="fa fa-search" style="padding-left: 3px; font-size: 14px;"></i> جستجو</a>
|
||
<button id="btnSearch" type="submit" style="display:none" > جستجو</button>
|
||
<a class="btn btn-info btn-rounded waves-effect waves-light m-b-5" style="border-bottom-right-radius: 0px; border-top-right-radius: 0px; background-color: #545353; border-color: #545353; font-family: 'Web_Yekan' !important;" asp-page="./Index">حذف فیلتر</a>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</form>
|
||
</div>
|
||
</div>
|
||
@*==================================================================personal=====*@
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
</div>
|
||
</div>
|
||
|
||
<div class="col-sm-12">
|
||
<div permission="20113" class="panel panel-default">
|
||
<div class="panel-heading">
|
||
<h3 class="panel-title"><i class="fa fa-list" style="padding-left: 3px; font-size: 14px"></i> لیست قرارداد ها</h3>
|
||
</div>
|
||
<div class="panel-body">
|
||
<div class="row">
|
||
<div class="col-sm-12 col-sm-12 col-xs-12">
|
||
<table id="datatable" class="table table-striped table-bordered">
|
||
<thead style="background-color: #ecefee">
|
||
<tr>
|
||
|
||
<th style="font-size: 10px !important" class="sizeSet sorting_asc_disabled sorting_desc_disabled">#</th>
|
||
<th class="hidden-xs" permission="20118" style="font-size: 10px !important;" class="sizeSet sorting_asc_disabled sorting_desc_disabled">
|
||
<span class="tooltip-container">
|
||
<input class="checkboxtitle" type="checkbox" id="checkSelect" onclick="selectori(this)" />
|
||
<span class="tooltip"> با استفاده از این چک باکس می توانید قراردادها را بصورت گروهی انتخاب کرده و سپس با کلیک بر روی دکمه حذف گروهی یا پرینت گروهی اقدام به حذف یا پرینت گروهی نمایید</span>
|
||
</span>
|
||
|
||
</th>
|
||
<th style="font-size: 10px !important" class="hidden-xs sizeSet sorting_asc_disabled sorting_desc_disabled">شماره قرارداد</th>
|
||
<th style="font-size: 10px !important" class="hidden-xs sizeSet sorting_asc_disabled sorting_desc_disabled"> کارفرما </th>
|
||
<th style="font-size: 10px !important" class="sizeSet sorting_asc_disabled sorting_desc_disabled">کارگاه</th>
|
||
<th style="font-size: 10px !important" class="sizeSet sorting_asc_disabled sorting_desc_disabled"> پرسنل </th>
|
||
|
||
<th style="font-size: 10px !important;max-width: 30px;" class="sizeSet sorting_asc_disabled sorting_desc_disabled">آغاز قرارداد</th>
|
||
<th style="font-size: 10px !important;max-width: 30px;" class="sizeSet sorting_asc_disabled sorting_desc_disabled">پایان قرارداد</th>
|
||
|
||
<th style="font-size: 10px !important" class="hidden-xs sizeSet sorting_asc_disabled sorting_desc_disabled">شماره پرسنلی</th>
|
||
<th style="font-size: 10px !important;" class="hidden-xs sizeSet sorting_asc_disabled sorting_desc_disabled">
|
||
<span class="tooltip2-container sorting_asc_disabled sorting_desc_disabled">
|
||
<a type="button" permission="20116" style="padding: 5px 7px 0px 7px;" class="btn btn-icon waves-effect waves-light btn-success m-b-5 rad" id="checkSign" onclick="signatureAll()">
|
||
<i class="ion-checkmark-circled" style="color: #fff; font-size: 17px"></i>
|
||
</a>
|
||
<span class="tooltip2" permission="20117">
|
||
با استفاده از این دکمه می توانید قراردادها را بصورت گروهی امضاء نمایید
|
||
</span>
|
||
</span>
|
||
<span class="tooltip2-container sorting_asc_disabled sorting_desc_disabled">
|
||
<a type="button" style="padding: 5px 7px 0px 7px;" class="btn btn-icon waves-effect waves-light btn-danger m-b-5 rad" id="checkUnSign" onclick="deleteAllSignature()">
|
||
<i class="ion-close-circled" style="color: #fff;font-size: 17px"></i>
|
||
</a>
|
||
<span class="tooltip2">
|
||
با استفاده از این دکمه می توانید امضاء قراردادها را بصورت گروهی حذف نمایید
|
||
</span>
|
||
</span>
|
||
|
||
|
||
</th>
|
||
<th class="sorting_asc_disabled sorting_desc_disabled" style="font-size: 10px !important; ">
|
||
<a permission="20116" class="btn btn-danger pull-left m-rl-5 rad deact" onclick="deleteAll()">
|
||
<i class="fa faSize fa-trash"></i>
|
||
</a>
|
||
<span class="act">
|
||
|
||
</span>
|
||
<a permission="20115" id="printAll" class="btn btn-info pull-left m-rl-5 rad ">
|
||
<i class="fa faSize fa-print"></i>
|
||
</a>
|
||
</th>
|
||
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
@foreach (var item in Model.Contracts)
|
||
{
|
||
|
||
|
||
<tr id="tr_@item.Id" class="@(item.IsBlockCantracingParty == "true" ? "bgGray" : "")">
|
||
|
||
<td style="font-size: 12px !important; text-align: center; width: 10px">@i </td>
|
||
<td class="hidden-xs" permission="20118" style="font-size: 12px !important; text-align: center; width: 4px">
|
||
<input type="checkbox" name="foo" class="foo" value="@item.Id" />
|
||
</td>
|
||
<td class="hidden-xs" style="font-family: 'IranText' !important; font-size: 12px !important; text-align: center; max-width: 80px; width: 80px">
|
||
@item.ContractNo
|
||
</td>
|
||
<td class="name-td hidden-xs">
|
||
<span class="ellipsed">
|
||
@item.EmployerName
|
||
</span>
|
||
<div class="tooltipfull-containerText">
|
||
<p class="fulltext">
|
||
@item.EmployerName
|
||
</p>
|
||
<span class="tooltipfull">
|
||
@item.EmployerName
|
||
</span>
|
||
</div>
|
||
</td>
|
||
<td class="name-td">
|
||
<span class="ellipsed">
|
||
@item.WorkshopName
|
||
</span>
|
||
<div class="tooltipfull-containerText">
|
||
<p class="fulltext">
|
||
@item.WorkshopName
|
||
</p>
|
||
<span class="tooltipfull">
|
||
@item.WorkshopName
|
||
</span>
|
||
</div>
|
||
</td>
|
||
<td class="name-td">
|
||
<span class="ellipsed">
|
||
@item.EmployeeName
|
||
</span>
|
||
<div class="tooltipfull-containerText">
|
||
<p class="fulltext">
|
||
@item.EmployeeName
|
||
</p>
|
||
<span class="tooltipfull">
|
||
@item.EmployeeName
|
||
</span>
|
||
</div>
|
||
</td>
|
||
<td class="code-td">
|
||
<span class="ellipsed">
|
||
@item.ContarctStart
|
||
</span>
|
||
<div class="tooltipfull-containerText">
|
||
<p class="fulltext">
|
||
@item.ContarctStart
|
||
</p>
|
||
<span class="tooltipfull">
|
||
@item.ContarctStart
|
||
</span>
|
||
</div>
|
||
</td>
|
||
<td class="code-td">
|
||
<span class="ellipsed">
|
||
@item.ContractEnd
|
||
</span>
|
||
<div class="tooltipfull-containerText">
|
||
<p class="fulltext">
|
||
@item.ContractEnd
|
||
</p>
|
||
<span class="tooltipfull">
|
||
@item.ContractEnd
|
||
</span>
|
||
</div>
|
||
</td>
|
||
<td class="hidden-xs" style="font-family: 'IranSans' !important; font-size: 12px !important; text-align: center; width: 30px;">
|
||
@item.PersonnelCode
|
||
</td>
|
||
<td class="hidden-xs" id="td_@item.Id" style="font-size: 12px !important; text-align: center; max-width: 60px; width: 65px;">
|
||
@if (@item.HasSignContract)
|
||
{
|
||
@if (item.Signature == "1")
|
||
{
|
||
<a class="myLinkSign" name="foo1" value="@item.Id" style="font-size: 20px">
|
||
|
||
<i class="ion-checkmark-circled" style="color: #1f9c11"></i>
|
||
<input type="hidden" value="@item.Id" name="signed"/>
|
||
</a>
|
||
|
||
}
|
||
else
|
||
{
|
||
<a permission="20117" class="myLinkSign" name="foo2" value="@item.Id" style="font-size: 20px">
|
||
<i class="ion-ios7-circle-outline" style="color: #dd3632"></i>
|
||
<input type="hidden" value="@item.Id" name="unsigned"/>
|
||
</a>
|
||
|
||
}
|
||
}
|
||
else
|
||
{
|
||
<a class="myLinkSign" style="font-size: 20px">
|
||
|
||
<i class="ion-checkmark-circled" style="color: #37baf6"></i>
|
||
|
||
</a>
|
||
}
|
||
|
||
</td>
|
||
|
||
@{
|
||
i++;
|
||
}
|
||
<td style="max-width: 270px;width: 270px !important">
|
||
<div class="operation-td screen-view">
|
||
<a permission="20116" class="btn btn-danger pull-left m-rl-5 fff rad singleDelet @(item.IsBlockCantracingParty=="true"?"disabled":"")" onclick="removeContract(this,@item.Id)">
|
||
<i class="fa faSize fa-trash"></i>
|
||
<input type="hidden" value="@item.Id" name="checkoutId" />
|
||
</a>
|
||
<a permission="20115" class="btn btn-info pull-left m-rl-5 rad @(item.IsBlockCantracingParty=="true" && Model.IsSysManager == false ?"disabled":"")"
|
||
href="#showmodal=@Url.Page("./Index", "Details", new {Id = item.Id})">
|
||
<i class="fa faSize fa-print"></i>
|
||
</a>
|
||
<a permission="20120" class="btn btn-inverse pull-left m-rl-5 ionRad @(item.IsBlockCantracingParty=="true"?"disabled":"")"
|
||
href="#showmodal=@Url.Page("./Index", "CreateSickLeave", new {employeeId = item.EmployeeId, workshopId = item.WorkshopIds})">
|
||
<i class="ion-medkit ionSize"></i>
|
||
</a>
|
||
|
||
<a permission="20121" class="btn btn-inverse pull-left m-rl-5 ionRad2 @(item.IsBlockCantracingParty=="true" ? "disabled":"")"
|
||
href="#showmodal=@Url.Page("./Index", "CreatePaidLeave", new {employeeId = item.EmployeeId, workshopId = item.WorkshopIds})">
|
||
<i class="ion-briefcase ionSize"></i>
|
||
</a>
|
||
<a permission="20121" class="btn btn-success pull-left m-rl-5 ionRad2 @(item.IsBlockCantracingParty=="true" ? "disabled":"")"
|
||
style="background-color: #c630fa !important; border-color: #c630fa !important;" href="#showmodal=@Url.Page("./Index", "DailyWageAndBaseYearReport", new {contractId = item.Id})">
|
||
<i class="ion-alert dailyWageReportIcon"></i>
|
||
</a>
|
||
</div>
|
||
<div class="flexible-div op-td mobile-view" style="justify-content: flex-end;">
|
||
<div class="more-buttons flexible-div">
|
||
<a class="btn pull-left employee-operations">عملیات</a>
|
||
<div class="buttons-container">
|
||
<a permission="20215" class="btn btn-danger pull-left m-rl-5 fff rad singleDelet @(item.IsBlockCantracingParty=="true"?"disabled":"")" onclick="removeContract(this,@item.Id)">
|
||
<i class="fa faSize fa-trash"></i>
|
||
<input type="hidden" value="@item.Id" name="checkoutId" />
|
||
</a>
|
||
<a permission="20115" class="btn btn-info pull-left m-rl-5 rad @(item.IsBlockCantracingParty=="true" && Model.IsSysManager == false ?"disabled":"")"
|
||
href="#showmodal=@Url.Page("./Index", "Details", new {Id = item.Id})">
|
||
<i class="fa faSize fa-print"></i>
|
||
</a>
|
||
<a permission="20120" class="btn btn-inverse pull-left m-rl-5 ionRad @(item.IsBlockCantracingParty=="true"?"disabled":"")"
|
||
href="#showmodal=@Url.Page("./Index", "CreateSickLeave", new {employeeId = item.EmployeeId, workshopId = item.WorkshopIds})">
|
||
<i class="ion-medkit ionSize"></i>
|
||
</a>
|
||
<a permission="20121" class="btn btn-inverse pull-left m-rl-5 ionRad2"
|
||
href="#showmodal=@Url.Page("./Index", "CreatePaidLeave", new {employeeId = item.EmployeeId, workshopId = item.WorkshopIds})">
|
||
<i class="ion-briefcase ionSize"></i>
|
||
</a>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</td>
|
||
|
||
</tr>
|
||
}
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
</div>
|
||
|
||
<form style="display: none;" asp-page="./ContractPrintAl" autocomplete="off"
|
||
method="get">
|
||
<div id="copylist"></div>
|
||
<input type="submit" id="sendData" class="sendData" style="display: none" />
|
||
</form>
|
||
|
||
@section Script {
|
||
|
||
<script src="~/AdminTheme/assets/js/site.js"></script>
|
||
<script src="~/adminTheme/assets/datatables/jquery.dataTables.min.js"></script>
|
||
<script src="~/adminTheme/assets/datatables/dataTables.bootstrap.js"></script>
|
||
|
||
<script>
|
||
var antiForgeryToken ='@Html.AntiForgeryToken()';
|
||
var personelMainListAjaxUrl ='@Url.Page("./Index", "PersonelMainList")';
|
||
var contractPrintAllUrl = '@Url.Page("/Company/Contracts/ContractPrintAll")';
|
||
var groupDeActiveUrl = '@Url.Page("/Company/Contracts/Index", "GroupDeActive")';
|
||
var groupReActiveUrl = '@Url.Page("/Company/Contracts/Index", "GroupReActive")';
|
||
var groupSignUrl = '@Url.Page("/Company/Contracts/Index", "GroupSign")';
|
||
var groupUnSignUrl = '@Url.Page("/Company/Contracts/Index", "GroupUnSign")';
|
||
var signAjaxUrl = '@Url.Page("./Index", "Sign")';
|
||
var unSignAjaxUrl = '@Url.Page("./Index", "UnSign")';
|
||
var deleteAllContarctsAjaxUrl = '@Url.Page("/Company/Contracts/Index", "DeleteAllContarcts")';
|
||
var deleteContarctsAjaxUrl = '@Url.Page("./Index", "DeleteContarcts")';
|
||
var signatureAllAjaxUrl = '@Url.Page("/Company/Contracts/Index", "SignatureAll")';
|
||
var deleteAllSignatureAjaxUrl = '@Url.Page("/Company/Contracts/Index", "DeleteAllSignature")';
|
||
|
||
|
||
</script>
|
||
<script src="~/AssetsAdmin/page/Contracts/js/index.js?ver=@adminVersion"></script>
|
||
|
||
|
||
}
|
||
|
||
|
||
|
||
|