First Initial

This commit is contained in:
Nakorn Rientrakrunchai
2020-02-20 15:02:39 +07:00
commit 8b98125e49
3048 changed files with 760804 additions and 0 deletions

View File

@@ -0,0 +1,137 @@
@using Microsoft.Extensions.Configuration
@inject IConfiguration Configuration
@{
ViewData["Title"] = "eva_adjust_postponement_quota";
}
<div class="modal fade" id="eva_adjust_postponement_quotaModel" style="z-index:1500" tabindex="-1" role="dialog" aria-labelledby="eva_adjust_postponement_quotaModelLabel" aria-hidden="true">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="eva_adjust_postponement_quotaModelLabel">เพิ่ม ปรับเลื่อนเงินโควต้าพิเศษ</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<div class="row">
<div class="col-md-12">
<input class="form-control" type="hidden" id="eva_adjust_postponement_quota_id" />
<div class='row'>
<div class="form-group col-md-6">
<label id="lab_eva_adjust_postponement_quota_fiscal_year" for="eva_adjust_postponement_quota_fiscal_year">ปีงบประมาณ </label>
<input class="form-control" type="number" id="eva_adjust_postponement_quota_fiscal_year" iLabel="ปีงบประมาณ " iRequire="true" iGroup="eva_adjust_postponement_quota" />
</div>
<div class="form-group col-md-6">
<label id="lab_eva_adjust_postponement_quota_theDate" for="eva_adjust_postponement_quota_theDate">วันที่เลื่อน</label>
<input class="form-control" type="text" id="eva_adjust_postponement_quota_theDate" data-provide="datepicker" data-date-language="th-th" iLabel="วันที่เลื่อน" iRequire="true" iGroup="eva_adjust_postponement_quota" />
</div>
</div>
<div class='row'>
<div class="form-group col-md-6">
<label id="lab_eva_adjust_postponement_quota_theRound" for="eva_adjust_postponement_quota_theRound">ครั้งที่เลื่อน</label>
<input class="form-control" type="number" id="eva_adjust_postponement_quota_theRound" iLabel="ครั้งที่เลื่อน" iRequire="true" iGroup="eva_adjust_postponement_quota" />
</div>
<div class="form-group col-md-6">
<label id="lab_eva_adjust_postponement_quota_managed_by" for="eva_adjust_postponement_quota_managed_by">ผู้จัดทำข้อมูล</label>
<select class="form-control" id="eva_adjust_postponement_quota_managed_by" iLabel="ผู้จัดทำข้อมูล" iRequire="true" iGroup="eva_adjust_postponement_quota"></select>
</div>
</div>
<div class='row'>
<div class="form-group col-md-6">
<label id="lab_eva_adjust_postponement_quota_limit_frame_quota" for="eva_adjust_postponement_quota_limit_frame_quota">กรอบโควต้าพิเศษร้อยละ</label>
<input class="form-control" type="number" id="eva_adjust_postponement_quota_limit_frame_quota" iLabel="กรอบโควต้าพิเศษร้อยละ" iRequire="true" iGroup="eva_adjust_postponement_quota" />
</div>
<div class="form-group col-md-6">
<label id="lab_eva_adjust_postponement_quota_limit_quota" for="eva_adjust_postponement_quota_limit_quota">จำนวนเงินที่สามารถบริหารวงเงินโควต้าพิเศษ</label>
<input class="form-control" type="number" id="eva_adjust_postponement_quota_limit_quota" iLabel="จำนวนเงินที่สามารถบริหารวงเงินโควต้าพิเศษ" iRequire="true" iGroup="eva_adjust_postponement_quota" />
</div>
</div>
<div class='row'>
<div class="form-group col-md-6">
<label id="lab_eva_adjust_postponement_quota_command_no" for="eva_adjust_postponement_quota_command_no">เลขที่คำสั่ง</label>
<input class="form-control" type="text" id="eva_adjust_postponement_quota_command_no" iLabel="เลขที่คำสั่ง" iRequire="true" iGroup="eva_adjust_postponement_quota" />
</div>
</div>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">ยกเลิก</button>
<button type="button" class="btn btn-primary" onclick="javascript:eva_adjust_postponement_quota_PutUpdate()">บันทึก</button>
</div>
</div>
</div>
</div>
<div class="row page-title">
<div class="col-md-5">
<div class="page-title">
@Configuration["SiteInformation:modulename"]
</div>
</div>
<div class="col-md-7">
<ol class="breadcrumb" style="">
<li class="breadcrumb-item "><a href="@Configuration["SiteInformation:mainsite"]">หน้าแรก</a></li>
<li class="breadcrumb-item "><a href="@Configuration["SiteInformation:mainsite"]@Configuration["SiteInformation:appsite"]">@Configuration["SiteInformation:modulename"]</a></li>
<li class="breadcrumb-item active">ปรับเลื่อนเงินโควต้าพิเศษ</li>
</ol>
</div>
</div>
<section class="wrapper">
<div class="title"><div class="line"></div>ปรับเลื่อนเงินโควต้าพิเศษ</div>
<div class="tools">
<div class="row">
<div class="form-group col-md-3">
<label id='lab_s_eva_adjust_postponement_quota_fiscal_year' for='s_eva_adjust_postponement_quota_fiscal_year'>ปีงบประมาณ </label>
<input class="form-control" type="number" id="s_eva_adjust_postponement_quota_fiscal_year" iLabel="ปีงบประมาณ " iRequire="true" iGroup="s_eva_adjust_postponement_quota" title='ปีงบประมาณ ' placeholder='ปีงบประมาณ ' />
</div>
<div class="form-group col-md-3">
<label id='lab_s_eva_adjust_postponement_quota_theRound' for='s_eva_adjust_postponement_quota_theRound'>ครั้งที่เลื่อน</label>
<input class="form-control" type="number" id="s_eva_adjust_postponement_quota_theRound" iLabel="ครั้งที่เลื่อน" iRequire="true" iGroup="s_eva_adjust_postponement_quota" title='ครั้งที่เลื่อน' placeholder='ครั้งที่เลื่อน' />
</div>
<div class="col-md-3">
<button class="btn btn-info" onclick="javascript:eva_adjust_postponement_quota_DoSearch();">ค้นหา</button>
<button class="btn btn-info" onclick="javascript:eva_adjust_postponement_quota_GoCreate();"><i class="fa fa-plus" style="font-size: 14px;"></i> เพิ่มรายการ</button>
</div>
</div>
</div>
<table id="eva_adjust_postponement_quotaTable" class="display table table-bordered table-striped">
<thead>
<tr>
<th>เครื่องมือ</th>
<th><label id='h_eva_adjust_postponement_quota_fiscal_year'>ปีงบประมาณ </label></th>
<th><label id='h_eva_adjust_postponement_quota_theDate'>วันที่เลื่อน</label></th>
<th><label id='h_eva_adjust_postponement_quota_theRound'>ครั้งที่เลื่อน</label></th>
<th><label id='h_eva_adjust_postponement_quota_command_no'>เลขที่คำสั่ง</label></th>
</tr>
</thead>
<tbody></tbody>
</table>
</section>
@section FooterPlaceHolder{
<script src="~/js/eva_adjust_postponement_quota/eva_adjust_postponement_quota.js"></script>
<script>
$(document).ready(function () {
eva_adjust_postponement_quota_InitiateDataTable();
eva_adjust_postponement_quota_InitialForm();
SetupValidationRemark("eva_adjust_postponement_quota");
});
</script>
}

