01.
<!--ส่วนแก้ไขข้อมูลผู้ใช้งาน-->
02.
<td height=
"45"
>
03.
<form id=
"frmMain-<?=$row["
type_id
"];?>"
name=
"frmMain-<?=$row["
type_id
"];?>"
method=
"post"
action=
"offbudgetfs"
>
04.
<input type=
"hidden"
id=
"hdnCmd"
name=
"hdnCmd"
value=
"Update"
>
05.
<div
class
=
"modal fade"
id=
"editemployee<?php echo $row["
type_id
"];?>"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"exampleModalLabel"
aria-hidden=
"true"
>
06.
<div
class
=
"modal-dialog"
role=
"document"
>
07.
<div
class
=
"modal-content"
>
08.
<div
class
=
"modal-header"
>
09.
<h5
class
=
"modal-title"
id=
"exampleModalLabel"
>แก้ไขประเภทกลุ่มเงินนอกงบประมาณ</h5>
10.
<button type=
"button"
class
=
"close"
data-dismiss=
"modal"
aria-label=
"Close"
>
11.
<span aria-hidden=
"true"
>×</span>
12.
</button>
13.
</div>
14.
<div
class
=
"modal-body"
>
15.
<div
class
=
"form-group"
>
16.
<input type=
"text"
class
=
"form-control"
id=
"edit_type_id-<?=$row["
type_id
"];?>"
name=
"edit_type_id"
value=
"<?=$row["
type_id
"];?>"
>
17.
</div>
18.
<div
class
=
"form-group"
>
19.
<label
for
=
"recipient-name"
class
=
"col-form-label"
>ประเภทของเงินนอกงบประมาณ :</label>
20.
<input type=
"text"
class
=
"form-control"
id=
"edit_type_money-<?=$row["
type_id
"];?>"
name=
"edit_type_money"
value=
"<?=$row["
type_money
"];?>"
>
21.
</div>
22.
<div
class
=
"form-group"
>
23.
<label
for
=
"message-text"
class
=
"col-form-label"
>รายการ :</label>
24.
<input type=
"text"
class
=
"form-control"
id=
"edit_sub_money-<?=$row["
type_id
"];?>"
name=
"edit_sub_money"
value=
"<?=$row["
sub_money
"];?>"
>
25.
</div>
26.
<div
class
=
"form-group"
>
27.
<label>รายรับ/รายจ่าย :</label>
28.
<select
class
=
"form-control"
id=
"edit_type"
OnChange=
"Edit()"
>
29.
<option value=
"00"
>-- กรุณาเลือกประเภท --</option>
30.
<option value=
"01"
>รับ</option>
31.
<option value=
"02"
>จ่าย</option>
32.
<option value=
"03"
>รับ/จ่าย</option>
33.
</select>
34.
</div>
35.
<div
class
=
"form-group"
>
36.
<input type=
"text"
class
=
"form-control"
id=
"edit_type_details"
>
37.
</div>
38.
</div>
39.
<div
class
=
"modal-footer"
>
40.
<button type=
"button"
class
=
"btn btn-danger"
data-dismiss=
"modal"
id=
"btnCancel"
value=
"Cancel"
OnClick=
"window.location='offbudgetfs';"
>ปิด</button>
41.
<button name=
"btnUpdate"
type=
"button"
id=
"btnUpdate"
value=
"Update"
OnClick=
"document.getElementById('frmMain-<?=$row["
type_id
"];?>').submit();"
class
=
"btn btn-success"
>บันทึก</button>
42.
</div>
43.
</div>
44.
</div>
45.
</div>
46.
</form>
47.
</td>