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
befc2725
Commit
befc2725
authored
Sep 23, 2020
by
Rifka Kurnia Irfiana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
2523da7a
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
22 deletions
+9
-22
ApprovalMatrix.js
src/container/ApprovalMatrix/ApprovalMatrix.js
+2
-2
TaxPlanning.js
src/container/BudgetTahunan/TaxPlanning.js
+1
-2
CreateManagementDoc.js
src/container/DocumentManagement/CreateManagementDoc.js
+3
-9
EditManagementDoc.js
src/container/DocumentManagement/EditManagementDoc.js
+3
-9
No files found.
src/container/ApprovalMatrix/ApprovalMatrix.js
View file @
befc2725
...
...
@@ -92,8 +92,8 @@ export default class ApprovalMatrix extends Component {
let
body
=
{
approval_matrix
:
payload
}
console
.
log
(
resp
.
rows
[
1
])
this
.
setState
({
payload
:
body
,
buttonError
:
false
,
judul
:
resp
.
rows
[
1
][
0
]
})
console
.
log
(
this
.
state
.
payload
)
}
});
}
...
...
@@ -621,7 +621,7 @@ export default class ApprovalMatrix extends Component {
filter
:
false
,
sort
:
false
,
customBodyRender
:
(
val
,
tableMeta
)
=>
{
console
.
log
(
tableMeta
)
//
console.log(tableMeta)
return
(
<
div
style
=
{{
display
:
'flex'
}}
>
{
this
.
state
.
btnedit
&&
<
span
>
...
...
src/container/BudgetTahunan/TaxPlanning.js
View file @
befc2725
...
...
@@ -722,13 +722,12 @@ export default class TaxPlanning extends Component {
}
}
const
handleTotal
=
(
tableMeta
)
=>
{
console
.
log
(
dataTable2
[
tableMeta
.
rowIndex
]);
let
total
=
0
dataTable2
[
tableMeta
.
rowIndex
].
map
((
item
,
index
)
=>
{
if
(
index
>=
9
&&
index
<=
20
)
{
console
.
log
(
item
);
let
valItem
=
item
.
fcp
==
undefined
||
item
.
fcp
==
""
?
0
:
item
.
fcp
total
+=
Number
(
valItem
)
console
.
log
(
item
);
}
})
dataTable2
[
tableMeta
.
rowIndex
][
21
]
=
total
...
...
src/container/DocumentManagement/CreateManagementDoc.js
View file @
befc2725
...
...
@@ -63,15 +63,9 @@ export default class CreateManagementDoc extends Component {
console
.
log
(
response
);
if
(
response
.
data
)
{
if
(
response
.
data
.
status
===
"success"
)
{
if
(
response
.
data
.
data
.
length
==
0
){
this
.
setState
({
sizeUpload
:
1
sizeUpload
:
response
.
data
.
data
[
0
]
?
response
.
data
.
data
[
0
].
value
===
undefined
?
"1"
:
response
.
data
.
data
[
0
].
value
:
"1"
})
}
else
{
this
.
setState
({
sizeUpload
:
response
.
data
.
data
[
0
].
value
})
}
}
}
})
...
...
src/container/DocumentManagement/EditManagementDoc.js
View file @
befc2725
...
...
@@ -65,15 +65,9 @@ export default class EditManagementDoc extends Component {
console
.
log
(
response
);
if
(
response
.
data
)
{
if
(
response
.
data
.
status
===
"success"
)
{
if
(
response
.
data
.
data
.
length
==
0
){
this
.
setState
({
sizeUpload
:
1
sizeUpload
:
response
.
data
.
data
[
0
]
?
response
.
data
.
data
[
0
].
value
===
undefined
?
"1"
:
response
.
data
.
data
[
0
].
value
:
"1"
})
}
else
{
this
.
setState
({
sizeUpload
:
response
.
data
.
data
[
0
].
value
})
}
}
}
})
...
...
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