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
1d8c8def
Commit
1d8c8def
authored
Feb 07, 2022
by
Your Name
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update eqment lend detail
parent
f7778f24
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
16 additions
and
15 deletions
+16
-15
rooms.model.ts
src/app/models/rooms.model.ts
+0
-1
admin-pending.component.html
src/app/pages/admin-pending/admin-pending.component.html
+6
-6
pending.component.html
src/app/pages/pending/pending.component.html
+6
-4
equirment.service.ts
src/app/service/equirment.service.ts
+1
-1
item-detail.service.ts
src/app/service/item-detail.service.ts
+1
-1
room-detail.service.ts
src/app/service/room-detail.service.ts
+1
-1
room.service.ts
src/app/service/room.service.ts
+1
-1
No files found.
src/app/models/rooms.model.ts
View file @
1d8c8def
import
{
RoomDetail
}
from
"./RoomDetail.model"
export
interface
Room
{
rId
:
number
;
rName
:
string
;
...
...
src/app/pages/admin-pending/admin-pending.component.html
View file @
1d8c8def
...
...
@@ -88,8 +88,8 @@
<tbody>
<tr
*
ngFor=
"let item of listRoomDetail"
>
<th
scope=
"row"
style=
"color: rgb(255, 255, 255);"
>
{{ item.id }}
</th>
<td
*
ngIf=
"item.r
Status
==1"
>
ห้อง
</td>
<td
*
ngIf=
"item.r
Status
==2"
>
รถ
</td>
<td
*
ngIf=
"item.r
oom.rType
==1"
>
ห้อง
</td>
<td
*
ngIf=
"item.r
oom.rType
==2"
>
รถ
</td>
<td>
{{ item.room.rName }}
</td>
<td>
{{ item.room.rDesc }}
</td>
<td>
{{ item.userName }}
</td>
...
...
@@ -150,10 +150,10 @@
<tbody>
<tr
*
ngFor=
"let item of listItemDetail"
>
<th
scope=
"row"
style=
"color: rgb(255, 255, 255);"
>
{{ item.id }}
</th>
<td
*
ngIf=
"item.equirment.eqType==4"
>
IT
</td>
<td
*
ngIf=
"item.equirment.eqType==5"
>
Company
</td>
<td>
{{ item.equirment.eqName }}
</td>
<td>
{{ item.equirment.eqDesc }}
</td>
<td
*
ngIf=
"item.equirment
s
.eqType==4"
>
IT
</td>
<td
*
ngIf=
"item.equirment
s
.eqType==5"
>
Company
</td>
<td>
{{ item.equirment
s
.eqName }}
</td>
<td>
{{ item.equirment
s
.eqDesc }}
</td>
<td>
{{ item.userName }}
</td>
<td>
{{ item.sDate | date : 'dd/MM/yyyy' }}
</td>
<td>
{{ item.Quantity }}
</td>
...
...
src/app/pages/pending/pending.component.html
View file @
1d8c8def
...
...
@@ -88,7 +88,8 @@
<tbody>
<tr
*
ngFor=
"let item of listRoomDetail"
>
<th
scope=
"row"
style=
"color: rgb(255, 255, 255);"
>
{{ item.id }}
</th>
<td>
{{ item.room.rType }}
</td>
<td
*
ngIf=
"item.room.rType==1"
>
ห้อง
</td>
<td
*
ngIf=
"item.room.rType==2"
>
รถ
</td>
<td>
{{ item.room.rName }}
</td>
<td>
{{ item.room.rDesc }}
</td>
<td>
{{ item.userName }}
</td>
...
...
@@ -150,9 +151,10 @@
<tbody>
<tr
*
ngFor=
"let item of listItemDetail"
>
<th
scope=
"row"
style=
"color: rgb(255, 255, 255);"
>
{{ item.id }}
</th>
<td>
{{ item.equirment.eqType }}
</td>
<td>
{{ item.equirment.eqName }}
</td>
<td>
{{ item.equirment.eqDesc }}
</td>
<td
*
ngIf=
"item.equirments.eqType==4"
>
IT
</td>
<td
*
ngIf=
"item.equirments.eqType==5"
>
Company
</td>
<td>
{{ item.equirments.eqName }}
</td>
<td>
{{ item.equirments.eqDesc }}
</td>
<td>
{{ item.userName }}
</td>
<td>
{{ item.sDate | date : 'dd/MM/yyyy' }} {{ item.sTime }}
</td>
<td>
{{ item.Quantity }}
</td>
...
...
src/app/service/equirment.service.ts
View file @
1d8c8def
...
...
@@ -8,7 +8,7 @@ import { Observable } from 'rxjs';
export
class
EquirmentService
{
constructor
(
private
http
:
HttpClient
)
{
}
url
:
string
=
"http://
a3be-115-87-232-117
.ngrok.io"
;
url
:
string
=
"http://
915e-49-0-64-28
.ngrok.io"
;
listEquirment
:
Equirment
[]
=
[]
addEquirment
(
model
:
Equirment
)
{
...
...
src/app/service/item-detail.service.ts
View file @
1d8c8def
...
...
@@ -7,7 +7,7 @@ import { Observable } from 'rxjs';
export
class
ItemDetailService
{
constructor
(
private
http
:
HttpClient
)
{
}
url
:
string
=
"http://
a3be-115-87-232-117
.ngrok.io"
;
url
:
string
=
"http://
915e-49-0-64-28
.ngrok.io"
;
listItemDetail
:
ItemDetail
[]
=
[]
addItemDetail
(
model
:
ItemDetail
)
{
...
...
src/app/service/room-detail.service.ts
View file @
1d8c8def
...
...
@@ -8,7 +8,7 @@ import { Observable } from 'rxjs';
export
class
RoomDetailService
{
constructor
(
private
http
:
HttpClient
)
{
}
url
:
string
=
"http://
a3be-115-87-232-117
.ngrok.io"
;
url
:
string
=
"http://
915e-49-0-64-28
.ngrok.io"
;
listRoomDetail
:
RoomDetail
[]
=
[]
editRoomDetail
(
model
:
RoomDetail
)
{
...
...
src/app/service/room.service.ts
View file @
1d8c8def
...
...
@@ -7,7 +7,7 @@ import { RoomDetail } from '../models/RoomDetail.model';
export
class
RoomService
{
constructor
(
private
http
:
HttpClient
)
{
}
url
:
string
=
"http://
a3be-115-87-232-117
.ngrok.io"
;
url
:
string
=
"http://
915e-49-0-64-28
.ngrok.io"
;
listRoomModel
:
Room
[]
=
[]
listRoomSearch
:
Room
[]
=
[];
...
...
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