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
d581e784
Commit
d581e784
authored
Apr 22, 2021
by
faisalhamdi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cat pq!
parent
5a6e4c01
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
SubHolding.js
src/container/Laporan/SubHolding.js
+2
-2
No files found.
src/container/Laporan/SubHolding.js
View file @
d581e784
...
@@ -2883,7 +2883,7 @@ export default class SubHolding extends Component {
...
@@ -2883,7 +2883,7 @@ export default class SubHolding extends Component {
})
})
}
else
if
(
this
.
state
.
report
.
value
===
11
)
{
}
else
if
(
this
.
state
.
report
.
value
===
11
)
{
let
dbCATPQ
=
[];
let
dbCATPQ
=
[];
let
payloadCATPQ
=
{...
payload
,
report_id
:
1
7
,
quarter
:
this
.
state
.
quarter
.
name
}
let
payloadCATPQ
=
{...
payload
,
report_id
:
1
0
,
quarter
:
this
.
state
.
quarter
.
name
}
api
.
create
().
getReportCATPQ
(
payloadCATPQ
).
then
(
response
=>
{
api
.
create
().
getReportCATPQ
(
payloadCATPQ
).
then
(
response
=>
{
console
.
log
(
payloadCATPQ
);
console
.
log
(
payloadCATPQ
);
console
.
log
(
response
);
console
.
log
(
response
);
...
@@ -3931,7 +3931,7 @@ export default class SubHolding extends Component {
...
@@ -3931,7 +3931,7 @@ export default class SubHolding extends Component {
}
}
}
else
if
(
this
.
state
.
report
.
value
===
11
)
{
}
else
if
(
this
.
state
.
report
.
value
===
11
)
{
let
res
=
await
fetch
(
let
res
=
await
fetch
(
`
${
process
.
env
.
REACT_APP_URL_MAIN_BE
}
/public/transaction/cat/quarterly/export_report?report_id=1
7
&&company_id=
${
this
.
state
.
company
.
company_id
}
&&periode=
${
this
.
state
.
periode
.
periode
}
&&quarter=
${
this
.
state
.
quarter
.
name
}
`
`
${
process
.
env
.
REACT_APP_URL_MAIN_BE
}
/public/transaction/cat/quarterly/export_report?report_id=1
0
&&company_id=
${
this
.
state
.
company
.
company_id
}
&&periode=
${
this
.
state
.
periode
.
periode
}
&&quarter=
${
this
.
state
.
quarter
.
name
}
`
)
)
console
.
log
(
res
);
console
.
log
(
res
);
res
=
await
res
.
blob
()
res
=
await
res
.
blob
()
...
...
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