Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
BookingMyHrManagement
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chanachai
BookingMyHrManagement
Commits
632f3d5e
Commit
632f3d5e
authored
Dec 13, 2021
by
Chanachai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add เปลี่ยนจากอักฤษเป็นไทย
parent
16d16296
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
57 deletions
+19
-57
admin-pending.component.html
src/app/pages/admin-pending/admin-pending.component.html
+19
-57
No files found.
src/app/pages/admin-pending/admin-pending.component.html
View file @
632f3d5e
...
@@ -204,9 +204,7 @@
...
@@ -204,9 +204,7 @@
<label>
ชื่อผู้จอง
</label>
<label>
ชื่อผู้จอง
</label>
<input
class=
" form-control"
placeholder=
""
type=
"text"
<input
class=
" form-control"
placeholder=
""
type=
"text"
[(
ngModel
)]="
modelRoomDetail
.
userName
"
formControlName=
"userNameForm"
/>
[(
ngModel
)]="
modelRoomDetail
.
userName
"
formControlName=
"userNameForm"
/>
<div
style=
"color: red;"
*
ngIf=
"myFormRoom.controls.userNameForm.status=='INVALID'"
>
<div
style=
"color: red;"
*
ngIf=
"myFormRoom.controls.userNameForm.status=='INVALID'"
>
กรุณากรอกชื่อผู้จอง.
</div>
Invalid
Username.
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -216,9 +214,7 @@
...
@@ -216,9 +214,7 @@
<label>
อีเมล
</label>
<label>
อีเมล
</label>
<input
class=
" form-control"
placeholder=
""
type=
"text"
<input
class=
" form-control"
placeholder=
""
type=
"text"
[(
ngModel
)]="
modelRoomDetail
.
email
"
formControlName=
"email"
/>
[(
ngModel
)]="
modelRoomDetail
.
email
"
formControlName=
"email"
/>
<div
style=
"color: red;"
*
ngIf=
"myFormRoom.controls.email.status=='INVALID'"
>
<div
style=
"color: red;"
*
ngIf=
"myFormRoom.controls.email.status=='INVALID'"
>
กรุณากรอกอีเมล.
</div>
Invalid
Email.
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -228,9 +224,7 @@
...
@@ -228,9 +224,7 @@
<label>
เบอร์โทร
</label>
<label>
เบอร์โทร
</label>
<input
class=
" form-control"
placeholder=
""
type=
"text"
<input
class=
" form-control"
placeholder=
""
type=
"text"
[(
ngModel
)]="
modelRoomDetail
.
room
.
rTelephone
"
formControlName=
"rTelephone"
/>
[(
ngModel
)]="
modelRoomDetail
.
room
.
rTelephone
"
formControlName=
"rTelephone"
/>
<div
style=
"color: red;"
*
ngIf=
"myFormRoom.controls.rTelephone.status=='INVALID'"
>
<div
style=
"color: red;"
*
ngIf=
"myFormRoom.controls.rTelephone.status=='INVALID'"
>
กรุณากรอกหมายเลขโทรศัพท์.
</div>
Invalid
Telephone.
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -239,9 +233,7 @@
...
@@ -239,9 +233,7 @@
<label
for=
"exampleFormControlSelect1"
>
ชื่อห้อง
</label>
<label
for=
"exampleFormControlSelect1"
>
ชื่อห้อง
</label>
<input
class=
"form-control"
type=
"text"
[(
ngModel
)]="
modelRoomDetail
.
room
.
rName
"
<input
class=
"form-control"
type=
"text"
[(
ngModel
)]="
modelRoomDetail
.
room
.
rName
"
formControlName=
"rName"
/>
formControlName=
"rName"
/>
<div
style=
"color: red;"
*
ngIf=
"myFormRoom.controls.rName.status=='INVALID'"
>
<div
style=
"color: red;"
*
ngIf=
"myFormRoom.controls.rName.status=='INVALID'"
>
กรุณากรอกชื่อห้อง.
</div>
Invalid
Room Name.
</div>
</div>
</div>
</div>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
...
@@ -249,9 +241,7 @@
...
@@ -249,9 +241,7 @@
<label
for=
"exampleFormControlSelect1"
>
รายละเอียด
</label>
<label
for=
"exampleFormControlSelect1"
>
รายละเอียด
</label>
<input
class=
"form-control"
type=
"text"
[(
ngModel
)]="
modelRoomDetail
.
room
.
rDesc
"
<input
class=
"form-control"
type=
"text"
[(
ngModel
)]="
modelRoomDetail
.
room
.
rDesc
"
formControlName=
"rDesc"
/>
formControlName=
"rDesc"
/>
<div
style=
"color: red;"
*
ngIf=
"myFormRoom.controls.rDesc.status=='INVALID'"
>
<div
style=
"color: red;"
*
ngIf=
"myFormRoom.controls.rDesc.status=='INVALID'"
>
กรุณากรอกรายละเอียดการจอง.
</div>
Invalid
Desc.
</div>
</div>
</div>
</div>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
...
@@ -259,17 +249,13 @@
...
@@ -259,17 +249,13 @@
<label
for=
"exampleFormControlSelect1"
>
วันที่เริ่มต้น
</label>
<label
for=
"exampleFormControlSelect1"
>
วันที่เริ่มต้น
</label>
<input
type=
"date"
class=
"form-control"
[(
ngModel
)]="
sDate
"
<input
type=
"date"
class=
"form-control"
[(
ngModel
)]="
sDate
"
(
ngModelChange
)="
rDate
(
sDate
,'
sdate
')"
formControlName=
"sDate"
/>
(
ngModelChange
)="
rDate
(
sDate
,'
sdate
')"
formControlName=
"sDate"
/>
<div
style=
"color: red;"
*
ngIf=
"myFormRoom.controls.sDate.status=='INVALID'"
>
<div
style=
"color: red;"
*
ngIf=
"myFormRoom.controls.sDate.status=='INVALID'"
>
กรุณากรอกวันที่เริ่มต้นการจอง.
</div>
Invalid
Start Date.
</div>
</div>
</div>
<div
class=
"col-6 mb-1"
>
<div
class=
"col-6 mb-1"
>
<label
for=
"exampleFormControlSelect1"
>
วันที่สิ้นสุด
</label>
<label
for=
"exampleFormControlSelect1"
>
วันที่สิ้นสุด
</label>
<input
type=
"date"
class=
"form-control"
[(
ngModel
)]="
eDate
"
<input
type=
"date"
class=
"form-control"
[(
ngModel
)]="
eDate
"
(
ngModelChange
)="
rDate
(
eDate
,'
edate
')"
formControlName=
"eDate"
/>
(
ngModelChange
)="
rDate
(
eDate
,'
edate
')"
formControlName=
"eDate"
/>
<div
style=
"color: red;"
*
ngIf=
"myFormRoom.controls.eDate.status=='INVALID'"
>
<div
style=
"color: red;"
*
ngIf=
"myFormRoom.controls.eDate.status=='INVALID'"
>
กรุณากรอกวันที่สิ้นสุดการจอง.
</div>
Invalid
End Date.
</div>
</div>
</div>
</div>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
...
@@ -277,17 +263,13 @@
...
@@ -277,17 +263,13 @@
<label
for=
"exampleFormControlSelect1"
>
เวลาที่เริ่มต้น
</label>
<label
for=
"exampleFormControlSelect1"
>
เวลาที่เริ่มต้น
</label>
<input
class=
"form-control"
type=
"time"
[(
ngModel
)]="
thStime
"
<input
class=
"form-control"
type=
"time"
[(
ngModel
)]="
thStime
"
(
ngModelChange
)="
thtimeChange
(
thStime
,
modelRoomDetail
.
sTime
)"
formControlName=
"sTime"
/>
(
ngModelChange
)="
thtimeChange
(
thStime
,
modelRoomDetail
.
sTime
)"
formControlName=
"sTime"
/>
<div
style=
"color: red;"
*
ngIf=
"myFormRoom.controls.sTime.status=='INVALID'"
>
<div
style=
"color: red;"
*
ngIf=
"myFormRoom.controls.sTime.status=='INVALID'"
>
กรุณากรอกเวลาที่เริ่มต้นการจอง.
</div>
Invalid
Start Time.
</div>
</div>
</div>
<div
class=
"col-6 mb-1"
>
<div
class=
"col-6 mb-1"
>
<label
for=
"exampleFormControlSelect1"
>
เวลาที่สิ้นสุด
</label>
<label
for=
"exampleFormControlSelect1"
>
เวลาที่สิ้นสุด
</label>
<input
class=
"form-control"
type=
"time"
[(
ngModel
)]="
thEtime
"
<input
class=
"form-control"
type=
"time"
[(
ngModel
)]="
thEtime
"
(
ngModelChange
)="
thtimeChange
(
thEtime
,
modelRoomDetail
.
eTime
)"
formControlName=
"eTime"
/>
(
ngModelChange
)="
thtimeChange
(
thEtime
,
modelRoomDetail
.
eTime
)"
formControlName=
"eTime"
/>
<div
style=
"color: red;"
*
ngIf=
"myFormRoom.controls.eTime.status=='INVALID'"
>
<div
style=
"color: red;"
*
ngIf=
"myFormRoom.controls.eTime.status=='INVALID'"
>
กรุณากรอกเวลาที่สิ้นสุดการจอง
</div>
Invalid
End Time.
</div>
</div>
</div>
</div>
</div>
<div
class=
" row"
>
<div
class=
" row"
>
...
@@ -335,9 +317,7 @@
...
@@ -335,9 +317,7 @@
<label>
ชื่อผู้จอง
</label>
<label>
ชื่อผู้จอง
</label>
<input
class=
" form-control"
placeholder=
""
type=
"text"
<input
class=
" form-control"
placeholder=
""
type=
"text"
[(
ngModel
)]="
modelItemDetail
.
userName
"
formControlName=
"userNameForm"
/>
[(
ngModel
)]="
modelItemDetail
.
userName
"
formControlName=
"userNameForm"
/>
<div
style=
"color: red;"
*
ngIf=
"myFormEquir.controls.userNameForm.status=='INVALID'"
>
<div
style=
"color: red;"
*
ngIf=
"myFormEquir.controls.userNameForm.status=='INVALID'"
>
กรุณากรอกชื่อผู้จอง.
</div>
Invalid
Name.
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -347,9 +327,7 @@
...
@@ -347,9 +327,7 @@
<label>
อีเมล
</label>
<label>
อีเมล
</label>
<input
class=
" form-control"
placeholder=
""
type=
"text"
<input
class=
" form-control"
placeholder=
""
type=
"text"
[(
ngModel
)]="
modelItemDetail
.
email
"
formControlName=
"email"
/>
[(
ngModel
)]="
modelItemDetail
.
email
"
formControlName=
"email"
/>
<div
style=
"color: red;"
*
ngIf=
"myFormEquir.controls.email.status=='INVALID'"
>
<div
style=
"color: red;"
*
ngIf=
"myFormEquir.controls.email.status=='INVALID'"
>
กรุณากรอกอีเมล.
</div>
Invalid
Email.
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -359,9 +337,7 @@
...
@@ -359,9 +337,7 @@
<label>
เบอร์โทร
</label>
<label>
เบอร์โทร
</label>
<input
class=
" form-control"
placeholder=
""
type=
"text"
<input
class=
" form-control"
placeholder=
""
type=
"text"
[(
ngModel
)]="
modelItemDetail
.
equirment
.
eTelephone
"
formControlName=
"eTelephone"
/>
[(
ngModel
)]="
modelItemDetail
.
equirment
.
eTelephone
"
formControlName=
"eTelephone"
/>
<div
style=
"color: red;"
*
ngIf=
"myFormEquir.controls.eTelephone.status=='INVALID'"
>
<div
style=
"color: red;"
*
ngIf=
"myFormEquir.controls.eTelephone.status=='INVALID'"
>
กรุณากรอกหมายเลขโทรศัพท์
</div>
Invalid
Telephone.
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -369,18 +345,14 @@
...
@@ -369,18 +345,14 @@
<div
class=
"col-sm-12 mb-1"
>
<div
class=
"col-sm-12 mb-1"
>
<label
for=
"exampleFormControlSelect1"
>
ชื่ออุปกรณ์
</label>
<label
for=
"exampleFormControlSelect1"
>
ชื่ออุปกรณ์
</label>
<input
class=
"form-control"
type=
"text"
[(
ngModel
)]="
modelItemDetail
.
equirment
.
eqName
"
formControlName=
"eqName"
/>
<input
class=
"form-control"
type=
"text"
[(
ngModel
)]="
modelItemDetail
.
equirment
.
eqName
"
formControlName=
"eqName"
/>
<div
style=
"color: red;"
*
ngIf=
"myFormEquir.controls.eqName.status=='INVALID'"
>
<div
style=
"color: red;"
*
ngIf=
"myFormEquir.controls.eqName.status=='INVALID'"
>
กรุณากรอกชื่ออุปกรณ์.
</div>
Invalid
Equirment Name.
</div>
</div>
</div>
</div>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col-sm-12 mb-1"
>
<div
class=
"col-sm-12 mb-1"
>
<label
for=
"exampleFormControlSelect1"
>
รายละเอียดอุปกรณ์
</label>
<label
for=
"exampleFormControlSelect1"
>
รายละเอียดอุปกรณ์
</label>
<input
class=
"form-control"
type=
"text"
[(
ngModel
)]="
modelItemDetail
.
equirment
.
eqDesc
"
formControlName=
"eqDesc"
/>
<input
class=
"form-control"
type=
"text"
[(
ngModel
)]="
modelItemDetail
.
equirment
.
eqDesc
"
formControlName=
"eqDesc"
/>
<div
style=
"color: red;"
*
ngIf=
"myFormEquir.controls.eqDesc.status=='INVALID'"
>
<div
style=
"color: red;"
*
ngIf=
"myFormEquir.controls.eqDesc.status=='INVALID'"
>
กรุณากรอกรายละเอียดการเบิก.
</div>
Invalid
Equirment Desc.
</div>
</div>
</div>
</div>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
...
@@ -388,17 +360,13 @@
...
@@ -388,17 +360,13 @@
<label
for=
"exampleFormControlSelect1"
>
วันที่เริ่มต้น
</label>
<label
for=
"exampleFormControlSelect1"
>
วันที่เริ่มต้น
</label>
<input
type=
"date"
class=
"form-control"
[(
ngModel
)]="
sDate
"
<input
type=
"date"
class=
"form-control"
[(
ngModel
)]="
sDate
"
(
ngModelChange
)="
rDate
(
sDate
,'
sdate
')"
formControlName=
"sDate"
/>
(
ngModelChange
)="
rDate
(
sDate
,'
sdate
')"
formControlName=
"sDate"
/>
<div
style=
"color: red;"
*
ngIf=
"myFormEquir.controls.sDate.status=='INVALID'"
>
<div
style=
"color: red;"
*
ngIf=
"myFormEquir.controls.sDate.status=='INVALID'"
>
กรุณากรอกวันที่เริ่มต้นการเบิก
</div>
Invalid
Start Date.
</div>
</div>
</div>
<div
class=
"col-6 mb-1"
>
<div
class=
"col-6 mb-1"
>
<label
for=
"exampleFormControlSelect1"
>
วันที่สิ้นสุด
</label>
<label
for=
"exampleFormControlSelect1"
>
วันที่สิ้นสุด
</label>
<input
type=
"date"
class=
"form-control"
[(
ngModel
)]="
eDate
"
<input
type=
"date"
class=
"form-control"
[(
ngModel
)]="
eDate
"
(
ngModelChange
)="
rDate
(
eDate
,'
edate
')"
formControlName=
"eDate"
/>
(
ngModelChange
)="
rDate
(
eDate
,'
edate
')"
formControlName=
"eDate"
/>
<div
style=
"color: red;"
*
ngIf=
"myFormEquir.controls.eDate.status=='INVALID'"
>
<div
style=
"color: red;"
*
ngIf=
"myFormEquir.controls.eDate.status=='INVALID'"
>
กรุณากรอกวันที่สิ้นสุดการเบิก.
</div>
Invalid
End Date.
</div>
</div>
</div>
</div>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
...
@@ -406,17 +374,13 @@
...
@@ -406,17 +374,13 @@
<label
for=
"exampleFormControlSelect1"
>
เวลาที่เริ่มต้น
</label>
<label
for=
"exampleFormControlSelect1"
>
เวลาที่เริ่มต้น
</label>
<input
class=
"form-control"
type=
"time"
[(
ngModel
)]="
thStime
"
<input
class=
"form-control"
type=
"time"
[(
ngModel
)]="
thStime
"
(
ngModelChange
)="
thtimeChange
(
thStime
,
modelItemDetail
.
sTime
)"
formControlName=
"sTime"
/>
(
ngModelChange
)="
thtimeChange
(
thStime
,
modelItemDetail
.
sTime
)"
formControlName=
"sTime"
/>
<div
style=
"color: red;"
*
ngIf=
"myFormEquir.controls.sTime.status=='INVALID'"
>
<div
style=
"color: red;"
*
ngIf=
"myFormEquir.controls.sTime.status=='INVALID'"
>
กรุณากรอกเวลาที่เริ่มต้นการเบิก
</div>
Invalid
Start Time.
</div>
</div>
</div>
<div
class=
"col-6 mb-1"
>
<div
class=
"col-6 mb-1"
>
<label
for=
"exampleFormControlSelect1"
>
เวลาที่สิ้นสุด
</label>
<label
for=
"exampleFormControlSelect1"
>
เวลาที่สิ้นสุด
</label>
<input
class=
"form-control"
type=
"time"
[(
ngModel
)]="
thEtime
"
<input
class=
"form-control"
type=
"time"
[(
ngModel
)]="
thEtime
"
(
ngModelChange
)="
thtimeChange
(
thStime
,
modelItemDetail
.
eTime
)"
formControlName=
"eTime"
/>
(
ngModelChange
)="
thtimeChange
(
thStime
,
modelItemDetail
.
eTime
)"
formControlName=
"eTime"
/>
<div
style=
"color: red;"
*
ngIf=
"myFormEquir.controls.eTime.status=='INVALID'"
>
<div
style=
"color: red;"
*
ngIf=
"myFormEquir.controls.eTime.status=='INVALID'"
>
กรุณากรอกเวลาที่สิ้นสุดการเบิก
</div>
Invalid
End Time.
</div>
</div>
</div>
</div>
</div>
<div
class=
" row"
>
<div
class=
" row"
>
...
@@ -424,9 +388,7 @@
...
@@ -424,9 +388,7 @@
<label
for=
"changequantity"
>
จำนวน
</label>
<label
for=
"changequantity"
>
จำนวน
</label>
<input
id=
"changequantity"
type=
"number"
class=
"form-control form-control-sm"
<input
id=
"changequantity"
type=
"number"
class=
"form-control form-control-sm"
[(
ngModel
)]="
modelItemDetail
.
Quantity
"
formControlName=
"Quantity"
/>
[(
ngModel
)]="
modelItemDetail
.
Quantity
"
formControlName=
"Quantity"
/>
<div
style=
"color: red;"
*
ngIf=
"myFormEquir.controls.Quantity.status=='INVALID'"
>
<div
style=
"color: red;"
*
ngIf=
"myFormEquir.controls.Quantity.status=='INVALID'"
>
กรุณากรอกจำนวนการเบิก.
</div>
Invalid
Quantity.
</div>
</div>
</div>
</div>
</div>
<div
class=
" row"
>
<div
class=
" row"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment