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
14137ac7
Commit
14137ac7
authored
Oct 14, 2020
by
Dida Adams Arizona
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'didam' into 'master'
Didam See merge request
!538
parents
a5456185
08221675
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
172 additions
and
119 deletions
+172
-119
FixedAssetsMovement.js
src/container/BudgetTahunan/FixedAssetsMovement.js
+3
-2
TaxPlanning.js
src/container/BudgetTahunan/TaxPlanning.js
+168
-116
HomePage.js
src/container/HomePage.js
+1
-1
No files found.
src/container/BudgetTahunan/FixedAssetsMovement.js
View file @
14137ac7
...
@@ -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/BudgetTahunan/TaxPlanning.js
View file @
14137ac7
This diff is collapsed.
Click to expand it.
src/container/HomePage.js
View file @
14137ac7
...
@@ -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