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
389853a5
Commit
389853a5
authored
May 04, 2021
by
r.kurnia
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://103.44.149.204/d.arizona/tia-dev
into rifka
parents
e73dc962
f29ba822
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
9 deletions
+10
-9
RollingOutlook.js
src/container/RollingOutlook.js
+5
-4
BalanceSheetRO.js
src/container/RollingOutlook/BalanceSheetRO.js
+5
-5
No files found.
src/container/RollingOutlook.js
View file @
389853a5
...
...
@@ -555,15 +555,16 @@ export default class RollingOutlook extends Component {
}
else
{
this
.
setState
({
loading
:
false
})
}
// api.create().checkApprover().then(response => {
api
.
create
().
getRollingOutlookIsApprover
().
then
(
response
=>
{
// console.log(response);
if
(
this
.
state
.
isApprover
)
{
if
(
response
.
data
.
data
.
is_approver
===
true
)
{
this
.
setState
({
isApprover
:
true
,
checkApprover
:
true
})
}
else
{
this
.
setState
({
isApprover
:
this
.
state
.
lastStatus
==
=
"SUBMITTED"
?
true
:
false
,
checkApprover
:
false
})
this
.
setState
({
isApprover
:
this
.
state
.
lastStatus
==
'SUBMITTED'
?
true
:
false
,
checkApprover
:
false
})
}
//
})
})
})
}
else
{
this
.
setState
({
alert
:
true
,
messageAlert
:
response
.
data
.
message
,
tipeAlert
:
'warning'
},
()
=>
{
...
...
src/container/RollingOutlook/BalanceSheetRO.js
View file @
389853a5
...
...
@@ -791,7 +791,7 @@ export default class BalanceSheetRO extends Component {
let
data
=
tableMeta
.
columnIndex
-
1
let
indexID
=
dataTable2
.
findIndex
((
val
)
=>
val
[
20
]
==
tst
)
if
(
indexID
!==
-
1
)
{
let
valuezz
=
dataTable2
[
indexID
][
data
].
value
!==
undefined
?
dataTable2
[
indexID
][
data
].
formula
[
0
].
value
:
dataTable2
[
indexID
][
data
]
let
valuezz
=
dataTable2
[
indexID
][
data
].
value
!==
undefined
?
dataTable2
[
indexID
][
data
].
value
:
dataTable2
[
indexID
][
data
]
anjay
.
push
(
valuezz
==
""
?
0
:
valuezz
)
}
// console.log(tst, data, tableMeta.rowData[data]);
...
...
@@ -843,7 +843,7 @@ export default class BalanceSheetRO extends Component {
total
=
R
.
equals
(
total
,
NaN
)
?
"0.0"
:
total
// console.log(dataTable2[tableMeta.rowIndex][22])
// console.log(tableMeta.rowData[5])
// if (tableMeta.rowData[5] == '
Beginning Balance'
) {
// if (tableMeta.rowData[5] == '
R/E (Cummulative)' && tableMeta.columnIndex == 10
) {
// console.log(baru)
// console.log(anjay)
// console.log(total)
...
...
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