1504 lines
76 KiB
Plaintext
1504 lines
76 KiB
Plaintext
@page
|
||
@model ServiceHost.Areas.Admin.Pages.Company.InstitutionContracts.IndexModel
|
||
|
||
@{
|
||
var adminVersion = _0_Framework.Application.Version.AdminVersion;
|
||
var i = 1;
|
||
|
||
var myclass = "noworkshop";
|
||
var black = "expireblack";
|
||
var red = "expirered";
|
||
var purple = "noamount";
|
||
var hasNoSignature = "hasNoSignature";
|
||
var hasSignature = "hasSignature";
|
||
|
||
|
||
|
||
|
||
}
|
||
|
||
@{
|
||
//Layout = "~/Pages/Shared/_Layout.cshtml";
|
||
Layout = "Shared/_AdminLayout";
|
||
ViewData["title"] = "قراردادهای موسسه";
|
||
<style>
|
||
|
||
.st .select2-container {
|
||
width: 100% !important;
|
||
}
|
||
|
||
.noworkshop {
|
||
background-color: #fffcab !important;
|
||
}
|
||
|
||
.expireblack {
|
||
background-color: #777 !important;
|
||
}
|
||
|
||
.expirered {
|
||
background-color: #fd7979 !important;
|
||
}
|
||
|
||
.noamount {
|
||
background-color: #cf43fd !important;
|
||
}
|
||
|
||
.blockTr {
|
||
background-color: #c6c6c6 !important;
|
||
}
|
||
|
||
.blue {
|
||
background-color: #45bcc2 !important;
|
||
}
|
||
|
||
a.disabled {
|
||
pointer-events: none;
|
||
cursor: default;
|
||
background-color: grey !important;
|
||
border-color: grey !important;
|
||
}
|
||
|
||
.blockbtn {
|
||
background-color: grey !important;
|
||
border-color: grey !important;
|
||
}
|
||
|
||
.progress-bar-striped, .progress-striped .progress-bar {
|
||
background-image: linear-gradient(315deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
|
||
}
|
||
|
||
.table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th {
|
||
padding: 5px;
|
||
}
|
||
|
||
table.dataTable thead > tr > th {
|
||
padding: 5px;
|
||
}
|
||
|
||
table.dataTable thead .sorting:after, table.dataTable thead .sorting_asc:after, table.dataTable thead .sorting_desc:after {
|
||
display: none;
|
||
}
|
||
|
||
.sizeSet {
|
||
padding: 2px !important;
|
||
text-align: center !important;
|
||
}
|
||
|
||
.disableSwall {
|
||
background-color: #1a1a1a;
|
||
}
|
||
|
||
.disableSwall h2 {
|
||
color: #efefef;
|
||
}
|
||
|
||
.rad {
|
||
border-radius: 8px !important;
|
||
/* padding: 10px; */
|
||
padding: 2px 5px 0px 5px;
|
||
}
|
||
|
||
.ionSize {
|
||
font-size: 20px !important;
|
||
top: 2px !important;
|
||
position: relative;
|
||
}
|
||
|
||
.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;
|
||
}
|
||
|
||
@@media(max-width: 1500px) {
|
||
.faSize {
|
||
font-size: 17px !important;
|
||
}
|
||
|
||
.RepresentativeName {
|
||
max-width: 80px;
|
||
}
|
||
}
|
||
|
||
.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: #950000 !important;
|
||
}
|
||
|
||
.tooltip-container {
|
||
cursor: pointer;
|
||
position: relative;
|
||
display: inline-block;
|
||
}
|
||
|
||
.tooltip2-container {
|
||
cursor: pointer;
|
||
position: relative;
|
||
display: inline-block;
|
||
}
|
||
|
||
.tooltipfull-container {
|
||
cursor: pointer;
|
||
position: absolute;
|
||
display: inline-block;
|
||
right: 0px;
|
||
top: 15px;
|
||
width: 40px;
|
||
}
|
||
|
||
.fulltext {
|
||
opacity: 0;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.tooltipfull2-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);
|
||
}
|
||
|
||
.tooltipfull {
|
||
opacity: 0;
|
||
z-index: 99;
|
||
color: #fff;
|
||
width: fit-content;
|
||
display: block;
|
||
font-size: 12px;
|
||
font-family: 'IranSans';
|
||
padding: 5px 10px;
|
||
border-radius: 15px;
|
||
text-align: center;
|
||
/*text-shadow: 1px 1px 2px #111;*/
|
||
background: #2f6002;
|
||
border: 1px solid #2f6002;
|
||
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: -10px;
|
||
bottom: 23px;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.tooltipfull:before, .tooltipfull:after {
|
||
content: '';
|
||
border-left: 10px solid transparent;
|
||
border-right: 10px solid transparent;
|
||
border-top: 10px solid #2f6002;
|
||
position: absolute;
|
||
bottom: -10px;
|
||
right: 20px;
|
||
}
|
||
|
||
.tooltipfull-container: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);
|
||
}
|
||
|
||
.name-td {
|
||
font-family: 'Web_Yekan' !important;
|
||
font-size: 12px !important;
|
||
max-width: 100px;
|
||
position: relative;
|
||
}
|
||
|
||
.code-td {
|
||
font-family: 'IranText' !important;
|
||
font-size: 12px !important;
|
||
text-align: center;
|
||
max-width: 100px;
|
||
}
|
||
|
||
.ellipsed {
|
||
display: block;
|
||
width: 100%;
|
||
text-overflow: ellipsis;
|
||
overflow-x: clip;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.blockCount {
|
||
font-size: 14px;
|
||
vertical-align: middle;
|
||
position: relative;
|
||
top: -2px;
|
||
display: inline-flex;
|
||
width: 10px;
|
||
}
|
||
|
||
.bgRed, .bgRed:hover {
|
||
background-color: red;
|
||
border: red;
|
||
}
|
||
|
||
.bgOrange, .bgOrange:hover {
|
||
background-color: #ff8404;
|
||
border: #ff8404;
|
||
}
|
||
|
||
.bgGreen, .bgGreen:hover {
|
||
background-color: #2e951b;
|
||
border: #2e951b;
|
||
}
|
||
|
||
.bgGray, .bgGray:hover {
|
||
background-color: #b5b5b5 !important;
|
||
color: #646464;
|
||
}
|
||
|
||
.mobileView {
|
||
display: none;
|
||
}
|
||
|
||
.eye {
|
||
z-index: 1;
|
||
position: relative !important;
|
||
top: 63px !important;
|
||
display: inline-block !important;
|
||
color: #363636 !important;
|
||
float: left !important;
|
||
direction: ltr !important;
|
||
font-size: 14px !important;
|
||
margin-left: 10px !important;
|
||
}
|
||
|
||
|
||
@@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;
|
||
}
|
||
|
||
.fulltextnumber {
|
||
font-family: 'IranSans' !important;
|
||
font-size: 12px !important;
|
||
text-align: center;
|
||
white-space: nowrap !important;
|
||
max-width: 50px;
|
||
width: 50px;
|
||
}
|
||
|
||
.employer1920 {
|
||
max-width: 250px;
|
||
width: 250px;
|
||
}
|
||
}
|
||
|
||
.searchAll {
|
||
border-bottom-right-radius: 0px;
|
||
border-top-right-radius: 0px;
|
||
background-color: #545353;
|
||
border-color: #545353;
|
||
font-family: 'Web_Yekan' !important;
|
||
}
|
||
|
||
.searchOne {
|
||
border-bottom-left-radius: 0px;
|
||
border-top-left-radius: 0px;
|
||
background-color: #2f6002;
|
||
border-color: #2f6002;
|
||
font-family: 'Web_Yekan' !important;
|
||
margin-left: -3px;
|
||
}
|
||
|
||
.searchOne:hover, .searchOne:focus, .searchOne:active {
|
||
background-color: #2f6002;
|
||
border-color: #2f6002;
|
||
}
|
||
|
||
.searchAll:hover, .searchAll:focus, .searchAll:active {
|
||
background-color: #545353;
|
||
border-color: #545353;
|
||
}
|
||
|
||
.searchOne i {
|
||
padding-left: 3px;
|
||
font-size: 14px;
|
||
}
|
||
|
||
.SumOfAmounts {
|
||
position: relative !important;
|
||
top: 45px !important;
|
||
display: inline-block !important;
|
||
color: #363636 !important;
|
||
float: left !important;
|
||
direction: ltr !important;
|
||
font-size: 14px !important;
|
||
background-color: #d8ecd7;
|
||
margin-left: 10px !important;
|
||
padding: 0px 7px !important;
|
||
border: 1px solid #bebebe !important;
|
||
border-radius: 10px !important;
|
||
}
|
||
|
||
.panelTopText {
|
||
font-size: 13px;
|
||
}
|
||
|
||
.TotalBalance {
|
||
position: relative !important;
|
||
top: 45px !important;
|
||
display: inline-block !important;
|
||
color: #363636 !important;
|
||
float: left !important;
|
||
font-size: 14px !important;
|
||
background-color: #f1c8c8;
|
||
margin-left: 10px !important;
|
||
padding: 0px 7px !important;
|
||
border: 1px solid #bebebe !important;
|
||
border-radius: 10px !important;
|
||
}
|
||
|
||
#datatable td {
|
||
position: relative;
|
||
}
|
||
|
||
.activateContract-th {
|
||
max-width: 40px;
|
||
}
|
||
|
||
.activateContract-td {
|
||
padding: 0 3px 0px 0 !important;
|
||
}
|
||
|
||
.activateContract-td span {
|
||
width: 40px;
|
||
display: block;
|
||
height: 30px;
|
||
border-radius: 5px;
|
||
font-size: 8px;
|
||
line-height: 30px;
|
||
text-align: center;
|
||
cursor: pointer;
|
||
}
|
||
|
||
.hasSignature {
|
||
background: #0cad04;
|
||
color: #e5e5e5;
|
||
}
|
||
|
||
.hasNoSignature {
|
||
color: #e5e5e5;
|
||
background: #e75653;
|
||
animation: inActiveContract 1s infinite;
|
||
}
|
||
|
||
@@keyframes inActiveContract {
|
||
0% {
|
||
background: #e75653;
|
||
}
|
||
|
||
50% {
|
||
background: #e73b38;
|
||
}
|
||
|
||
100% {
|
||
background: #e75653;
|
||
}
|
||
}
|
||
|
||
@@media screen and (min-width: 1300px) {
|
||
.flexible-div {
|
||
flex-wrap: nowrap;
|
||
}
|
||
}
|
||
|
||
@@media screen and (max-width: 1350px) {
|
||
.employee-operations {
|
||
width: 5rem;
|
||
padding: 8px;
|
||
font-size: 10px;
|
||
}
|
||
}
|
||
|
||
@@media screen and (max-width: 1440px) {
|
||
.fulltext {
|
||
font-family: 'IranSans' !important;
|
||
font-size: 11px !important;
|
||
text-align: right;
|
||
white-space: nowrap !important;
|
||
max-width: 90px;
|
||
overflow-x: hidden;
|
||
text-overflow: ellipsis
|
||
}
|
||
|
||
.fulltextnumber {
|
||
font-family: 'IranSans' !important;
|
||
font-size: 12px !important;
|
||
text-align: center;
|
||
white-space: nowrap !important;
|
||
max-width: 30px;
|
||
width: 30px;
|
||
}
|
||
|
||
.name-td {
|
||
font-size: 10px !important;
|
||
max-width: 80px;
|
||
}
|
||
|
||
.btn-table {
|
||
margin: 0;
|
||
}
|
||
|
||
.employer1920 {
|
||
max-width: fit-content;
|
||
width: fit-content;
|
||
}
|
||
}
|
||
|
||
@@media screen and (max-width: 600px) {
|
||
.eye {
|
||
z-index: 1;
|
||
top: 25px !important;
|
||
margin-left: 0px !important;
|
||
color: #f4f4f4 !important;
|
||
}
|
||
|
||
.mobileView {
|
||
display: block;
|
||
}
|
||
|
||
.desktopVeiw {
|
||
display: none;
|
||
}
|
||
|
||
.form-group {
|
||
margin-bottom: 3px !important;
|
||
}
|
||
|
||
.searchOne, .searchAll {
|
||
padding: 6px 9px;
|
||
font-size: 10px;
|
||
}
|
||
|
||
.searchOne i, #activing, #available, #typeOfContract, #OfficialCompany {
|
||
font-size: 10px;
|
||
}
|
||
|
||
.searchBtn {
|
||
margin-top: 5px;
|
||
}
|
||
|
||
.name-td {
|
||
font-size: 10px !important;
|
||
max-width: 65px;
|
||
}
|
||
|
||
.op-td {
|
||
max-width: 130px;
|
||
}
|
||
|
||
.code-td {
|
||
font-size: 10px !important;
|
||
}
|
||
|
||
.TotalBalance, .SumOfAmounts, .panelTopText {
|
||
font-size: 10px !important;
|
||
}
|
||
|
||
.TotalBalance, .SumOfAmounts, .panelTopText {
|
||
font-size: 10px !important;
|
||
top: 0 !important;
|
||
}
|
||
|
||
.tooltipDetails-container {
|
||
right: -16px;
|
||
top: -20px;
|
||
}
|
||
|
||
.fulltextDetails {
|
||
position: relative;
|
||
right: 20px;
|
||
top: 27px;
|
||
font-family: 'IranSans' !important;
|
||
font-size: 7px !important;
|
||
text-align: right;
|
||
white-space: inherit !important;
|
||
width: 33px;
|
||
height: 32px;
|
||
overflow-x: hidden;
|
||
text-overflow: ellipsis;
|
||
}
|
||
|
||
.tooltipfulldetails {
|
||
white-space: unset;
|
||
font-size: 10px;
|
||
width: 110px;
|
||
background: #ddda68;
|
||
border: 1px solid #ddda68;
|
||
padding: 5px 2px;
|
||
color: #000;
|
||
right: -26px;
|
||
bottom: 23px;
|
||
}
|
||
|
||
.tooltipfulldetails::before, .tooltipfulldetails::after {
|
||
border-top: 10px solid #ddda68;
|
||
bottom: -10px;
|
||
right: 48px;
|
||
}
|
||
|
||
.tooltipfulldetails p {
|
||
margin: 0 !important;
|
||
}
|
||
|
||
.details-btn {
|
||
background: #036205;
|
||
color: white;
|
||
border-radius: 8px;
|
||
padding: 2px;
|
||
font-size: 17px;
|
||
width: 30px;
|
||
}
|
||
|
||
.table > tbody > tr > td {
|
||
padding: 5px;
|
||
}
|
||
|
||
.employee-operations {
|
||
background: #2fb2ed;
|
||
width: 3rem;
|
||
font-size: 12px;
|
||
}
|
||
|
||
.employee-operations:before {
|
||
left: 28px;
|
||
}
|
||
}
|
||
|
||
@@keyframes blink {
|
||
0% {
|
||
background: #2fb2ed;
|
||
}
|
||
|
||
50% {
|
||
background: #24a1d9;
|
||
}
|
||
|
||
100% {
|
||
background: #2fb2ed;
|
||
}
|
||
}
|
||
|
||
@@media screen and (min-width: 1600px) {
|
||
.name-td {
|
||
max-width: 150px;
|
||
}
|
||
|
||
.activateContract-td {
|
||
padding: 0 6px 0px 0 !important;
|
||
}
|
||
|
||
.activateContract-th {
|
||
max-width: 20px;
|
||
}
|
||
}
|
||
|
||
@@media screen and (max-width: 412px) {
|
||
.eye {
|
||
z-index: 1;
|
||
top: 25px !important;
|
||
margin-left: 0px !important;
|
||
color: #f4f4f4 !important;
|
||
}
|
||
|
||
.mobileView {
|
||
display: block;
|
||
}
|
||
|
||
.desktopVeiw {
|
||
display: none;
|
||
}
|
||
|
||
.table > tbody > tr > td {
|
||
padding: 5px 4px;
|
||
}
|
||
}
|
||
|
||
@@media screen and (max-width: 400px) {
|
||
.eye {
|
||
z-index: 1;
|
||
top: 25px !important;
|
||
margin-left: 0px !important;
|
||
color: #f4f4f4 !important;
|
||
}
|
||
|
||
.mobileView {
|
||
display: block;
|
||
}
|
||
|
||
.desktopVeiw {
|
||
display: none;
|
||
}
|
||
|
||
.name-td {
|
||
max-width: 60px;
|
||
}
|
||
|
||
.table > tbody > tr > td {
|
||
padding: 5px 2px;
|
||
}
|
||
|
||
.TotalBalance {
|
||
margin-left: 5px !important;
|
||
}
|
||
}
|
||
|
||
/* --------------new by heydari ----------------- */
|
||
|
||
.amount {
|
||
visibility: hidden;
|
||
}
|
||
|
||
.pointer {
|
||
cursor: pointer;
|
||
}
|
||
|
||
|
||
.countPersonel {
|
||
position: relative !important;
|
||
top: 55px !important;
|
||
display: inline-block !important;
|
||
color: #363636 !important;
|
||
float: left !important;
|
||
direction: ltr !important;
|
||
font-size: 14px !important;
|
||
margin-left: 10px !important;
|
||
background-color: #fafafa;
|
||
font-size: 14px;
|
||
border: 1px solid #c7c7c7 !important;
|
||
border-radius: 10px !important;
|
||
font-size: 14px !important;
|
||
padding: 5px 10px !important;
|
||
}
|
||
|
||
|
||
|
||
@@media screen and (max-width: 400px) {
|
||
.SumOfAmounts {
|
||
float: right !important;
|
||
}
|
||
|
||
.eye {
|
||
z-index: 1;
|
||
top: 25px !important;
|
||
margin-left: 0px !important;
|
||
color: #f4f4f4 !important;
|
||
}
|
||
}
|
||
|
||
@@media screen and (max-width: 500px) {
|
||
.SumOfAmounts {
|
||
float: right !important;
|
||
.mobileView
|
||
|
||
{
|
||
display: block;
|
||
}
|
||
|
||
}
|
||
}
|
||
</style>
|
||
|
||
@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="30710" id="btnPopModal" href="#showmodal=@Url.Page("/Company/InstitutionContracts/Index", "Create")" class="btn btn-success btn-rounded waves-effect waves-light m-b-5" style=" 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>
|
||
@*<input type="hidden" id="sercheCheck" value="@Model.WorkshopSearch" />*@
|
||
|
||
@*href="#showmodal=@Url.Page("./Index", "PrintAll", new {ids = idss})"*@
|
||
</div>
|
||
</div>
|
||
<div class="col-sm-12">
|
||
<div class="panel-group panel-group-joined" id="accordion-test">
|
||
<div class="panel panel-default" style="border-radius: 15px !important; background-color: #c3e386; ">
|
||
<div class="panel-heading" style="background-color: #2f6002 !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-sm-3 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-sm-3 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.WorkshopId" asp-items="Model.Workshops" style="width: 100% !important">
|
||
<option value="0"> کارگاه </option>
|
||
</select>
|
||
</div>
|
||
</div>
|
||
<div class="col-sm-3 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.ContractingPartyId" asp-items="Model.ContractingParties" style="width: 100% !important">
|
||
<option value="0"> طرف حساب </option>
|
||
</select>
|
||
</div>
|
||
</div>
|
||
<div class="col-sm-3 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.RepresentativeId" asp-items="Model.Representative" style="width: 100% !important">
|
||
<option value="0"> معرف </option>
|
||
</select>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<hr style=" margin-top: 12px;margin-bottom: 12px;" />
|
||
<div class="row" dir="rtl">
|
||
<div class="col-sm-3 hidden-xs pull-right" dir="rtl">
|
||
<div class="form-group" style="width: 49% !important; margin: 0 auto;">
|
||
<input dir="ltr" type="number" asp-for="SearchModel.StartAmount" style="text-align: center; width: 100%;" placeholder="از مبلغ" class="form-control" />
|
||
</div>
|
||
<div class="form-group" style="width: 49% !important; margin: 0 auto;">
|
||
<input dir="ltr" type="number" asp-for="SearchModel.EndAmount" style="text-align: center; width: 100%;" placeholder="تا مبلغ" class="form-control" />
|
||
</div>
|
||
</div>
|
||
<div class="col-sm-3 col-xs-12 pull-right" dir="rtl">
|
||
<div class="form-group col-xs-6 p-0" style="margin: 0 auto;">
|
||
<input dir="ltr" maxlength="10" style="text-align: center; width: 100%;" placeholder="تاریخ شروع" class="form-control persianDateInputa" />
|
||
</div>
|
||
<div class="form-group col-xs-6 p-0" style="margin: 0 auto;">
|
||
<input dir="ltr" maxlength="10" style="text-align: center; width: 100%; " placeholder="تاریخ پایان" class="form-control persianDateInputb" />
|
||
|
||
</div>
|
||
</div>
|
||
|
||
<div class="col-sm-3 hidden-xs pull-right" dir="rtl">
|
||
<div class="form-group" style="width: 36% !important; margin: 0 auto; font-size: 14px !important;">
|
||
|
||
<select class="form-control " style="width: 100% !important;">
|
||
<option value=" "> اعتبار کمتر از </option>
|
||
|
||
</select>
|
||
|
||
</div>
|
||
<div class="form-group" style="width: 30% !important; margin: 0 auto;">
|
||
|
||
<input dir="ltr" style="text-align: center; width: 100%; " placeholder="از نفر" class="form-control" />
|
||
|
||
</div>
|
||
<div class="form-group" style="width: 30% !important; margin: 0 auto;">
|
||
|
||
<input dir="ltr" style="text-align: center; width: 100%;" placeholder="تا نفر" class="form-control" />
|
||
|
||
</div>
|
||
</div>
|
||
<div class="col-sm-3 hidden-xs pull-right" dir="rtl">
|
||
<div class="form-group st" style="margin: 0 auto; width: 49%">
|
||
|
||
<select class="form-control select-city" name="state" onChange="iranwebsv(this.value);">
|
||
<option value=""> استان</option>
|
||
<option value="تهران"> تهران </option>
|
||
<option value="گیلان"> گیلان </option>
|
||
<option value="آذربایجان شرقی"> آذربایجان شرقی</option>
|
||
<option value="خوزستان"> خوزستان </option>
|
||
<option value="فارس"> فارس</option>
|
||
<option value="اصفهان"> اصفهان</option>
|
||
<option value="خراسان رضوی">خراسان رضوی </option>
|
||
<option value="قزوین"> قزوین</option>
|
||
<option value="سمنان"> سمنان </option>
|
||
<option value="قم"> قم</option>
|
||
<option value="مرکزی"> مرکزی</option>
|
||
<option value="زنجان"> زنجان</option>
|
||
<option value="مازندران"> مازندران</option>
|
||
<option value="گلستان"> گلستان</option>
|
||
<option value="اردبیل"> اردبیل </option>
|
||
<option value="آذربایجان غربی"> آذربایجان غربی</option>
|
||
<option value="همدان"> همدان </option>
|
||
<option value="کردستان"> کردستان </option>
|
||
<option value="کرمانشاه"> کرمانشاه </option>
|
||
<option value="لرستان"> لرستان</option>
|
||
<option value="بوشهر"> بوشهر</option>
|
||
<option value="کرمان"> کرمان</option>
|
||
<option value="هرمزگان"> هرمزگان</option>
|
||
<option value="چهارمحال و بختیاری"> چهارمحال و بختیاری</option>
|
||
<option value="یزد"> یزد</option>
|
||
<option value="سیستان و بلوچستان"> سیستان و بلوچستان</option>
|
||
<option value="ایلام"> ایلام</option>
|
||
<option value="کهگلویه و بویراحمد"> کهگلویه و بویراحمد</option>
|
||
<option value="خراسان شمالی"> خراسان شمالی</option>
|
||
<option value="خراسان جنوبی"> خراسان جنوبی</option>
|
||
<option value="البرز"> البرز</option>
|
||
</select>
|
||
</div>
|
||
<div class="form-group st" style="margin: 0 auto; width: 49%">
|
||
<select class="form-control select-city" name="cityy" id="city">
|
||
<option value=""> شهر </option>
|
||
</select>
|
||
<input type="hidden" value="" id="hide2">
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="row" style="margin-top: 15px">
|
||
<div class="col-lg-9 col-xs-12" style="display: flex;padding-right: 0;">
|
||
<label class="sr-only" asp-for="SearchModel.IsActiveString"></label>
|
||
<select id="activing" class="form-control activer" asp-for="SearchModel.IsActiveString" style="background-color: #bad569; border-radius: 25px; border: 1px solid #80a353 !important; ">
|
||
<option value=""> فعال </option>
|
||
<option value="false"> غیرفعال</option>
|
||
<option value="both"> هردو</option>
|
||
</select>
|
||
<label class="sr-only"></label>
|
||
<select id="available" asp-for="SearchModel.Signature" class="form-control activer" style="background-color: #bad569; border-radius: 25px; border: 1px solid #80a353 !important; ">
|
||
<option value="2"> هردو</option>
|
||
<option value="1"> موجود </option>
|
||
<option value="0"> ناموجود</option>
|
||
|
||
</select>
|
||
<label class="sr-only"></label>
|
||
<select id="typeOfContract" asp-for="SearchModel.TypeOfContract" class="form-control activer" style="background-color: #bad569; border-radius: 25px; border: 1px solid #80a353 !important; ">
|
||
<option value="JobRelation"> روابط کار </option>
|
||
<option value="taxAndFinancial"> حسابداری و مالیات </option>
|
||
<option value="both"> هردو </option>
|
||
|
||
</select>
|
||
<label class="sr-only"></label>
|
||
<select id="OfficialCompany" asp-for="SearchModel.OfficialCompany" class="form-control activer" style="background-color: #bad569; border-radius: 25px; border: 1px solid #80a353 !important; ">
|
||
<option value=""> رسمی و غیر رسمی </option>
|
||
<option value="Official"> رسمی </option>
|
||
<option value="NotOfficial"> غیر رسمی </option>
|
||
|
||
|
||
</select>
|
||
</div>
|
||
<div class="col-lg-3 col-xs-12 searchBtn" style="padding-left: 0;">
|
||
<button type="submit" class="btn btn-success btn-rounded waves-effect waves-light m-b-5 search searchOne"> <i class="fa fa-search"></i> جستجو</button>
|
||
<a class="btn btn-info btn-rounded waves-effect waves-light m-b-5 searchAll" asp-page="./Index">حذف فیلتر</a>
|
||
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</form>
|
||
</div>
|
||
</div>
|
||
@*==================================================================personal=====*@
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="col-sm-12">
|
||
<div class="panel panel-default">
|
||
<div class="panel-heading" style="background-color: #2f6002 !important ">
|
||
<h3 class="panel-title" style="display: inline-block"><i class="fa fa-list" style="padding-left: 3px; font-size: 14px"></i> لیست قرارداد های موسسه</h3>
|
||
<div class="desktopVeiw">
|
||
<h3 class="TotalBalance">
|
||
<span span class="panelTopText">بدهی کل</span><span> </span> <span class="amount">@Model.TotalBalance</span>
|
||
</h3>
|
||
<h3 class="SumOfAmounts">
|
||
<span class="amount">@Model.SumOfAmounts</span> <span> </span> <span class="panelTopText">مبلغ قراردادها</span>
|
||
</h3>
|
||
<i permission="30719" onclick="showAmount(this)" class="fa fa-eye eye pointer"></i>
|
||
</div>
|
||
|
||
<div class="mobileView">
|
||
<div class="row">
|
||
<div class="col-xs-5">
|
||
<h3 class="TotalBalance" style="width: 100%;height: 50px;">
|
||
<span>بدهی کل</span>
|
||
<br />
|
||
<span class="amount" style="font-size: 16px; position: relative;right: 10px;bottom: 5px;">@Model.TotalBalance</span>
|
||
</h3>
|
||
|
||
|
||
</div>
|
||
<div class="col-xs-5">
|
||
|
||
|
||
<h3 class="SumOfAmounts" style="width: 100%;height: 50px;">
|
||
<span>مبلغ قراردادها</span>
|
||
<br />
|
||
<span class="amount" style="font-size: 16px; position: relative;right: 10px;bottom: 5px;">@Model.SumOfAmounts</span>
|
||
</h3>
|
||
|
||
|
||
</div>
|
||
<div class="col-xs-2">
|
||
<i permission="30719" onclick="showAmount(this)" class="fa fa-eye eye pointer"></i>
|
||
</div>
|
||
</div>
|
||
|
||
</div>
|
||
|
||
</div>
|
||
<div style="white-space: nowrap;">
|
||
<a class="btn btn-success btn-rounded text-white d-flex align-items-center align-content-center gap-2" href="?handler=DownloadExcel">
|
||
<svg width="24" viewBox="0 0 400 400" xmlns="http://www.w3.org/2000/svg" fill="#000000">
|
||
<g id="SVGRepo_bgCarrier" stroke-width="0"></g>
|
||
<g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g>
|
||
<g id="SVGRepo_iconCarrier">
|
||
<defs>
|
||
<style>
|
||
.cls-1 {
|
||
fill: #ffffff;
|
||
}</style>
|
||
</defs> <title></title> <g id="xxx-word"> <path class="cls-1" d="M325,105H250a5,5,0,0,1-5-5V25a5,5,0,1,1,10,0V95h70a5,5,0,0,1,0,10Z"></path> <path class="cls-1" d="M325,154.83a5,5,0,0,1-5-5V102.07L247.93,30H100A20,20,0,0,0,80,50v98.17a5,5,0,0,1-10,0V50a30,30,0,0,1,30-30H250a5,5,0,0,1,3.54,1.46l75,75A5,5,0,0,1,330,100v49.83A5,5,0,0,1,325,154.83Z"></path> <path class="cls-1" d="M300,380H100a30,30,0,0,1-30-30V275a5,5,0,0,1,10,0v75a20,20,0,0,0,20,20H300a20,20,0,0,0,20-20V275a5,5,0,0,1,10,0v75A30,30,0,0,1,300,380Z"></path> <path class="cls-1" d="M275,280H125a5,5,0,1,1,0-10H275a5,5,0,0,1,0,10Z"></path> <path class="cls-1" d="M200,330H125a5,5,0,1,1,0-10h75a5,5,0,0,1,0,10Z"></path> <path class="cls-1" d="M325,280H75a30,30,0,0,1-30-30V173.17a30,30,0,0,1,30-30h.2l250,1.66a30.09,30.09,0,0,1,29.81,30V250A30,30,0,0,1,325,280ZM75,153.17a20,20,0,0,0-20,20V250a20,20,0,0,0,20,20H325a20,20,0,0,0,20-20V174.83a20.06,20.06,0,0,0-19.88-20l-250-1.66Z"></path> <path class="cls-1" d="M152.44,236H117.79V182.68h34.3v7.93H127.4v14.45h19.84v7.73H127.4v14.92h25Z"></path> <path class="cls-1" d="M190.18,236H180l-8.36-14.37L162.52,236h-7.66L168,215.69l-11.37-19.14h10.2l6.48,11.6,7.38-11.6h7.46L177,213.66Z"></path> <path class="cls-1" d="M217.4,221.51l7.66.78q-1.49,7.42-5.74,11A15.5,15.5,0,0,1,209,236.82q-8.17,0-12.56-6a23.89,23.89,0,0,1-4.39-14.59q0-8.91,4.8-14.73a15.77,15.77,0,0,1,12.81-5.82q12.89,0,15.35,13.59l-7.66,1.05q-1-7.34-7.23-7.34a6.9,6.9,0,0,0-6.58,4,20.66,20.66,0,0,0-2.05,9.59q0,6,2.13,9.22a6.74,6.74,0,0,0,6,3.24Q215.49,229,217.4,221.51Z"></path> <path class="cls-1" d="M257,223.42l8,1.09a16.84,16.84,0,0,1-6.09,8.83,18.13,18.13,0,0,1-11.37,3.48q-8.2,0-13.2-5.51t-5-14.92q0-8.94,5-14.8t13.67-5.86q8.44,0,13,5.78t4.61,14.84l0,1H238.61a22.12,22.12,0,0,0,.76,6.45,8.68,8.68,0,0,0,3,4.22,8.83,8.83,0,0,0,5.66,1.8Q254.67,229.83,257,223.42Zm-.55-11.8a9.92,9.92,0,0,0-2.56-7,8.63,8.63,0,0,0-12.36-.18,11.36,11.36,0,0,0-2.89,7.13Z"></path> <path class="cls-1" d="M282.71,236h-8.91V182.68h8.91Z"></path> </g>
|
||
</g>
|
||
</svg>
|
||
</a>
|
||
</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 class="sorting_asc_disabled sorting_desc_disabled">
|
||
<th style="font-size: 10px !important" class="sizeSet sorting_asc_disabled sorting_asc_disabled">#</th>
|
||
@*<th permission="20217" style="font-size: 10px !important;" class="sizeSet sorting_asc_disabled sorting_asc_disabled">
|
||
<span class="tooltip-container">
|
||
<input class="checkboxtitle" type="checkbox" id="checkSelect" onclick="selectori(this)" />
|
||
<span class="tooltip"> با استفاده از این چک باکس می توانید تصفیه حساب ها را بصورت گروهی انتخاب کرده و سپس با کلیک بر روی دکمه حذف گروهی یا پرینت گروهی اقدام به حذف یا پرینت گروهی نمایید</span>
|
||
</span>
|
||
</th>*@
|
||
<th class="activateContract-th hidden-xs"></th>
|
||
<th style="font-size: 10px !important" class="contractNoTh hidden-xs sizeSet sorting_asc_disabled sorting_desc_disabled">شماره قرارداد</th>
|
||
<th style="font-size: 10px !important; max-width: 70px;" class="hidden-xs sizeSet sorting_asc_disabled sorting_desc_disabled"> معرف </th>
|
||
<th style="font-size: 10px !important;max-width: 70px;" class="sizeSet sorting_asc_disabled sorting_desc_disabled">طرف حساب</th>
|
||
<th style="font-size: 10px !important" class="hidden-xs sizeSet sorting_asc_disabled sorting_asc_disabled"> شماره کارفرما </th>
|
||
<th style="font-size: 10px !important;max-width: 70px;" class="hidden-xs sizeSet sorting_asc_disabled sorting_desc_disabled">کارفرما</th>
|
||
<th style="font-size: 10px !important;max-width: 30px;" 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="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="hidden-xs sizeSet sorting_asc_disabled sorting_desc_disabled">مبلغ قرارداد <br /><span style="font-size: 8px;">(بدون کارگاه)</span></th>
|
||
<th style="font-size: 10px !important;max-width: 50px;" class="sizeSet sorting_asc_disabled sorting_desc_disabled">مبلغ قرارداد</th>
|
||
<th style="font-size: 10px !important;max-width: 50px;" class="sizeSet sorting_asc_disabled sorting_desc_disabled">وضعیت مالی</th>
|
||
<th class="hidden-md hidden-lg"></th>
|
||
<th style="font-size: 10px !important;" class="sizeSet sorting_asc_disabled sorting_desc_disabled">
|
||
عملیات
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
@foreach (var item in Model.InstitutionContracts)
|
||
{
|
||
<tr class="@{if (item.WorkshopCount == "0" && string.IsNullOrWhiteSpace(item.ExpireColor)) {@myclass} else if (item.ExpireColor == "black") {@black}else if (item.ExpireColor == "purple") { @purple }else if (item.ExpireColor == "red") { @red }}@(item.IsContractingPartyBlock == "true" ? "blockTr progress-bar-striped" : "") @(item.ExpireColor == "blue" ? "blue progress-bar-striped" : "") blockingTr@{@item.ContractingPartyId}">
|
||
<td style="font-size: 12px !important; text-align: center; width: 10px">@i </td>
|
||
<td class="activateContract-td hidden-xs">
|
||
|
||
@if (item.Signature == "1")
|
||
{
|
||
<a permission="30718" asp-page="./Index" class="myLinkSign" name="foo1" value="@item.Id" style="font-size: 20px">
|
||
|
||
<span class="hasSignature"> موجود </span>
|
||
<input type="hidden" value="@item.Id" name="signed" />
|
||
</a>
|
||
}
|
||
else
|
||
{
|
||
<a permission="30718" asp-page="./Index" class="myLinkSign" name="foo2" value="@item.Id" style="font-size: 20px">
|
||
<span class="hasNoSignature"> ناموجود </span>
|
||
<input type="hidden" value="@item.Id" name="unsigned" />
|
||
</a>
|
||
}
|
||
</td>
|
||
<td class="contractNoTd hidden-xs @{
|
||
if (item.Signature == "1")
|
||
{
|
||
@hasSignature
|
||
}
|
||
else
|
||
{
|
||
|
||
@hasNoSignature
|
||
}
|
||
|
||
}
|
||
" data-signId="@item.Id" style="font-family: 'IranText' !important; font-size: 11px !important; text-align: center; width: 30px">
|
||
@item.ContractNo
|
||
</td>
|
||
<td class="RepresentativeName name-td hidden-xs">
|
||
<span class="ellipsed">
|
||
@item.RepresentativeName
|
||
</span>
|
||
<div class="tooltipfull-container">
|
||
<p class="fulltext">
|
||
@item.RepresentativeName
|
||
</p>
|
||
<span class="tooltipfull">
|
||
@item.RepresentativeName
|
||
</span>
|
||
</div>
|
||
</td>
|
||
<td class="name-td">
|
||
<span class="ellipsed">
|
||
@item.ContractingPartyName
|
||
</span>
|
||
<div class="tooltipfull-container">
|
||
<p class="fulltext">
|
||
@item.ContractingPartyName
|
||
</p>
|
||
<span class="tooltipfull">
|
||
@item.ContractingPartyName
|
||
</span>
|
||
</div>
|
||
|
||
|
||
</td>
|
||
<td class="hidden-xs" style="font-family: 'IranText' !important; font-size: 12px !important; text-align: center; width: 30px">
|
||
@item.ArchiveCode
|
||
</td>
|
||
<td class="hidden-xs name-td">
|
||
<span class="ellipsed">
|
||
@item.EmployerName
|
||
</span>
|
||
<div class="tooltipfull-container">
|
||
<p class="fulltext">
|
||
@item.EmployerName
|
||
</p>
|
||
<span class="tooltipfull">
|
||
@foreach (var empl in item.EmployerViewModels)
|
||
{
|
||
<span style="display: block">@empl.FullName</span>
|
||
}
|
||
</span>
|
||
</div>
|
||
|
||
</td>
|
||
<td class="hidden-xs code-td" style="text-align: center">
|
||
<span class="ellipsed">
|
||
@item.WorkshopCount
|
||
</span>
|
||
<div class="tooltipfull-container">
|
||
<p class="fulltext">
|
||
@item.WorkshopCount
|
||
</p>
|
||
@if (item.WorkshopCount != "0")
|
||
{
|
||
|
||
<span class="tooltipfull">
|
||
@foreach (var workshops in item.WorkshopViewModels)
|
||
{
|
||
<span style="display: block">@workshops.WorkshopFullName</span>
|
||
}
|
||
</span>
|
||
}
|
||
</div>
|
||
|
||
</td>
|
||
<td class="hidden-xs" style="font-family: 'IranText' !important; font-size: 12px !important; text-align: center; width: 30px">
|
||
@item.EmployeeCount
|
||
</td>
|
||
<td class="hidden-xs @(item.IsExpier == "true" ? "bgRed" : "")" style="font-family: 'IranSans' !important; font-size: 12px !important; text-align: center;width: 50px">
|
||
@item.ContractStartFa
|
||
</td>
|
||
<td class="hidden-xs @(item.IsExpier == "true" ? "bgRed" : "")" style="font-family: 'IranSans' !important; font-size: 12px !important; text-align: center;width: 50px">
|
||
@item.ContractEndFa
|
||
</td>
|
||
<td class="hidden-xs" style="font-family: 'IranSans' !important; font-size: 12px !important; text-align: center;width: 50px">
|
||
@if (item.WorkshopCount == "0")
|
||
{
|
||
@item.ContractAmount
|
||
}
|
||
else
|
||
{
|
||
<span> </span>
|
||
<span> </span>
|
||
<span> </span>
|
||
<span> </span>
|
||
<span> </span>
|
||
<span> </span>
|
||
}
|
||
</td>
|
||
<td class="code-td">
|
||
@if (item.WorkshopCount != "0")
|
||
{
|
||
@item.ContractAmount
|
||
}
|
||
else
|
||
{
|
||
<span> </span>
|
||
<span> </span>
|
||
<span> </span>
|
||
<span> </span>
|
||
<span> </span>
|
||
<span> </span>
|
||
}
|
||
</td>
|
||
<td class="BalanceDoubleTd code-td">
|
||
@item.BalanceStr
|
||
<input type="hidden" class="BalanceDouble" value="@item.BalanceDouble" />
|
||
</td>
|
||
@{
|
||
i++;
|
||
}
|
||
<td class="hidden-md hidden-lg">
|
||
<a class="btn details-btn">
|
||
<i class="fa fa-info-circle"></i>
|
||
</a>
|
||
<div class="tooltipfull-container tooltipDetails-container">
|
||
<p id="p_@i" onclick="showTooltip(@i)" class="fulltext fulltextDetails">
|
||
@foreach (var empl in item.EmployerViewModels)
|
||
{
|
||
@empl.FullName
|
||
}
|
||
- @item.ContractStartFa - @item.ContractEndFa
|
||
</p>
|
||
<span id="tooltip_@i" class="tooltipfull tooltipfulldetails">
|
||
@foreach (var empl in item.EmployerViewModels)
|
||
{
|
||
<p> @empl.FullName</p>
|
||
}
|
||
<p> @item.ContractStartFa</p>
|
||
<p> @item.ContractEndFa</p>
|
||
</span>
|
||
|
||
|
||
</div>
|
||
</td>
|
||
<td class="op-td">
|
||
<div class="flexible-div screen-view">
|
||
<div class="more-buttons flexible-div">
|
||
<a class="btn pull-left employee-operations blinking" style="margin-left:5px">
|
||
عملیات
|
||
</a>
|
||
<div class="buttons-container">
|
||
<a permission="30714" class="btn btn-success pull-left extention@{
|
||
@item.ContractingPartyId
|
||
}
|
||
rad @(item.IsContractingPartyBlock == "true" ? "disabled" : "")" style="margin-left:5px"
|
||
href="#showmodal=@Url.Page("./Index", "Extension", new { item.Id })">
|
||
<i class="fa fa-copy faSize"></i>
|
||
<p>
|
||
تمدید قرارداد
|
||
</p>
|
||
</a>
|
||
<a class="btn btn-inverse pull-left rad" style="background-color: #f57373;border: 1px solid #f57373;margin-left:5px;"
|
||
asp-page="./FinancialStatments" asp-route-name="@item.ContractingPartyName" asp-route-id="@item.ContractingPartyId" asp-route-pageNumber="0">
|
||
<i class="fa fa-file-text-o faSize"></i>
|
||
<p>
|
||
وضعیت مالی
|
||
</p>
|
||
</a>
|
||
@if (item.IsActiveString == "true") //فعال و غیر فعال کردن
|
||
{
|
||
<a permission="30716" onclick="deactiveOneCheckout(@item.Id, @item.BalanceDouble);" class="btn btn-inverse deactive@{
|
||
@item.ContractingPartyId
|
||
}
|
||
pull-left rad @(item.IsContractingPartyBlock == "true" ? "disabled" : "")" style="margin-left:5px">
|
||
<i class="fa faSize fa-trash"></i>
|
||
<p>
|
||
غیرفعال کردن
|
||
</p>
|
||
</a>
|
||
}
|
||
else
|
||
{
|
||
<a permission="30716" asp-page="./Index" asp-page-handler="IsActive" asp-route-id="@item.Id" class="btn btn-success pull-left rad @(item.IsContractingPartyBlock == "true" ? "disabled" : "")" style="margin-left:5px">
|
||
<i class="fa faSize fa-rotate-left"></i>
|
||
<p>
|
||
فعال گردن
|
||
</p>
|
||
</a>
|
||
}
|
||
|
||
@if (item.IsContractingPartyBlock == "true")
|
||
{
|
||
<span id="blockspan@{
|
||
@item.ContractingPartyId
|
||
}
|
||
">
|
||
<a permission="30717" onclick="disableBlock(@item.ContractingPartyId, @item.BlockTimes)" class="btn btn-inverse pull-left rad btn-table" permission="10114" style="margin-left:5px" class="btn pull-right btn-danger btn-table">
|
||
<span class="blockCount">@item.BlockTimes</span>
|
||
<i class="fa fa-minus-circle"></i><span>آنبلاک</span>
|
||
</a>
|
||
</span>
|
||
}
|
||
else if (item.BlockTimes == 2)
|
||
{
|
||
<span id="blockspan@{
|
||
@item.ContractingPartyId
|
||
}
|
||
">
|
||
<a permission="30717" onclick="block(@item.ContractingPartyId)" class="btn btn-inverse bgRed pull-left rad btn-table" permission="10114" style="margin-left:5px" class="btn pull-right btn-danger btn-table">
|
||
<span class="blockCount">@item.BlockTimes</span>
|
||
<i class="fa fa-minus-circle"></i><span>بلاک کردن</span>
|
||
</a>
|
||
</span>
|
||
}
|
||
else if (item.BlockTimes == 1)
|
||
{
|
||
<span id="blockspan@{
|
||
@item.ContractingPartyId
|
||
}
|
||
">
|
||
<a permission="30717" onclick="block(@item.ContractingPartyId)" class="btn btn-inverse bgOrange pull-left rad btn-table" permission="10114" style="margin-left:5px" class="btn pull-right btn-danger btn-table">
|
||
<span class="blockCount">@item.BlockTimes</span>
|
||
<i class="fa fa-minus-circle"></i><span>بلاک کردن</span>
|
||
</a>
|
||
</span>
|
||
}
|
||
else if (item.BlockTimes == 0 || item.IsContractingPartyBlock != "true")
|
||
{
|
||
<span id="blockspan@{
|
||
@item.ContractingPartyId
|
||
}
|
||
">
|
||
<a permission="30717" onclick="block(@item.ContractingPartyId)" class="btn btn-inverse blockbtn pull-left rad btn-table" permission="10114" style="margin-left:5px" class="btn pull-right btn-danger btn-table">
|
||
<span class="blockCount">@item.BlockTimes</span>
|
||
<i class="fa fa-minus-circle"></i> <span>بلاک کردن</span>
|
||
</a>
|
||
</span>
|
||
}
|
||
</div>
|
||
</div>
|
||
<div class="operationBtns">
|
||
<a permission="30713" class="btn btn-table btn-info pull-left rad" style="margin-left:5px"
|
||
asp-page="./PrintContract" asp-route-id="@item.Id">
|
||
<p>
|
||
<i class="fa faSize fa-print"></i>
|
||
</p>
|
||
<span class="tooltipfullBtns">
|
||
پرینت
|
||
</span>
|
||
</a>
|
||
|
||
<a permission="30712" class="btn btn-table btn-warning pull-left edit@{
|
||
@item.ContractingPartyId
|
||
}
|
||
rad @(item.IsContractingPartyBlock == "true" ? "disabled" : "")" style="margin-left:5px"
|
||
href="#showmodal=@Url.Page("./Index", "Edit", new { item.Id })">
|
||
<p>
|
||
<i class="fa faSize fa-edit"></i>
|
||
</p>
|
||
<span class="tooltipfullBtns">
|
||
ویرایش اطلاعات
|
||
</span>
|
||
</a>
|
||
<a permission="30711" class="btn btn-table btn-danger pull-left delete@{
|
||
@item.ContractingPartyId
|
||
}
|
||
rad @(item.IsContractingPartyBlock == "true" ? "disabled" : "")" onclick="removeOneCheckout(this);">
|
||
<p>
|
||
<i class="fa faSize fa-trash"></i>
|
||
</p>
|
||
<span class="tooltipfullBtns">
|
||
حذف اطلاعات
|
||
</span>
|
||
<input type="hidden" value="@item.Id" name="checkoutId" />
|
||
</a>
|
||
|
||
</div>
|
||
</div>
|
||
|
||
<div class="flexible-div mobile-view">
|
||
<div class="more-buttons flexible-div">
|
||
<a class="btn pull-left employee-operations blinking">
|
||
<i class="fa fa-bars" aria-hidden="true"></i>
|
||
</a>
|
||
<div class="buttons-container">
|
||
<a permission="30714" class="btn btn-success pull-left extention@{
|
||
@item.ContractingPartyId
|
||
}
|
||
rad" style="margin-left:5px"
|
||
href="#showmodal=@Url.Page("./Index", "Extension", new { item.Id })">
|
||
<i class="fa fa-copy"></i>
|
||
</a>
|
||
<a permission="30715" class="btn btn-inverse pull-left rad" style="background-color: #f57373;border: 1px solid #f57373;margin-left:5px;"
|
||
asp-page="./FinancialStatments" asp-route-name="@item.ContractingPartyName" asp-route-id="@item.ContractingPartyId" asp-route-pageNumber="0">
|
||
<i class="fa fa-file-text-o"></i>
|
||
</a>
|
||
@if (item.IsActiveString == "true") //فعال و غیر فعال کردن
|
||
{
|
||
<a permission="30716" onclick="deactiveOneCheckout(@item.Id, @item.BalanceDouble);" class="btn btn-inverse pull-left deactive@{
|
||
@item.ContractingPartyId
|
||
}
|
||
rad @(item.IsContractingPartyBlock == "true" ? "disabled" : "")" style="margin-left:5px">
|
||
<i class="fa fa-trash"></i>
|
||
</a>
|
||
}
|
||
else
|
||
{
|
||
<a permission="30716" asp-page="./Index" asp-page-handler="IsActive" asp-route-id="@item.Id" class="btn btn-success pull-left rad" style="margin-left:5px">
|
||
<i class="fa fa-rotate-left"></i>
|
||
</a>
|
||
}
|
||
<a permission="30713" class="btn btn-table btn-info pull-left rad" style="margin-left:5px"
|
||
asp-page="./PrintContract" asp-route-id="@item.Id">
|
||
<p>
|
||
<i class="fa fa-print"></i>
|
||
</p>
|
||
</a>
|
||
<a permission="30712" class="btn btn-table btn-warning pull-left edit@{
|
||
@item.ContractingPartyId
|
||
}
|
||
rad @(item.IsContractingPartyBlock == "true" ? "disabled" : "")" style="margin-left:5px"
|
||
href="#showmodal=@Url.Page("./Index", "Edit", new { item.Id })">
|
||
<p>
|
||
<i class="fa fa-edit"></i>
|
||
</p>
|
||
</a>
|
||
<a permission="30711" class="btn btn-table btn-danger pull-left delete@{
|
||
@item.ContractingPartyId
|
||
}
|
||
rad @(item.IsContractingPartyBlock == "true" ? "disabled" : "")" onclick="removeOneCheckout(this);">
|
||
<p>
|
||
<i class="fa fa-trash"></i>
|
||
</p>
|
||
<input type="hidden" value="@item.Id" name="checkoutId" />
|
||
</a>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</td>
|
||
</tr>
|
||
}
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
|
||
</div>
|
||
|
||
|
||
@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 language="javascript" src="~/AdminTheme/js/city.js"></script>
|
||
|
||
<script>
|
||
var antiForgeryToken = $(`@Html.AntiForgeryToken()`).val();
|
||
var signAjaxUrl = '@Url.Page("./Index", "Sign")';
|
||
var unSignAjax ='@Url.Page("./Index", "UnSign")';
|
||
var removeOneCheckoutUrl = '@Url.Page("/Company/InstitutionContracts/Index", "RemoveOne")';
|
||
var deactiveOneCheckoutUrl = '@Url.Page("/Company/InstitutionContracts/Index", "DeActive")';
|
||
|
||
var reActiveAllUrl = '@Url.Page("/Company/Checkouts/Index", "GroupReActive")';
|
||
var blockAjax = '@Url.Page("./Index", "BlockPersonalContractingParties")';
|
||
var disableBlockAjax = '@Url.Page("./Index", "DisableBlockPersonalContractingParties")';
|
||
</script>
|
||
<script src="~/AssetsAdmin/page/InstitutionContract/js/Index.js?ver=@adminVersion"></script>
|
||
}
|