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
f8ece336
Commit
f8ece336
authored
Mar 25, 2021
by
Riri Novita
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
db pl detail
parent
d26a3dc9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1718 additions
and
4 deletions
+1718
-4
SubHolding.js
src/container/Laporan/SubHolding.js
+101
-3
TableSubHolding.js
src/container/Laporan/TableSubHolding.js
+1617
-1
No files found.
src/container/Laporan/SubHolding.js
View file @
f8ece336
...
...
@@ -422,6 +422,7 @@ export default class SubHolding extends Component {
if
(
this
.
state
.
report
.
value
===
1
)
{
api
.
create
().
getAllReportPLDetail
(
payload
).
then
(
response
=>
{
console
.
log
(
response
);
console
.
log
(
payload
);
let
dataTable
=
[]
if
(
response
.
data
)
{
if
(
response
.
data
.
status
===
'success'
)
{
...
...
@@ -477,7 +478,56 @@ export default class SubHolding extends Component {
item
.
profit_loss
.
monthly_last_year_october
,
item
.
profit_loss
.
monthly_last_year_november
,
item
.
profit_loss
.
monthly_last_year_december
,
item
.
profit_loss
.
notes
item
.
profit_loss
.
notes
,
item
.
profit_loss
.
ro_full_year_january
,
item
.
profit_loss
.
ro_full_year_february
,
item
.
profit_loss
.
ro_full_year_march
,
item
.
profit_loss
.
ro_full_year_april
,
item
.
profit_loss
.
ro_full_year_may
,
item
.
profit_loss
.
ro_full_year_june
,
item
.
profit_loss
.
ro_full_year_july
,
item
.
profit_loss
.
ro_full_year_august
,
item
.
profit_loss
.
ro_full_year_september
,
item
.
profit_loss
.
ro_full_year_october
,
item
.
profit_loss
.
ro_full_year_november
,
item
.
profit_loss
.
ro_full_year_december
,
item
.
profit_loss
.
ol_q1_january
,
item
.
profit_loss
.
ol_q1_february
,
item
.
profit_loss
.
ol_q1_march
,
item
.
profit_loss
.
ol_q1_april
,
item
.
profit_loss
.
ol_q1_may
,
item
.
profit_loss
.
ol_q1_june
,
item
.
profit_loss
.
ol_q1_july
,
item
.
profit_loss
.
ol_q1_august
,
item
.
profit_loss
.
ol_q1_september
,
item
.
profit_loss
.
ol_q1_october
,
item
.
profit_loss
.
ol_q1_november
,
item
.
profit_loss
.
ol_q1_december
,
item
.
profit_loss
.
ol_q2_january
,
item
.
profit_loss
.
ol_q2_february
,
item
.
profit_loss
.
ol_q2_march
,
item
.
profit_loss
.
ol_q2_april
,
item
.
profit_loss
.
ol_q2_may
,
item
.
profit_loss
.
ol_q2_june
,
item
.
profit_loss
.
ol_q2_july
,
item
.
profit_loss
.
ol_q2_august
,
item
.
profit_loss
.
ol_q2_september
,
item
.
profit_loss
.
ol_q2_october
,
item
.
profit_loss
.
ol_q2_november
,
item
.
profit_loss
.
ol_q2_december
,
item
.
profit_loss
.
ol_q3_january
,
item
.
profit_loss
.
ol_q3_february
,
item
.
profit_loss
.
ol_q3_march
,
item
.
profit_loss
.
ol_q3_april
,
item
.
profit_loss
.
ol_q3_may
,
item
.
profit_loss
.
ol_q3_june
,
item
.
profit_loss
.
ol_q3_july
,
item
.
profit_loss
.
ol_q3_august
,
item
.
profit_loss
.
ol_q3_september
,
item
.
profit_loss
.
ol_q3_october
,
item
.
profit_loss
.
ol_q3_november
,
item
.
profit_loss
.
ol_q3_december
,
])
}
if
(
item
.
children
!==
null
)
{
...
...
@@ -537,7 +587,55 @@ export default class SubHolding extends Component {
item
.
profit_loss
.
monthly_last_year_october
,
item
.
profit_loss
.
monthly_last_year_november
,
item
.
profit_loss
.
monthly_last_year_december
,
item
.
profit_loss
.
notes
item
.
profit_loss
.
notes
,
item
.
profit_loss
.
ro_full_year_january
,
item
.
profit_loss
.
ro_full_year_february
,
item
.
profit_loss
.
ro_full_year_march
,
item
.
profit_loss
.
ro_full_year_april
,
item
.
profit_loss
.
ro_full_year_may
,
item
.
profit_loss
.
ro_full_year_june
,
item
.
profit_loss
.
ro_full_year_july
,
item
.
profit_loss
.
ro_full_year_august
,
item
.
profit_loss
.
ro_full_year_september
,
item
.
profit_loss
.
ro_full_year_october
,
item
.
profit_loss
.
ro_full_year_november
,
item
.
profit_loss
.
ro_full_year_december
,
item
.
profit_loss
.
ol_q1_january
,
item
.
profit_loss
.
ol_q1_february
,
item
.
profit_loss
.
ol_q1_march
,
item
.
profit_loss
.
ol_q1_april
,
item
.
profit_loss
.
ol_q1_may
,
item
.
profit_loss
.
ol_q1_june
,
item
.
profit_loss
.
ol_q1_july
,
item
.
profit_loss
.
ol_q1_august
,
item
.
profit_loss
.
ol_q1_september
,
item
.
profit_loss
.
ol_q1_october
,
item
.
profit_loss
.
ol_q1_november
,
item
.
profit_loss
.
ol_q1_december
,
item
.
profit_loss
.
ol_q2_january
,
item
.
profit_loss
.
ol_q2_february
,
item
.
profit_loss
.
ol_q2_march
,
item
.
profit_loss
.
ol_q2_april
,
item
.
profit_loss
.
ol_q2_may
,
item
.
profit_loss
.
ol_q2_june
,
item
.
profit_loss
.
ol_q2_july
,
item
.
profit_loss
.
ol_q2_august
,
item
.
profit_loss
.
ol_q2_september
,
item
.
profit_loss
.
ol_q2_october
,
item
.
profit_loss
.
ol_q2_november
,
item
.
profit_loss
.
ol_q2_december
,
item
.
profit_loss
.
ol_q3_january
,
item
.
profit_loss
.
ol_q3_february
,
item
.
profit_loss
.
ol_q3_march
,
item
.
profit_loss
.
ol_q3_april
,
item
.
profit_loss
.
ol_q3_may
,
item
.
profit_loss
.
ol_q3_june
,
item
.
profit_loss
.
ol_q3_july
,
item
.
profit_loss
.
ol_q3_august
,
item
.
profit_loss
.
ol_q3_september
,
item
.
profit_loss
.
ol_q3_october
,
item
.
profit_loss
.
ol_q3_november
,
item
.
profit_loss
.
ol_q3_december
,
])
if
(
item
.
children
!==
null
)
{
if
(
item
.
children
.
length
>
0
)
{
...
...
@@ -547,7 +645,7 @@ export default class SubHolding extends Component {
}
}
})
//
console.log(dataTable)
console
.
log
(
dataTable
)
// this.setState({ dataTable, previewTable: true, loading: false, previewDownload: true })
this
.
setState
({
dataTable
,
previewTable
:
true
,
loading
:
false
,
previewDownload
:
true
})
...
...
src/container/Laporan/TableSubHolding.js
View file @
f8ece336
This source diff could not be displayed because it is too large. You can
view the blob
instead.
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