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
8d78d2e5
Commit
8d78d2e5
authored
Apr 19, 2021
by
r.kurnia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
olpa pl db pl
parent
a51b5177
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
12 deletions
+14
-12
TableSubHolding.js
src/container/Laporan/TableSubHolding.js
+10
-10
ProfitLossOLPA.js
src/container/OutlookPA/ProfitLossOLPA.js
+4
-2
No files found.
src/container/Laporan/TableSubHolding.js
View file @
8d78d2e5
...
...
@@ -12079,7 +12079,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[1
12]) === "" ? "" : Number(tableMeta.rowData[112], tableMeta, 112
).toFixed(1)}
value={String(tableMeta.rowData[1
21]) === "" ? "" : Number(tableMeta.rowData[121], tableMeta, 121
).toFixed(1)}
/>
}
/>
...
...
@@ -12102,7 +12102,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[1
13]) === "" ? "" : Number(tableMeta.rowData[113], tableMeta, 113
).toFixed(1)}
value={String(tableMeta.rowData[1
20]) === "" ? "" : Number(tableMeta.rowData[120], tableMeta, 120
).toFixed(1)}
/>
}
/>
...
...
@@ -12125,7 +12125,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[11
4]) === "" ? "" : Number(tableMeta.rowData[114], tableMeta, 114
).toFixed(1)}
value={String(tableMeta.rowData[11
9]) === "" ? "" : Number(tableMeta.rowData[119], tableMeta, 119
).toFixed(1)}
/>
}
/>
...
...
@@ -12148,7 +12148,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[11
5]) === "" ? "" : Number(tableMeta.rowData[115], tableMeta, 115
).toFixed(1)}
value={String(tableMeta.rowData[11
8]) === "" ? "" : Number(tableMeta.rowData[118], tableMeta, 118
).toFixed(1)}
/>
}
/>
...
...
@@ -12171,7 +12171,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[11
6]) === "" ? "" : Number(tableMeta.rowData[116], tableMeta, 116
).toFixed(1)}
value={String(tableMeta.rowData[11
7]) === "" ? "" : Number(tableMeta.rowData[117], tableMeta, 117
).toFixed(1)}
/>
}
/>
...
...
@@ -12196,7 +12196,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[11
7]) === "" ? "" : Number(tableMeta.rowData[117], tableMeta, 117
).toFixed(1)}
value={String(tableMeta.rowData[11
6]) === "" ? "" : Number(tableMeta.rowData[116], tableMeta, 116
).toFixed(1)}
/>
}
/>
...
...
@@ -12219,7 +12219,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[11
8]) === "" ? "" : Number(tableMeta.rowData[118], tableMeta, 118
).toFixed(1)}
value={String(tableMeta.rowData[11
5]) === "" ? "" : Number(tableMeta.rowData[115], tableMeta, 115
).toFixed(1)}
/>
}
/>
...
...
@@ -12242,7 +12242,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[11
9]) === "" ? "" : Number(tableMeta.rowData[119], tableMeta, 119
).toFixed(1)}
value={String(tableMeta.rowData[11
4]) === "" ? "" : Number(tableMeta.rowData[114], tableMeta, 114
).toFixed(1)}
/>
}
/>
...
...
@@ -12265,7 +12265,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[1
20]) === "" ? "" : Number(tableMeta.rowData[120], tableMeta, 120
).toFixed(1)}
value={String(tableMeta.rowData[1
13]) === "" ? "" : Number(tableMeta.rowData[113], tableMeta, 113
).toFixed(1)}
/>
}
/>
...
...
@@ -12288,7 +12288,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[1
21]) === "" ? "" : Number(tableMeta.rowData[121], tableMeta, 121
).toFixed(1)}
value={String(tableMeta.rowData[1
12]) === "" ? "" : Number(tableMeta.rowData[112], tableMeta, 112
).toFixed(1)}
/>
}
/>
src/container/OutlookPA/ProfitLossOLPA.js
View file @
8d78d2e5
...
...
@@ -1383,7 +1383,8 @@ export default class ProfitLossOLPA extends Component {
type
=
"text"
placeholder
=
""
decimalScale
=
{
1
}
disabled
=
{
this
.
props
.
isApprover
?
true
:
((
this
.
props
.
lastStatus
==
'SUBMIT'
||
this
.
props
.
lastStatus
==
'REVISION'
)
&&
this
.
props
.
prevRevision
===
false
&&
(
this
.
props
.
status
===
'revision'
||
this
.
props
.
status
===
'not-yet'
||
this
.
props
.
status
===
'draft'
||
this
.
props
.
status
===
'submitted'
)
?
false
:
true
)}
// disabled={this.props.isApprover ? true : ((this.props.lastStatus == 'SUBMIT' || this.props.lastStatus == 'REVISION') && this.props.prevRevision === false && (this.props.status === 'revision' || this.props.status === 'not-yet' || this.props.status === 'draft' || this.props.status === 'submitted') ? false : true)}
disabled
=
{
this
.
props
.
isApprover
?
true
:
false
}
value
=
{
Number
(
value
).
toFixed
(
1
)}
onBlur
=
{(
event
)
=>
{
handleChange
(
event
.
target
.
value
,
tableMeta
)
...
...
@@ -1528,7 +1529,8 @@ export default class ProfitLossOLPA extends Component {
type
=
"text"
placeholder
=
""
decimalScale
=
{
1
}
disabled
=
{
this
.
props
.
isApprover
?
true
:
((
this
.
props
.
lastStatus
==
'SUBMIT'
||
this
.
props
.
lastStatus
==
'REVISION'
)
&&
this
.
props
.
prevRevision
===
false
&&
(
this
.
props
.
status
===
'revision'
||
this
.
props
.
status
===
'not-yet'
||
this
.
props
.
status
===
'draft'
||
this
.
props
.
status
===
'submitted'
)
?
false
:
true
)}
// disabled={this.props.isApprover ? true : ((this.props.lastStatus == 'SUBMIT' || this.props.lastStatus == 'REVISION') && this.props.prevRevision === false && (this.props.status === 'revision' || this.props.status === 'not-yet' || this.props.status === 'draft' || this.props.status === 'submitted') ? false : true)}
disabled
=
{
this
.
props
.
isApprover
?
true
:
false
}
value
=
{
Number
(
value
).
toFixed
(
1
)}
onBlur
=
{(
event
)
=>
{
handleChange
(
event
.
target
.
value
,
tableMeta
)
...
...
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