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
2cdd4bfe
Commit
2cdd4bfe
authored
Oct 28, 2020
by
EKSAD
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://103.44.149.204/d.arizona/tia-dev
into riri
parents
5b8efc70
ce7627a0
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
157 additions
and
154 deletions
+157
-154
BudgetTahunan.js
src/container/BudgetTahunan.js
+6
-6
SubHolding.js
src/container/Laporan/SubHolding.js
+149
-146
TableSubHolding.js
src/container/Laporan/TableSubHolding.js
+2
-2
No files found.
src/container/BudgetTahunan.js
View file @
2cdd4bfe
...
...
@@ -441,7 +441,7 @@ export default class BudgetTahunan extends Component {
api
.
create
().
approvalSubmission
(
body
).
then
((
res
)
=>
{
// console.log(res)
// this.setState({ loading: false }, () => {
this
.
getSubmission
()
this
.
getSubmission
()
// })
if
(
type
==
'revision'
)
{
api
.
create
().
createPeriodeRevision
(
payload
).
then
((
res
))
...
...
@@ -625,12 +625,12 @@ export default class BudgetTahunan extends Component {
let
array
=
[]
let
canSubmit
=
true
this
.
state
.
dataTable
.
map
(
item
=>
{
if
(
item
[
1
]
!==
'Cash Flow'
)
{
if
(
item
[
3
]
!==
"submitted"
&&
item
[
3
]
!==
'approved'
)
{
canSubmit
=
false
array
.
push
(
item
[
3
])
}
// if (item[1] !== 'Cash Flow') {
if
(
item
[
3
]
!==
"submitted"
&&
item
[
3
]
!==
'approved'
)
{
canSubmit
=
false
array
.
push
(
item
[
3
])
}
// }
// if (item[3].includes("not-yet") || item[3].includes("draft")) {
// array.push(item[3])
// } else {
...
...
src/container/Laporan/SubHolding.js
View file @
2cdd4bfe
This diff is collapsed.
Click to expand it.
src/container/Laporan/TableSubHolding.js
View file @
2cdd4bfe
...
...
@@ -310,7 +310,7 @@ export default class TableSubHolding extends Component {
// }
if
(
forecast
!=
undefined
)
{
console
.
log
(
dataTable2
[
indexID
][
column
])
//
console.log(dataTable2[indexID][column])
}
let
valuezz
=
dataTable2
[
indexID
][
column
].
value
==
undefined
?
dataTable2
[
indexID
][
column
]
:
dataTable2
[
indexID
][
column
].
value
anjay
.
push
(
valuezz
==
""
?
0
:
valuezz
)
...
...
@@ -2899,7 +2899,7 @@ export default class TableSubHolding extends Component {
<
MuiThemeProvider
theme
=
{
getMuiTheme
()}
>
<
MUIDataTable
data
=
{
dataTable2
}
columns
=
{
this
.
props
.
type
===
1
?
columnDBBS
:
this
.
props
.
type
===
2
?
columnDBPLDetail
:
this
.
props
.
type
===
3
?
columnDBPL
:
columns
}
columns
=
{
this
.
props
.
type
===
2
?
columnDBBS
:
this
.
props
.
type
===
1
?
columnDBPLDetail
:
this
.
props
.
type
===
3
?
columnDBPL
:
columns
}
options
=
{
options
}
/
>
<
/MuiThemeProvider
>
...
...
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