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
d96d53d7
Commit
d96d53d7
authored
Feb 24, 2021
by
d.arizona
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update dasbor fin + rapihin save pl cf
parent
0863b192
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
679 additions
and
649 deletions
+679
-649
BudgetTahunan.js
src/container/BudgetTahunan.js
+4
-3
DashboardFinancial.js
src/container/Laporan/DashboardFinancial.js
+475
-450
MonthlyReport.js
src/container/MonthlyReport.js
+200
-196
No files found.
src/container/BudgetTahunan.js
View file @
d96d53d7
...
...
@@ -671,7 +671,7 @@ export default class BudgetTahunan extends Component {
}
}
})
//
console.log(dataTable)
console
.
log
(
dataTable
)
this
.
setState
({
dbCF
:
dataTable
},
()
=>
{
this
.
olahDataCashFlow
(
this
.
state
.
dbCF
,
type
)
})
...
...
@@ -929,7 +929,7 @@ export default class BudgetTahunan extends Component {
}
})
total
=
R
.
equals
(
total
,
NaN
)
?
"0.0"
:
total
total
=
R
.
equals
(
total
,
NaN
)
?
"0.0"
:
Number
(
total
).
toFixed
(
1
)
return
total
}
...
...
@@ -1089,6 +1089,7 @@ export default class BudgetTahunan extends Component {
console
.
log
(
this
.
state
.
dbCF
)
console
.
log
(
JSON
.
stringify
(
payload
))
api
.
create
().
createReportCF
(
payload
).
then
((
res
)
=>
{
this
.
setState
({
loading
:
false
})
console
.
log
(
res
)
// if (response.data) {
// if (response.data.status === "success") {
...
...
@@ -1220,7 +1221,7 @@ export default class BudgetTahunan extends Component {
this
.
olahDataPL
(
this
.
state
.
dbPL
,
type
)
})
}
else
{
this
.
setState
({
dbPL
:
[],
previewTable
:
false
,
loading
:
false
,
previewDownload
:
false
})
this
.
setState
({
dbPL
:
[],
previewTable
:
false
,
previewDownload
:
false
})
}
...
...
src/container/Laporan/DashboardFinancial.js
View file @
d96d53d7
This diff is collapsed.
Click to expand it.
src/container/MonthlyReport.js
View file @
d96d53d7
This diff is collapsed.
Click to expand it.
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