View File

@@ -0,0 +1,232 @@
@using Microsoft.Extensions.Configuration
@inject IConfiguration Configuration
@{
ViewData["Title"] = "eva_adjust_postponement_quota";
Layout = "_LayoutDirect";
}
<div class="modal fade" id="eva_adjust_postponement_detail_quotaModel" style="z-index:1500" tabindex="-1" role="dialog" aria-labelledby="eva_adjust_postponement_detail_quotaModelLabel" aria-hidden="true">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="eva_adjust_postponement_detail_quotaModelLabel">บันทึกข้อมูล eva_adjust_postponement_detail_quota</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<div class="row">
<div class="col-md-12">
<input class="form-control" type="hidden" id="eva_adjust_postponement_detail_quota_id" />
<input class="form-control" type="hidden" id="eva_adjust_postponement_detail_quota_adjust_postponement_quota_id" />
<div class='row'>
<div class="form-group col-md-4">
<label id="lab_eva_adjust_postponement_detail_quota_employee_id" for="eva_adjust_postponement_detail_quota_employee_id">ผู้รับการประเมิน</label>
<select class="form-control" id="eva_adjust_postponement_detail_quota_employee_id" iLabel="ผู้รับการประเมิน" iRequire="true" iGroup="eva_adjust_postponement_detail_quota"></select>
</div>
<div class="form-group col-md-4">
<label id="lab_eva_adjust_postponement_detail_quota_sarary" for="eva_adjust_postponement_detail_quota_sarary">เงินเดือน ก่อนปรับเลื่อน</label>
<input class="form-control" type="number" id="eva_adjust_postponement_detail_quota_sarary" iLabel="เงินเดือน ก่อนปรับเลื่อน" iRequire="true" iGroup="eva_adjust_postponement_detail_quota" />
</div>
<div class="form-group col-md-4">
<label id="lab_eva_adjust_postponement_detail_quota_cost_living" for="eva_adjust_postponement_detail_quota_cost_living">ค่าครองชีพ ก่อนปรับเลื่อน</label>
<input class="form-control" type="number" id="eva_adjust_postponement_detail_quota_cost_living" iLabel="ค่าครองชีพ ก่อนปรับเลื่อน" iRequire="true" iGroup="eva_adjust_postponement_detail_quota" />
</div>
</div>
<div class='row'>
<div class="form-group col-md-4">
<label id="lab_eva_adjust_postponement_detail_quota_middle" for="eva_adjust_postponement_detail_quota_middle">ค่ากลางฐานในการคำนวณ</label>
<input class="form-control" type="number" id="eva_adjust_postponement_detail_quota_middle" iLabel="ค่ากลางฐานในการคำนวณ" iRequire="true" iGroup="eva_adjust_postponement_detail_quota" />
</div>
<div class="form-group col-md-4">
<label id="lab_eva_adjust_postponement_detail_quota_promoted_percentage" for="eva_adjust_postponement_detail_quota_promoted_percentage">ร้อยละที่ได้เลื่อน</label>
<input class="form-control" type="number" id="eva_adjust_postponement_detail_quota_promoted_percentage" iLabel="ร้อยละที่ได้เลื่อน" iRequire="true" iGroup="eva_adjust_postponement_detail_quota" />
</div>
<div class="form-group col-md-4">
<label id="lab_eva_adjust_postponement_detail_quota_total_promote" for="eva_adjust_postponement_detail_quota_total_promote">จำนวนเงินที่ได้เลื่อน</label>
<input class="form-control" type="number" id="eva_adjust_postponement_detail_quota_total_promote" iLabel="จำนวนเงินที่ได้เลื่อน" iRequire="true" iGroup="eva_adjust_postponement_detail_quota" />
</div>
</div>
<div class='row'>
<div class="form-group col-md-4">
<label id="lab_eva_adjust_postponement_detail_quota_new_sarary" for="eva_adjust_postponement_detail_quota_new_sarary">เงินเดือนใหม่</label>
<input class="form-control" type="number" id="eva_adjust_postponement_detail_quota_new_sarary" iLabel="เงินเดือนใหม่" iRequire="true" iGroup="eva_adjust_postponement_detail_quota" />
</div>
<div class="form-group col-md-4">
<label id="lab_eva_adjust_postponement_detail_quota_new_cost_living" for="eva_adjust_postponement_detail_quota_new_cost_living">ค่าครองชีพใหม่</label>
<input class="form-control" type="number" id="eva_adjust_postponement_detail_quota_new_cost_living" iLabel="ค่าครองชีพใหม่" iRequire="true" iGroup="eva_adjust_postponement_detail_quota" />
</div>
</div>
<div class='row'>
<div class="form-group col-md-4">
<label id="lab_eva_adjust_postponement_detail_quota_receive_quota" for="eva_adjust_postponement_detail_quota_receive_quota">ได้รับเงินโควต้าพิเศษ</label>
<input class="form-control" type="number" id="eva_adjust_postponement_detail_quota_receive_quota" iLabel="ได้รับเงินโควต้าพิเศษ" iRequire="true" iGroup="eva_adjust_postponement_detail_quota" />
</div>
<div class="form-group col-md-4">
<label id="lab_eva_adjust_postponement_detail_quota_new_sarary_with_quota" for="eva_adjust_postponement_detail_quota_new_sarary_with_quota">เงินเดือนใหม่ (รวมโควต้า)</label>
<input class="form-control" type="number" id="eva_adjust_postponement_detail_quota_new_sarary_with_quota" iLabel="เงินเดือนใหม่ (รวมโควต้า)" iRequire="true" iGroup="eva_adjust_postponement_detail_quota" />
</div>
</div>
<div class='row'>
<div class="form-group col-md-12">
<label id="lab_eva_adjust_postponement_detail_quota_remark" for="eva_adjust_postponement_detail_quota_remark">หมายเหตุ</label>
<textarea class="form-control" rows="4" cols="50" id="eva_adjust_postponement_detail_quota_remark" iLabel="หมายเหตุ" iRequire="true" iGroup="eva_adjust_postponement_detail_quota"></textarea>
</div>
</div>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">ยกเลิก</button>
<button type="button" class="btn btn-primary" onclick="javascript:eva_adjust_postponement_detail_quota_PutUpdate()">บันทึก</button>
</div>
</div>
</div>
</div>
<div class="row page-title">
<div class="col-md-5">
<div class="page-title">
@Configuration["SiteInformation:modulename"]
</div>
</div>
<div class="col-md-7">
<ol class="breadcrumb" style="">
<li class="breadcrumb-item "><a href="@Configuration["SiteInformation:mainsite"]">หน้าแรก</a></li>
<li class="breadcrumb-item "><a href="@Configuration["SiteInformation:mainsite"]@Configuration["SiteInformation:appsite"]">@Configuration["SiteInformation:modulename"]</a></li>
<li class="breadcrumb-item active">ปรับเลื่อนเงินโควต้าพิเศษ</li>
</ol>
</div>
</div>
<section class="wrapper">
<div class="title col-md-12"><div class="line"></div>บันทึกข้อมูล ปรับเลื่อนเงินโควต้าพิเศษ</div>
<section class="card no-border">
<div class="card-body" style="">
<div class="row">
<div class="col-md-12">
<input class="form-control" type="hidden" id="eva_adjust_postponement_quota_id" />
<div class='row'>
<div class="form-group col-md-6">
<label id="lab_eva_adjust_postponement_quota_fiscal_year" for="eva_adjust_postponement_quota_fiscal_year">ปีงบประมาณ </label>
<input class="form-control" type="number" id="eva_adjust_postponement_quota_fiscal_year" iLabel="ปีงบประมาณ " iRequire="true" iGroup="eva_adjust_postponement_quota" />
</div>
<div class="form-group col-md-6">
<label id="lab_eva_adjust_postponement_quota_theDate" for="eva_adjust_postponement_quota_theDate">วันที่เลื่อน</label>
<input class="form-control" type="text" id="eva_adjust_postponement_quota_theDate" data-provide="datepicker" data-date-language="th-th" iLabel="วันที่เลื่อน" iRequire="true" iGroup="eva_adjust_postponement_quota" />
</div>
</div>
<div class='row'>
<div class="form-group col-md-6">
<label id="lab_eva_adjust_postponement_quota_theRound" for="eva_adjust_postponement_quota_theRound">ครั้งที่เลื่อน</label>
<input class="form-control" type="number" id="eva_adjust_postponement_quota_theRound" iLabel="ครั้งที่เลื่อน" iRequire="true" iGroup="eva_adjust_postponement_quota" />
</div>
<div class="form-group col-md-6">
<label id="lab_eva_adjust_postponement_quota_managed_by" for="eva_adjust_postponement_quota_managed_by">ผู้จัดทำข้อมูล</label>
<select class="form-control" id="eva_adjust_postponement_quota_managed_by" iLabel="ผู้จัดทำข้อมูล" iRequire="true" iGroup="eva_adjust_postponement_quota"></select>
</div>
</div>
<div class='row'>
<div class="form-group col-md-6">
<label id="lab_eva_adjust_postponement_quota_limit_frame_quota" for="eva_adjust_postponement_quota_limit_frame_quota">กรอบโควต้าพิเศษร้อยละ</label>
<input class="form-control" type="number" id="eva_adjust_postponement_quota_limit_frame_quota" iLabel="กรอบโควต้าพิเศษร้อยละ" iRequire="true" iGroup="eva_adjust_postponement_quota" />
</div>
<div class="form-group col-md-6">
<label id="lab_eva_adjust_postponement_quota_limit_quota" for="eva_adjust_postponement_quota_limit_quota">จำนวนเงินที่สามารถบริหารวงเงินโควต้าพิเศษ</label>
<input class="form-control" type="number" id="eva_adjust_postponement_quota_limit_quota" iLabel="จำนวนเงินที่สามารถบริหารวงเงินโควต้าพิเศษ" iRequire="true" iGroup="eva_adjust_postponement_quota" />
</div>
</div>
<div class='row'>
<div class="form-group col-md-6">
<label id="lab_eva_adjust_postponement_quota_command_no" for="eva_adjust_postponement_quota_command_no">เลขที่คำสั่ง</label>
<input class="form-control" type="text" id="eva_adjust_postponement_quota_command_no" iLabel="เลขที่คำสั่ง" iRequire="true" iGroup="eva_adjust_postponement_quota" />
</div>
</div>
</div>
</div>
</div>
</section>
<div class="row">
<div class="form-group col-md-12">
<button type="button" class="btn btn-outline" onclick="javascript:window_close()" style="background-color: #fff;">ยกเลิก</button>
<button type="button" class="btn btn-submit" onclick="javascript:eva_adjust_postponement_quota_PutUpdate()">บันทึก</button>
</div>
</div>
</section>
<br />
<section class="wrapper">
<div class="title"><div class="line"></div>รายชื่อบุคลลากร</div>
<div class="tools">
<div class="row">
<div class="col-md-3">
<button class="btn btn-info" onclick="javascript:eva_adjust_postponement_detail_quota_GoCreate();"><i class="fa fa-plus" style="font-size: 14px;"></i> เพิ่มบุคคลากร ผู้มีสิทธิได้รับเงินโควต้าพิเศษ</button>
</div>
</div>
</div>
<table id="eva_adjust_postponement_detail_quotaTable" class="display table table-bordered table-striped">
<thead>
<tr>
<th>เครื่องมือ</th>
<th><label id='h_eva_adjust_postponement_detail_quota_emp_code'>รหัสพนักงาน</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_emp_fullname'>ชื่อ-นามสกุล</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_emp_position'>ตำแหน่ง</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_emp_level'>ระดับ</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_total_score'>คะแนนรวม</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_eva_result'>ผลการประเมิน</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_sarary'>เงินเดือน ก่อนปรับเลื่อน</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_cost_living'>ค่าครองชีพ ก่อนปรับเลื่อน</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_middle'>ค่ากลางฐานในการคำนวณ</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_promoted_percentage'>ร้อยละที่ได้เลื่อน</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_total_promote'>จำนวนเงินที่ได้เลื่อน</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_new_sarary'>เงินเดือนใหม่</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_new_cost_living'>ค่าครองชีพใหม่</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_remark'>หมายเหตุ</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_receive_quota'>ได้รับเงินโควต้าพิเศษ</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_new_sarary_with_quota'>เงินเดือนใหม่ (รวมโควต้า)</label></th>
</tr>
</thead>
<tbody></tbody>
</table>
</section>
@section FooterPlaceHolder{
<script src="~/js/eva_adjust_postponement_quota/eva_adjust_postponement_quota_d.js"></script>
<script src="~/js/eva_adjust_postponement_detail_quota/eva_adjust_postponement_detail_quota.js"></script>
<script>
$(document).ready(function () {
var id = getUrlParameter("id");
if (id) {
eva_adjust_postponement_quota_SetEditForm(id);
eva_adjust_postponement_detail_quota_InitiateDataTable(id);
eva_adjust_postponement_detail_quota_InitialForm();
} else {
eva_adjust_postponement_quota_SetCreateForm();
}
SetupValidationRemark("eva_adjust_postponement_quota");
SetupValidationRemark("eva_adjust_postponement_detail_quota");
});
</script>
}