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
13ef7fa1
Commit
13ef7fa1
authored
Nov 29, 2020
by
d.arizona
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
apdet
parent
8ab8a8aa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
index.js
src/api/index.js
+5
-2
FixedAssetsMovement.js
src/container/BudgetTahunan/FixedAssetsMovement.js
+2
-1
No files found.
src/api/index.js
View file @
13ef7fa1
...
@@ -272,7 +272,8 @@ const create = (type = "") => {
...
@@ -272,7 +272,8 @@ const create = (type = "") => {
const
createMonthlyReportOI
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report_oi/create_monthly_report'
,
body
)
const
createMonthlyReportOI
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report_oi/create_monthly_report'
,
body
)
const
checkUploadMonthlyReportTP
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report_tp/check_import'
,
body
)
const
checkUploadMonthlyReportTP
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report_tp/check_import'
,
body
)
const
checkUploadMonthlyReportFAM
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report/fam/check_import'
,
body
)
const
checkUploadMonthlyReportFAM
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report/fam/check_import'
,
body
)
const
checkUploadMonthlyReportBS
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report_bs/check_import'
,
body
)
const
uploadMonthlyReportBS
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report_bs/import_monthly_report'
,
body
)
// MonthlyPL
// MonthlyPL
const
getHierarkiMontlyReportPL
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report_pl/get_report_hierarki'
,
body
)
const
getHierarkiMontlyReportPL
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report_pl/get_report_hierarki'
,
body
)
...
@@ -487,7 +488,9 @@ const create = (type = "") => {
...
@@ -487,7 +488,9 @@ const create = (type = "") => {
checkUploadMonthlyReportTP
,
checkUploadMonthlyReportTP
,
checkUploadMonthlyReportFAM
,
checkUploadMonthlyReportFAM
,
uploadMonthlyReportPL
,
uploadMonthlyReportPL
,
getMonthlyReport
getMonthlyReport
,
checkUploadMonthlyReportBS
,
uploadMonthlyReportBS
}
}
}
}
...
...
src/container/BudgetTahunan/FixedAssetsMovement.js
View file @
13ef7fa1
...
@@ -666,7 +666,8 @@ export default class FixedAssetsMovement extends Component {
...
@@ -666,7 +666,8 @@ export default class FixedAssetsMovement extends Component {
if
(
String
(
tableMeta
.
rowData
[
5
]).
toLocaleLowerCase
()
==
'beginning balance'
)
{
if
(
String
(
tableMeta
.
rowData
[
5
]).
toLocaleLowerCase
()
==
'beginning balance'
)
{
let
indexID
=
dataTable2
.
findIndex
((
val
,
index
)
=>
String
(
val
[
5
]).
toLocaleLowerCase
()
==
'ending balance'
&&
dataTable2
[
index
-
1
][
2
]
==
tableMeta
.
rowData
[
2
])
let
indexID
=
dataTable2
.
findIndex
((
val
,
index
)
=>
String
(
val
[
5
]).
toLocaleLowerCase
()
==
'ending balance'
&&
dataTable2
[
index
-
1
][
2
]
==
tableMeta
.
rowData
[
2
])
if
(
indexID
!==
-
1
)
{
if
(
indexID
!==
-
1
)
{
total
=
dataTable2
[
indexID
][
18
].
value
// console.log(dataTable2)
total
=
tableMeta
.
columnIndex
==
21
?
dataTable2
[
indexID
][
20
]
:
dataTable2
[
indexID
][
18
].
value
}
}
}
else
{
}
else
{
let
indexID
=
dataTable2
[
tableMeta
.
rowIndex
][
23
].
findIndex
((
val
)
=>
val
.
periode
==
periode
)
let
indexID
=
dataTable2
[
tableMeta
.
rowIndex
][
23
].
findIndex
((
val
)
=>
val
.
periode
==
periode
)
...
...
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