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
9df7d108
Commit
9df7d108
authored
a month ago
by
Ooh-Ao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
หน้าจอ
parent
7465b46c
No related merge requests found
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
172 additions
and
1 deletions
+172
-1
admin.module.ts
Synto-Angular/src/app/admin/admin.module.ts
+4
-0
transection-product-management.component.html
...-management/transection-product-management.component.html
+0
-0
transection-product-management.component.ts
...ct-management/transection-product-management.component.ts
+168
-1
No files found.
Synto-Angular/src/app/admin/admin.module.ts
View file @
9df7d108
...
...
@@ -14,6 +14,8 @@ import { SharedModule } from '../shared/sharedmodule';
import
{
FormsModule
,
ReactiveFormsModule
}
from
'@angular/forms'
;
import
{
ApproveBorrowComponent
}
from
'./approve-borrow/approve-borrow.component'
;
import
{
ReturnBorrowComponent
}
from
'./return-borrow/return-borrow.component'
;
import
{
NgSelectModule
}
from
'@ng-select/ng-select'
;
import
{
DpDatePickerModule
}
from
'ng2-date-picker'
;
@
NgModule
({
imports
:
[
...
...
@@ -22,6 +24,8 @@ import { ReturnBorrowComponent } from './return-borrow/return-borrow.component';
SharedModule
,
FormsModule
,
ReactiveFormsModule
,
NgSelectModule
,
DpDatePickerModule
],
declarations
:
[
AdminComponent
,
UserManagementComponent
,
ProjectManagementComponent
,
ProductManagementComponent
,
ProjectEmployeeManagementComponent
,
ProjectProductManagementComponent
,
HomeAdminComponent
,
TransectionProductManagementComponent
,
HistoryProductComponent
,
ApproveBorrowComponent
,
ReturnBorrowComponent
]
})
...
...
This diff is collapsed.
Click to expand it.
Synto-Angular/src/app/admin/transection-product-management/transection-product-management.component.html
View file @
9df7d108
This diff is collapsed.
Click to expand it.
Synto-Angular/src/app/admin/transection-product-management/transection-product-management.component.ts
View file @
9df7d108
import
{
Component
}
from
'@angular/core'
;
const
DATA
=
[
{
id
:
'#IN5252155'
,
src
:
'./assets/img/users/2.jpg'
,
name
:
'Socrates Itumay'
,
mail
:
'socratesitumany@abc.com'
,
createddate
:
'25-09-2022'
,
duedate
:
'15-10-2022'
,
status
:
'paid'
,
background
:
'success'
,
text
:
'success'
,
paymode
:
'card'
,
price
:
'$999'
,
address
:
'P.O. Box 283 8562 Fusce Rd., 20620'
,
},
{
id
:
'#IN2363363'
,
src
:
'./assets/img/users/3.jpg'
,
name
:
'Json Taylor'
,
mail
:
'jsontaylor2416@gmail.com'
,
createddate
:
'12-09-2022'
,
duedate
:
'20-10-2022'
,
status
:
'Overdue'
,
background
:
'danger'
,
text
:
'danger'
,
paymode
:
'Net Banking'
,
price
:
'$2526'
,
},
{
id
:
'#IN125252'
,
src
:
'./assets/img/users/4.jpg'
,
name
:
'Suzika Stallone'
,
mail
:
'suzikastallone3214@gmail.com'
,
createddate
:
'12-09-2022'
,
duedate
:
'20-10-2022'
,
status
:
'Due'
,
background
:
'warning'
,
text
:
'warning'
,
paymode
:
'UPI ID'
,
price
:
'$2526'
,
},
{
id
:
'#IN5656'
,
src
:
'./assets/img/users/5.jpg'
,
name
:
'Selena Deoyl'
,
mail
:
'selenadeoyl114@gmail.com'
,
createddate
:
'12-09-2022'
,
duedate
:
'20-10-2022'
,
status
:
'Unpaid'
,
background
:
'secondary'
,
text
:
'secondary'
,
paymode
:
'Paypal'
,
price
:
'$2526'
,
},
{
id
:
'#IN25252'
,
src
:
'./assets/img/users/9.jpg'
,
name
:
'Roman Killon'
,
mail
:
'romankillon143@gmail.com'
,
createddate
:
'12-09-2022'
,
duedate
:
'20-10-2022'
,
status
:
'Draft'
,
background
:
'primary'
,
text
:
'primary'
,
paymode
:
'Paypal'
,
price
:
'$2526'
,
},
{
id
:
'#IN5252155'
,
src
:
'./assets/img/users/10.jpg'
,
name
:
'Charlie Davieson'
,
mail
:
'charliedavieson@gmail.com'
,
createddate
:
'25-09-2022'
,
duedate
:
'15-10-2022'
,
status
:
'Paid'
,
background
:
'success'
,
text
:
'success'
,
paymode
:
'Card'
,
price
:
'$999'
,
},
{
id
:
'#IN2363363'
,
src
:
'./assets/img/users/11.jpg'
,
name
:
'Joseph Samurai'
,
mail
:
'josephsamurai@gmail.com'
,
createddate
:
'12-09-2022'
,
duedate
:
'20-10-2022'
,
status
:
'Overdue'
,
background
:
'danger'
,
text
:
'danger'
,
paymode
:
'Net Banking'
,
price
:
'$2526'
,
},
{
id
:
'#IN125252'
,
src
:
'./assets/img/users/12.jpg'
,
name
:
'Kevin Powell'
,
mail
:
'kevinpowell@gmail.com'
,
createddate
:
'12-09-2022'
,
duedate
:
'20-10-2022'
,
status
:
'Due'
,
background
:
'warning'
,
text
:
'warning'
,
paymode
:
'UPI ID'
,
price
:
'$2526'
,
},
{
id
:
'#IN5656'
,
src
:
'./assets/img/users/6.jpg'
,
name
:
'Darla Jung'
,
mail
:
'darlajung555@gmail.com'
,
createddate
:
'12-09-2022'
,
duedate
:
'20-10-2022'
,
status
:
'Unpaid'
,
background
:
'secondary'
,
text
:
'secondary'
,
paymode
:
'Paypal'
,
price
:
'$2526'
,
},
{
id
:
'#IN25252'
,
src
:
'./assets/img/users/7.jpg'
,
name
:
'Kiara Advensh'
,
mail
:
'kiaraadvensh87@gmail.com'
,
createddate
:
'12-09-2022'
,
duedate
:
'20-10-2022'
,
status
:
'Draft'
,
background
:
'primary'
,
text
:
'primary'
,
paymode
:
'Paypal'
,
price
:
'$2526'
,
},
];
@
Component
({
selector
:
'app-transection-product-management'
,
templateUrl
:
'./transection-product-management.component.html'
,
...
...
@@ -20,4 +152,39 @@ export class TransectionProductManagementComponent {
ngOnInit
()
{
}
datePickerConfig
=
{
format
:
'DD-MM-YY'
,
};
updateFormat
()
{
this
.
datePickerConfig
=
{
...
this
.
datePickerConfig
,
format
:
'DD-MM-YY'
,
};
}
Payments
=
DATA
;
click
=
(
id
:
string
)
=>
{
const
data
=
this
.
Payments
.
filter
((
x
:
{
id
:
string
})
=>
{
return
x
.
id
!=
id
;
});
this
.
Payments
=
data
;
};
isSelected
=
false
;
selectAll
(
event
:
Event
):
void
{
this
.
isSelected
=
(
event
.
target
as
HTMLInputElement
).
checked
;
}
input
=
1
;
minus
()
{
this
.
input
++
;
}
plus
=
()
=>
{
if
(
this
.
input
>
0
)
{
this
.
input
--
;
}
};
}
This diff is collapsed.
Click to expand it.
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