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
8c3d94e9
Commit
8c3d94e9
authored
May 07, 2024
by
fahrur huzain
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
issue TP RO view dan parameter value
parent
0c87d3cd
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4283 additions
and
4161 deletions
+4283
-4161
CreateParameter.js
src/container/MasterData/Parameter/CreateParameter.js
+2
-1
Parameter.js
src/container/MasterData/Parameter/Parameter.js
+2
-1
TaxPlanningRO.js
src/container/RollingOutlook/TaxPlanningRO.js
+4279
-4159
No files found.
src/container/MasterData/Parameter/CreateParameter.js
View file @
8c3d94e9
...
@@ -8,6 +8,7 @@ import * as R from 'ramda'
...
@@ -8,6 +8,7 @@ import * as R from 'ramda'
import
Images
from
'../../../assets/Images'
;
import
Images
from
'../../../assets/Images'
;
import
Constant
from
'../../../library/Constant'
;
import
Constant
from
'../../../library/Constant'
;
import
PopUpInformation
from
'../../../library/PopUpInformation'
;
import
PopUpInformation
from
'../../../library/PopUpInformation'
;
import
{
fixNumber
,
roundMath
}
from
'../../../library/Utils'
;
export
default
class
CreateParameter
extends
Component
{
export
default
class
CreateParameter
extends
Component
{
constructor
(
props
)
{
constructor
(
props
)
{
...
@@ -1731,7 +1732,7 @@ export default class CreateParameter extends Component {
...
@@ -1731,7 +1732,7 @@ export default class CreateParameter extends Component {
id
=
"value"
id
=
"value"
label
=
{
"Value"
}
label
=
{
"Value"
}
// get data IDR by IDR mn
// get data IDR by IDR mn
value
=
{
this
.
state
.
tempData
===
null
?
''
:
this
.
state
.
tempData
.
setting_group
===
"CURRENCY"
?
Number
(
this
.
state
.
tempData
.
value
)
*
1000
:
this
.
state
.
tempData
.
value
}
value
=
{
this
.
state
.
tempData
===
null
?
''
:
this
.
state
.
tempData
.
setting_group
===
"CURRENCY"
?
fixNumber
(
Number
(
this
.
state
.
tempData
.
value
)
*
1000
)
:
this
.
state
.
tempData
.
value
}
inputProps
=
{{
inputProps
=
{{
min
:
0
,
min
:
0
,
style
:
{
style
:
{
...
...
src/container/MasterData/Parameter/Parameter.js
View file @
8c3d94e9
...
@@ -14,6 +14,7 @@ import Constant from '../../../library/Constant';
...
@@ -14,6 +14,7 @@ import Constant from '../../../library/Constant';
import
PopUpDelete
from
'../../../library/PopUpDelete'
;
import
PopUpDelete
from
'../../../library/PopUpDelete'
;
import
{
css
}
from
"@emotion/core"
;
import
{
css
}
from
"@emotion/core"
;
import
PropagateLoader
from
"react-spinners/PropagateLoader"
import
PropagateLoader
from
"react-spinners/PropagateLoader"
import
{
fixNumber
,
roundMath
}
from
'../../../library/Utils'
;
const
LightTooltip
=
withStyles
((
theme
)
=>
({
const
LightTooltip
=
withStyles
((
theme
)
=>
({
tooltip
:
{
tooltip
:
{
...
@@ -119,7 +120,7 @@ export default class Parameter extends Component {
...
@@ -119,7 +120,7 @@ export default class Parameter extends Component {
item
.
company_name
,
item
.
company_name
,
item
.
description
,
item
.
description
,
item
.
order
,
item
.
order
,
item
.
setting_group
===
"CURRENCY"
?
Number
(
item
.
value
)
*
1000
:
item
.
value
,
// convert IDR mn to IDR
item
.
setting_group
===
"CURRENCY"
?
fixNumber
(
Number
(
item
.
value
)
*
1000
)
:
item
.
value
,
// convert IDR mn to IDR
item
.
min_value
,
item
.
min_value
,
item
.
max_value
,
item
.
max_value
,
item
.
status
item
.
status
...
...
src/container/RollingOutlook/TaxPlanningRO.js
View file @
8c3d94e9
This source diff could not be displayed because it is too large. You can
view the blob
instead.
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