Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
N
nobu-web-v2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ari_darmawan
nobu-web-v2
Commits
08c41c4b
Commit
08c41c4b
authored
Aug 31, 2022
by
ari_darmawan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix active tabs
parent
e036f1b5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
7 deletions
+12
-7
admin-dashboard.component.html
src/app/admin/admin-dashboard/admin-dashboard.component.html
+2
-2
admin-dashboard.component.ts
src/app/admin/admin-dashboard/admin-dashboard.component.ts
+10
-5
No files found.
src/app/admin/admin-dashboard/admin-dashboard.component.html
View file @
08c41c4b
...
...
@@ -11,7 +11,7 @@
</div>
<div
class=
"col-12 col-sm-6 col-md-4 col-lg-2"
[
ngClass
]="{'
d-none
'
:
(
RoleID
!=
_SP
.
PARAM_SERVICEDESK
&&
RoleID
!=
_SP
.
PARAM_SPV
&&
(
TeamID
!=
Env
.
Team
.
SociomileStaff
&&
TeamID
!=
Env
.
Team
.
CsCabangBranchAgent
)
)}"
>
<div
class=
"form-group"
>
<label
class=
"text-muted"
><small>
Time Start
</small></label>
<label
class=
"text-muted"
><small>
Start Date
</small></label>
<div
class=
"input-group date"
id=
"StartDate"
data-target-input=
"nearest"
>
<input
type=
"text"
class=
"form-control form-control-sm datetimepicker-input"
data-toggle=
"datetimepicker"
...
...
@@ -24,7 +24,7 @@
</div>
<div
class=
"col-12 col-sm-6 col-md-4 col-lg-2"
[
ngClass
]="{'
d-none
'
:
(
RoleID
!=
_SP
.
PARAM_SERVICEDESK
&&
RoleID
!=
_SP
.
PARAM_SPV
&&
(
TeamID
!=
Env
.
Team
.
SociomileStaff
&&
TeamID
!=
Env
.
Team
.
CsCabangBranchAgent
)
)}"
>
<div
class=
"form-group"
>
<label
class=
"text-muted"
><small>
Time End
</small></label>
<label
class=
"text-muted"
><small>
End Date
</small></label>
<div
class=
"input-group date"
id=
"EndDate"
data-target-input=
"nearest"
>
<input
type=
"text"
class=
"form-control form-control-sm datetimepicker-input"
data-toggle=
"datetimepicker"
...
...
src/app/admin/admin-dashboard/admin-dashboard.component.ts
View file @
08c41c4b
...
...
@@ -69,7 +69,7 @@ export class AdminDashboardComponent implements OnInit {
public
TicketReportRequest
=
{
page
:
1
,
perpage
:
8
,
perpage
:
10
,
user_id
:
null
,
start_date
:
null
,
end_date
:
null
,
...
...
@@ -78,7 +78,7 @@ export class AdminDashboardComponent implements OnInit {
public
TicketReportLogBookRequest
=
{
page
:
1
,
perpage
:
8
,
perpage
:
10
,
start_date
:
null
,
end_date
:
null
,
servicefamily_id
:
[],
...
...
@@ -240,9 +240,13 @@ export class AdminDashboardComponent implements OnInit {
}
SelectTicketCategory
(
_i
){
this
.
TicketCategory
.
map
(
function
(
x
,
index
){
x
.
selected
=
false
;
})
// this.TicketCategory.map(function(x,index){
// x.selected = false;
// })
this
.
TicketCategory
.
forEach
(
element
=>
{
element
.
selected
=
false
;
});
console
.
log
(
this
.
TicketCategory
)
this
.
TicketCategory
[
_i
].
selected
=
true
//Model Insert
...
...
@@ -275,6 +279,7 @@ export class AdminDashboardComponent implements OnInit {
onChangeDate
()
{
this
.
startDate
=
AratakaConfig
.
BootstrapDateCustomPicker
({
ID
:
'#StartDate'
,
isGet
:
true
,
isGetFormat
:
'YYYY-MM-DD'
});
this
.
endDate
=
AratakaConfig
.
BootstrapDateCustomPicker
({
ID
:
'#EndDate'
,
isGet
:
true
,
isGetFormat
:
'YYYY-MM-DD'
});
this
.
GettingTicketReportCategoryDataAPI
(
this
.
DashboardCountRequest
)
}
RandomColorPicker
(){
...
...
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