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
1a6c9e50
Commit
1a6c9e50
authored
Dec 22, 2021
by
Your Name
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Validator Contact
parent
3993eda7
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
19 deletions
+18
-19
admin-pending.component.html
src/app/pages/admin-pending/admin-pending.component.html
+4
-5
contact-admin.component.html
src/app/pages/contact-admin/contact-admin.component.html
+4
-4
equipment.component.ts
src/app/pages/equipment/equipment.component.ts
+2
-2
item-detail.service.ts
src/app/service/item-detail.service.ts
+4
-4
room-detail.service.ts
src/app/service/room-detail.service.ts
+4
-4
No files found.
src/app/pages/admin-pending/admin-pending.component.html
View file @
1a6c9e50
...
...
@@ -378,8 +378,7 @@
<div
class=
"row"
>
<div
class=
"col-sm-12 mb-1"
>
<label
for=
"exampleFormControlSelect1"
>
วันที่เริ่มต้น
</label>
<input
type=
"date"
class=
"form-control"
[(
ngModel
)]="
sDate
"
(
ngModelChange
)="
rDate
(
sDate
,'
sdate
')"
formControlName=
"sDate"
/>
<input
type=
"date"
class=
"form-control"
[(
ngModel
)]="
sDate
"
formControlName=
"sDate"
/>
<div
style=
"color: red;"
*
ngIf=
"myFormEquir.controls.sDate.status=='INVALID'"
>
กรุณากรอกวันที่เริ่มต้นการเบิก
</div>
</div>
...
...
@@ -422,7 +421,8 @@
<div
class=
"col-12 mb-1"
>
<div
class=
" form-check"
>
<label
class=
" form-check-label"
>
<input
class=
" form-check"
type=
"checkbox"
[(
ngModel
)]="
modelItemDetail
.
returnItem
"
formControlName=
"returnItem"
/>
<input
class=
" form-check"
type=
"checkbox"
[(
ngModel
)]="
modelItemDetail
.
returnItem
"
formControlName=
"returnItem"
/>
<span
class=
" form-check-sign"
>
<span
class=
"check"
>
คืนอุปกรณ์ที่เบิก
</span>
</span>
...
...
@@ -433,8 +433,7 @@
<div
class=
"row"
*
ngIf=
"modelItemDetail.returnItem"
>
<div
class=
"col-sm-12 mb-1"
>
<label
for=
"exampleFormControlSelect1"
>
วันที่สิ้นสุด
</label>
<input
type=
"date"
class=
"form-control"
[(
ngModel
)]="
eDate
"
(
ngModelChange
)="
rDate
(
eDate
,'
edate
')"
formControlName=
"eDate"
/>
<input
type=
"date"
class=
"form-control"
[(
ngModel
)]="
eDate
"
formControlName=
"eDate"
/>
<div
style=
"color: red;"
*
ngIf=
"myFormEquir.controls.eDate.status=='INVALID'"
>
กรุณากรอกวันที่สิ้นสุดการเบิก.
</div>
</div>
...
...
src/app/pages/contact-admin/contact-admin.component.html
View file @
1a6c9e50
...
...
@@ -142,14 +142,14 @@
<input
input
class=
" form-control"
placeholder=
""
type=
"text"
formControlName=
"ctName"
[(
ngModel
)]="
modelContact
.
ctName
"
/>
<div
style=
"color: red;"
*
ngIf=
"myFormContact.controls.ctName.status=='INVALID'"
>
กรุณากรอกชื่อผู้
จอ
ง.
</div>
กรุณากรอกชื่อผู้
แจ้
ง.
</div>
</div>
<div
class=
"col-6 md-1"
>
<label
for=
"typeahead-focus"
>
หัวข้อการแจ้ง Bug:
</label>
<input
input
class=
" form-control"
placeholder=
""
type=
"text"
formControlName=
"ctHead"
[(
ngModel
)]="
modelContact
.
ctHead
"
/>
<div
style=
"color: red;"
*
ngIf=
"myFormContact.controls.ctHead.status=='INVALID'"
>
กรุณากรอก
ชื่อผู้จอ
ง.
</div>
กรุณากรอก
หัวข้อการแจ้
ง.
</div>
</div>
</div>
<div
class=
"row"
>
...
...
@@ -161,14 +161,14 @@
(
click
)="
click
$.
next
($
any
($
event
).
target
.
value
)"
#
instance=
"ngbTypeahead"
formControlName=
"ctTab"
/>
<div
style=
"color: red;"
*
ngIf=
"myFormContact.controls.ctTab.status=='INVALID'"
>
กรุณากรอก
ชื่อผู้จอ
ง.
</div>
กรุณากรอก
หน้าต่างที่ต้องการแจ้
ง.
</div>
</div>
<div
class=
"col-6 mb-1"
>
<label
for=
"exampleFormControlSelect1"
>
วันที่เริ่มต้น
</label>
<input
type=
"date"
class=
"form-control"
value=
""
formControlName=
"sDate"
[(
ngModel
)]="
modelContact
.
sDate
"
>
<div
style=
"color: red;"
*
ngIf=
"myFormContact.controls.sDate.status=='INVALID'"
>
กรุณากรอก
ชื่อผู้จอ
ง.
</div>
กรุณากรอก
วันที่แจ้
ง.
</div>
</div>
</div>
<div
class=
" row"
>
...
...
src/app/pages/equipment/equipment.component.ts
View file @
1a6c9e50
...
...
@@ -151,8 +151,8 @@ export class EquipmentComponent implements OnInit {
rType
:
new
FormControl
(
this
.
modelRoomDetail
.
room
.
rType
,[
Validators
.
required
]),
sDate
:
new
FormControl
(
this
.
modelRoomDetail
.
sDate
,[
Validators
.
required
]),
eDate
:
new
FormControl
(
this
.
modelRoomDetail
.
eDate
,[
Validators
.
required
]),
sTime
:
new
FormControl
(
this
.
modelRoomDetail
.
sTime
,[
Validators
.
required
]
),
eTime
:
new
FormControl
(
this
.
modelRoomDetail
.
eTime
,[
Validators
.
required
]
),
sTime
:
new
FormControl
(
''
),
eTime
:
new
FormControl
(
''
),
remark
:
new
FormControl
(
''
),
allDay
:
new
FormControl
(
''
)
});
...
...
src/app/service/item-detail.service.ts
View file @
1a6c9e50
...
...
@@ -18,8 +18,8 @@ export class ItemDetailService {
eqPic
:
"assets/img/mou.jpg"
},
userName
:
'เกม'
,
sDate
:
'2021
/12/
09'
,
eDate
:
'2021
/12/
15'
,
sDate
:
'2021
-12-
09'
,
eDate
:
'2021
-12-
15'
,
sTime
:
'22:30'
,
eTime
:
'22:30'
,
eStatus
:
0
,
...
...
@@ -40,8 +40,8 @@ export class ItemDetailService {
eqPic
:
"assets/img/notebook.jpg"
},
userName
:
'แป๊ะ'
,
sDate
:
'2021
/12/
09'
,
eDate
:
'2021
/12/
13'
,
sDate
:
'2021
-12-
09'
,
eDate
:
'2021
-12-
13'
,
sTime
:
'22:30'
,
eTime
:
'22:30'
,
eStatus
:
1
,
...
...
src/app/service/room-detail.service.ts
View file @
1a6c9e50
...
...
@@ -20,8 +20,8 @@ export class RoomDetailService {
rDesc
:
"จำนวนคน 25 คน"
,
},
userName
:
'เกม'
,
sDate
:
'2021
/12/
15'
,
eDate
:
'2021
/12/
15'
,
sDate
:
'2021
-12-
15'
,
eDate
:
'2021
-12-
15'
,
sTime
:
'22:30'
,
eTime
:
'22:30'
,
rStatus
:
0
,
...
...
@@ -41,8 +41,8 @@ export class RoomDetailService {
rDesc
:
"จำนวนคน 50 คน"
,
},
userName
:
'แป๊ะ'
,
sDate
:
'2021
/12/
15'
,
eDate
:
'2021
/12/
15'
,
sDate
:
'2021
-12-
15'
,
eDate
:
'2021
-12-
15'
,
sTime
:
'22:30'
,
eTime
:
'22:30'
,
rStatus
:
1
,
...
...
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