210 lines
8.0 KiB
Plaintext
210 lines
8.0 KiB
Plaintext
@page
|
||
@model ServiceHost.Areas.Admin.Pages.Company.Insurance.IndexModel
|
||
|
||
@{
|
||
//int i = 1;
|
||
}
|
||
|
||
@{
|
||
Layout = "Shared/_AdminLayout";
|
||
ViewData["title"] = "بیمه";
|
||
<style>
|
||
.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;
|
||
}
|
||
</style>
|
||
}
|
||
|
||
|
||
<div class="row">
|
||
|
||
|
||
<div class="row">
|
||
<div class="col-sm-12 m-r-10">
|
||
<p class="pull-right">
|
||
<a id="btnPopModal" href="#showmodal=@Url.Page("/Company/Insurance/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>
|
||
</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;">
|
||
<div class="panel-heading" style="background-color: #545353 !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-lg-3 pull-right">
|
||
<label class="sr-only" asp-for="searchModel.Year"></label>
|
||
<input class="form-control inpt" asp-for="searchModel.Year" data-val="false" placeholder="سال " style="width: 100%">
|
||
</div>
|
||
<div class="col-lg-3 pull-right">
|
||
<label class="sr-only" asp-for="searchModel.Month"></label>
|
||
<input class="form-control inpt" asp-for="searchModel.Month" placeholder="ماه" style="width: 100%">
|
||
</div>
|
||
@*<div class="col-lg-3 pull-right">
|
||
<label class="sr-only" asp-for="searchModel.WorkShop"></label>
|
||
<input class="form-control inpt" asp-for="searchModel.WorkShop" placeholder="کارگاه " style="width: 100%">
|
||
</div>
|
||
<div class="col-lg-3 pull-right">
|
||
<label class="sr-only" asp-for="searchModel.Employer"></label>
|
||
<input class="form-control inpt" asp-for="searchModel.Employer" placeholder="نام کارفرما " style="width: 100%">
|
||
</div>*@
|
||
</div>
|
||
<div class="row" style="margin-top: 15px">
|
||
<div class="col-lg-9">
|
||
|
||
</div>
|
||
<div class="col-lg-3">
|
||
<button type="submit" class="btn btn-success btn-rounded waves-effect waves-light m-b-5"
|
||
style="border-bottom-left-radius: 0px; border-top-left-radius: 0px; background-color: #950000;
|
||
border-color: #950000; font-family: 'Web_Yekan' !important; margin-left: -3px">
|
||
<i class="fa fa-search" style="padding-left: 3px; font-size: 14px;"></i> جستجو
|
||
</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>
|
||
@*==================================================================Insurance=====*@
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
</div>
|
||
</div>
|
||
|
||
<div class="col-sm-12">
|
||
<div 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>
|
||
<tr>
|
||
<th style="font-size: 16px !important; width: 5% !important">#</th>
|
||
<th style="font-size: 16px !important; width: 5% !important; text-align: center"> سال</th>
|
||
<th style="font-size: 16px !important; text-align: center"> ماه </th>
|
||
<th style="font-size: 16px !important; text-align: center">نام کارفرما</th>
|
||
<th style="font-size: 16px !important; text-align: center">نام کارگاه</th>
|
||
<th style="font-size: 16px !important; text-align: center">سهمیه</th>
|
||
<th style="font-size: 16px !important; text-align: center">شعبه</th>
|
||
<th style="font-size: 16px !important; text-align: center">شهر</th>
|
||
<th style="font-size: 16px !important; text-align: center">مقطوع</th>
|
||
<th style="font-size: 16px !important; "></th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
@if (Model.insurance != null)
|
||
{
|
||
@foreach (var item in Model.insurance)
|
||
{
|
||
<tr>
|
||
<td style="font-size: 14px !important; text-align: center">@item.Id </td>
|
||
<td style="font-size: 14px !important; text-align: center">@item.Year </td>
|
||
<td style="font-size: 14px !important; text-align: center">@item.Month </td>
|
||
<td style="font-size: 14px !important; text-align: center">@item.Employer</td>
|
||
<td style="font-size: 14px !important; text-align: center">@item.WorkShop</td>
|
||
<td style="font-size: 14px !important; text-align: center">@item.Qouta</td>
|
||
<td style="font-size: 14px !important; text-align: center">@item.InsuranceBranch</td>
|
||
<td style="font-size: 14px !important; text-align: center">@item.City</td>
|
||
<td style="font-size: 14px !important; text-align: center">@item.Fixed</td>
|
||
<td>
|
||
<a class="btn btn-danger ionRad pull-left m-rl-5 " onclick="">
|
||
<i class="fa fa-trash ionSize"></i>
|
||
</a>
|
||
<a class="btn btn-warning pull-left m-rl-5"
|
||
href="#showmodal=@Url.Page("./Index", "Summary")">
|
||
<i class="fa fa-edit"></i>
|
||
</a>
|
||
<a class="btn btn-success pull-left m-rl-5"
|
||
href="#showmodal=@Url.Page("./Index", "Summary", new { item.Id })">
|
||
<i class="fa fa-file-text ionSize"></i>
|
||
</a>
|
||
<a class="btn btn-info pull-left m-rl-5">
|
||
<i class="fa fa-save ionSize"></i>
|
||
</a>
|
||
</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 type="text/javascript">
|
||
$(document).ready(function() {
|
||
$('#datatable').dataTable({
|
||
"lengthMenu": [[25, 10, 50, 100, -1], [25, 10, 50, 100, "All"]]
|
||
});
|
||
});
|
||
|
||
|
||
</script>
|
||
|
||
|
||
} |