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
6ea5f60b
Commit
6ea5f60b
authored
Dec 23, 2021
by
Your Name
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update วันที่สิ้นสุด admin
parent
b6a6c8fd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
15 deletions
+5
-15
admin-pending.component.html
src/app/pages/admin-pending/admin-pending.component.html
+1
-3
pending.component.html
src/app/pages/pending/pending.component.html
+3
-11
item-detail.service.ts
src/app/service/item-detail.service.ts
+1
-1
No files found.
src/app/pages/admin-pending/admin-pending.component.html
View file @
6ea5f60b
...
...
@@ -160,7 +160,7 @@
<td
*
ngIf=
"item.eStatus==1"
>
อนุมัติ
</td>
<td
*
ngIf=
"item.eStatus==2"
>
ยกเลิก
</td>
<td
*
ngIf=
"item.eStatus==3"
>
สำเร็จแล้ว
</td>
<td>
{{ item.eDate | date : 'dd/MM/yyyy'
}}
</td>
<td>
{{ item.eDate | date : 'dd/MM/yyyy'}}
</td>
<div
class=
"col-auto align-self-sm-center"
>
<button
type=
"button"
class=
"btn btn-info btn-sm btn-circle "
style=
"line-height: 0px"
(
click
)="
openItemDetail
(
lend
,
item
)"
><i
...
...
@@ -421,8 +421,6 @@
<div
class=
"col-sm-12 mb-1"
>
<label
for=
"exampleFormControlSelect1"
>
วันที่สิ้นสุด
</label>
<input
type=
"date"
class=
"form-control"
[(
ngModel
)]="
eDate
"
formControlName=
"eDate"
/>
<div
style=
"color: red;"
*
ngIf=
"myFormEquir.controls.eDate.status=='INVALID'"
>
กรุณากรอกวันที่สิ้นสุดการเบิก.
</div>
</div>
</div>
</form>
...
...
src/app/pages/pending/pending.component.html
View file @
6ea5f60b
...
...
@@ -322,25 +322,17 @@
<div
class=
"row"
>
<div
class=
"col-6 mb-1"
>
<label
for=
"exampleFormControlSelect1"
>
วันที่เริ่มต้น
</label>
<input
readonly
type=
"date"
class=
"form-control"
[(
ngModel
)]="
sDate
"
>
</div>
<div
class=
"col-6 mb-1"
>
<label
for=
"exampleFormControlSelect1"
>
วันที่สิ้นสุด
</label>
<input
readonly
type=
"date"
class=
"form-control"
[(
ngModel
)]="
eDate
"
>
<input
readonly
type=
"date"
class=
"form-control"
[(
ngModel
)]="
sDate
"
>
</div>
</div>
<div
class=
"row"
>
<div
class=
"col-6 mb-1"
>
<label
for=
"exampleFormControlSelect1"
>
เวลาที่เริ่มต้น
</label>
<input
readonly
class=
"form-control"
type=
"time"
[(
ngModel
)]="
modelItemDetail
.
sTime
"
>
<input
readonly
class=
"form-control"
type=
"time"
[(
ngModel
)]="
modelItemDetail
.
sTime
"
>
</div>
<div
class=
"col-6 mb-1"
>
<label
for=
"exampleFormControlSelect1"
>
เวลาที่สิ้นสุด
</label>
<input
readonly
class=
"form-control"
type=
"time"
[(
ngModel
)]="
modelItemDetail
.
sTime
"
>
<input
readonly
class=
"form-control"
type=
"time"
[(
ngModel
)]="
modelItemDetail
.
eTime
"
>
</div>
</div>
<div
class=
" row"
>
...
...
src/app/service/item-detail.service.ts
View file @
6ea5f60b
...
...
@@ -41,7 +41,7 @@ export class ItemDetailService {
},
userName
:
'แป๊ะ'
,
sDate
:
'2021-12-09'
,
eDate
:
'
2021-12-13
'
,
eDate
:
''
,
sTime
:
'22:30'
,
eTime
:
'22:30'
,
eStatus
:
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