Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
Tia-dev
Project
Project
Details
Activity
Releases
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dida Adams Arizona
Tia-dev
Commits
2a58e2c1
Commit
2a58e2c1
authored
Feb 26, 2021
by
d.arizona
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
apdet
parent
c8055284
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
DashboardFinancial.js
src/container/Laporan/DashboardFinancial.js
+3
-4
No files found.
src/container/Laporan/DashboardFinancial.js
View file @
2a58e2c1
...
@@ -444,7 +444,7 @@ export default class DashboardFinancial extends React.Component {
...
@@ -444,7 +444,7 @@ export default class DashboardFinancial extends React.Component {
if
(
this
.
state
.
report
.
value
==
'summary'
)
{
if
(
this
.
state
.
report
.
value
==
'summary'
)
{
companyRev
.
push
(
item
.
periode
)
companyRev
.
push
(
item
.
periode
)
mbRev
.
push
(
Number
(
item
.
value
))
mbRev
.
push
(
Number
(
item
.
value
))
mrRev
.
push
(
Number
(
item
.
gp_margin
))
mrRev
.
push
(
Number
(
item
.
gp_margin
)
.
toFixed
(
1
)
)
}
else
{
}
else
{
companyRev
.
push
(
handleName
(
item
.
company
))
companyRev
.
push
(
handleName
(
item
.
company
))
mbRev
.
push
(
Number
(
item
.
value_mb
))
mbRev
.
push
(
Number
(
item
.
value_mb
))
...
@@ -502,7 +502,6 @@ export default class DashboardFinancial extends React.Component {
...
@@ -502,7 +502,6 @@ export default class DashboardFinancial extends React.Component {
max
:
maxRev
,
max
:
maxRev
,
interval
:
intervalRev
,
interval
:
intervalRev
,
axisLabel
:
{
axisLabel
:
{
formatter
:
'{value}%'
,
interval
:
0
,
interval
:
0
,
// rotate: 10,
// rotate: 10,
textStyle
:
{
textStyle
:
{
...
@@ -581,7 +580,7 @@ export default class DashboardFinancial extends React.Component {
...
@@ -581,7 +580,7 @@ export default class DashboardFinancial extends React.Component {
if
(
this
.
state
.
report
.
value
==
'summary'
)
{
if
(
this
.
state
.
report
.
value
==
'summary'
)
{
companyTPAT
.
push
(
item
.
periode
)
companyTPAT
.
push
(
item
.
periode
)
mbTPAT
.
push
(
Number
(
item
.
value
))
mbTPAT
.
push
(
Number
(
item
.
value
))
mrTPAT
.
push
(
Number
(
item
.
gp_margin
))
mrTPAT
.
push
(
Number
(
item
.
gp_margin
)
.
toFixed
(
1
)
)
}
else
{
}
else
{
companyTPAT
.
push
(
handleName
(
item
.
company
))
companyTPAT
.
push
(
handleName
(
item
.
company
))
mbTPAT
.
push
(
Number
(
item
.
value_mb
))
mbTPAT
.
push
(
Number
(
item
.
value_mb
))
...
@@ -706,7 +705,7 @@ export default class DashboardFinancial extends React.Component {
...
@@ -706,7 +705,7 @@ export default class DashboardFinancial extends React.Component {
if
(
this
.
state
.
report
.
value
==
'summary'
)
{
if
(
this
.
state
.
report
.
value
==
'summary'
)
{
companyEBITDA
.
push
(
item
.
periode
)
companyEBITDA
.
push
(
item
.
periode
)
mbEBITDA
.
push
(
Number
(
item
.
value
))
mbEBITDA
.
push
(
Number
(
item
.
value
))
mrEBITDA
.
push
(
Number
(
item
.
gp_margin
))
mrEBITDA
.
push
(
Number
(
item
.
gp_margin
)
.
toFixed
(
1
)
)
}
else
{
}
else
{
companyEBITDA
.
push
(
handleName
(
item
.
company
))
companyEBITDA
.
push
(
handleName
(
item
.
company
))
mbEBITDA
.
push
(
Number
(
item
.
value_mb
))
mbEBITDA
.
push
(
Number
(
item
.
value_mb
))
...
...
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