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
8278c551
Commit
8278c551
authored
Feb 04, 2021
by
Riri Novita
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
salah didam
parent
4b29c39f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
SubHolding.js
src/container/Laporan/SubHolding.js
+6
-3
No files found.
src/container/Laporan/SubHolding.js
View file @
8278c551
...
@@ -101,12 +101,14 @@ export default class SubHolding extends Component {
...
@@ -101,12 +101,14 @@ export default class SubHolding extends Component {
"periode"
:
this
.
state
.
periode
.
periode
,
"periode"
:
this
.
state
.
periode
.
periode
,
}
}
api
.
create
().
getFullApproveMonthly
(
payload
).
then
((
response
)
=>
{
api
.
create
().
getFullApproveMonthly
(
payload
).
then
((
response
)
=>
{
console
.
log
(
payload
);
console
.
log
(
response
);
console
.
log
(
response
);
if
(
response
.
data
)
{
if
(
response
.
data
)
{
if
(
response
.
data
.
status
==
"success"
)
{
if
(
response
.
data
.
status
==
"success"
)
{
console
.
log
(
response
.
data
.
data
);
let
approveMonthly
=
let
approveMonthly
=
this
.
state
.
month
.
month_id
==
1
?
this
.
state
.
month
.
month_id
==
1
?
response
.
data
.
data
.
januar
y
.
is_approve
:
response
.
data
.
data
.
januar
i
.
is_approve
:
this
.
state
.
month
.
month_id
==
2
?
this
.
state
.
month
.
month_id
==
2
?
response
.
data
.
data
.
februari
.
is_approve
:
response
.
data
.
data
.
februari
.
is_approve
:
this
.
state
.
month
.
month_id
==
3
?
this
.
state
.
month
.
month_id
==
3
?
...
@@ -3224,7 +3226,8 @@ export default class SubHolding extends Component {
...
@@ -3224,7 +3226,8 @@ export default class SubHolding extends Component {
width
=
{
this
.
props
.
width
}
width
=
{
this
.
props
.
width
}
height
=
{
this
.
props
.
height
}
height
=
{
this
.
props
.
height
}
open
=
{
this
.
props
.
open
}
open
=
{
this
.
props
.
open
}
approved
=
{
this
.
state
.
approveMB
&&
this
.
state
.
approveMonthly
}
approvedMB
=
{
this
.
state
.
approveMB
}
approveMonthly
=
{
this
.
state
.
approveMonthly
}
type
=
{
this
.
state
.
report
?
this
.
state
.
report
.
value
:
1
}
type
=
{
this
.
state
.
report
?
this
.
state
.
report
.
value
:
1
}
dataTable
=
{
this
.
state
.
dataTable
}
dataTable
=
{
this
.
state
.
dataTable
}
periode
=
{
this
.
state
.
periode
?
this
.
state
.
periode
.
periode
:
null
}
periode
=
{
this
.
state
.
periode
?
this
.
state
.
periode
.
periode
:
null
}
...
...
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