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
b6e3b55e
Commit
b6e3b55e
authored
Oct 14, 2020
by
d.arizona
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
a5456185
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
FixedAssetsMovement.js
src/container/BudgetTahunan/FixedAssetsMovement.js
+3
-2
HomePage.js
src/container/HomePage.js
+1
-1
No files found.
src/container/BudgetTahunan/FixedAssetsMovement.js
View file @
b6e3b55e
...
@@ -596,7 +596,7 @@ export default class FixedAssetsMovement extends Component {
...
@@ -596,7 +596,7 @@ export default class FixedAssetsMovement extends Component {
}
}
const
handleForecast
=
(
tableMeta
,
periode
)
=>
{
const
handleForecast
=
(
tableMeta
,
periode
)
=>
{
let
total
=
0
let
total
=
0
if
(
String
(
tableMeta
.
rowData
[
5
]).
toLocaleLowerCase
()
==
'ending balance'
||
String
(
tableMeta
.
rowData
[
5
]).
toLocaleLowerCase
()
==
'beginning balance'
)
{
if
(
String
(
tableMeta
.
rowData
[
5
]).
toLocaleLowerCase
()
==
'
gain/ (loss) on fixed assets'
||
String
(
tableMeta
.
rowData
[
5
]).
toLocaleLowerCase
()
==
'
ending balance'
||
String
(
tableMeta
.
rowData
[
5
]).
toLocaleLowerCase
()
==
'beginning balance'
)
{
// console.log(dataTable2[tableMeta.rowIndex][23])
// console.log(dataTable2[tableMeta.rowIndex][23])
// console.log()
// console.log()
let
indexID
=
dataTable2
[
tableMeta
.
rowIndex
][
23
].
findIndex
((
val
)
=>
val
.
periode
==
periode
)
let
indexID
=
dataTable2
[
tableMeta
.
rowIndex
][
23
].
findIndex
((
val
)
=>
val
.
periode
==
periode
)
...
@@ -604,7 +604,8 @@ export default class FixedAssetsMovement extends Component {
...
@@ -604,7 +604,8 @@ export default class FixedAssetsMovement extends Component {
total
=
dataTable2
[
tableMeta
.
rowIndex
][
23
][
indexID
].
value
total
=
dataTable2
[
tableMeta
.
rowIndex
][
23
][
indexID
].
value
}
}
}
else
{
}
else
{
total
=
handleValueFormula
(
tableMeta
.
columnIndex
,
tableMeta
)
// console.log(dataTable2[tableMeta.rowIndex])
}
}
// if (String(tableMeta.rowData[5]).toLocaleLowerCase() == 'beginning balance') {
// if (String(tableMeta.rowData[5]).toLocaleLowerCase() == 'beginning balance') {
// total = dataTable2[tableMeta.rowIndex][tableMeta.columnIndex - 1]
// total = dataTable2[tableMeta.rowIndex][tableMeta.columnIndex - 1]
...
...
src/container/HomePage.js
View file @
b6e3b55e
...
@@ -239,7 +239,7 @@ class HomePage extends Component {
...
@@ -239,7 +239,7 @@ class HomePage extends Component {
<
/div
>
<
/div
>
);
);
return
(
return
(
<
div
style
=
{{
flex
:
1
,
backgroundColor
:
'#f8f8f8'
}}
>
<
div
style
=
{{
flex
:
1
,
backgroundColor
:
'#f8f8f8'
,
minHeight
:
this
.
props
.
height
}}
>
{
this
.
state
.
loading
&&
loadingComponent
}
{
this
.
state
.
loading
&&
loadingComponent
}
{
this
.
state
.
isApprover
===
true
?
{
this
.
state
.
isApprover
===
true
?
<
div
>
<
div
>
...
...
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