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
8f108332
Commit
8f108332
authored
Sep 19, 2023
by
Riri Novita
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev/riri' into 'ENV-DEV'
Update terbaru See merge request
!1996
parents
ac1248b0
9ea32df8
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
184 additions
and
120 deletions
+184
-120
BalanceSheet.js
src/container/BudgetTahunan/BalanceSheet.js
+3
-2
BalanceSheetMR.js
src/container/MonthlyReport/BalanceSheetMR.js
+1
-1
CashFlowMR.js
src/container/MonthlyReport/CashFlowMR.js
+1
-1
CorporateAnnualTargetMR.js
src/container/MonthlyReport/CorporateAnnualTargetMR.js
+102
-61
ListOfCreditFacilitiesMR.js
src/container/MonthlyReport/ListOfCreditFacilitiesMR.js
+75
-53
MonthlyReport.js
src/container/MonthlyReport/MonthlyReport.js
+2
-2
No files found.
src/container/BudgetTahunan/BalanceSheet.js
View file @
8f108332
...
...
@@ -393,7 +393,7 @@ export default class BalanceSheet extends Component {
balance_sheet
:
payload
,
status
:
'submitted'
}
//
console.log(body)
console
.
log
(
body
)
this
.
setState
({
payload
:
body
,
judul
:
resp
.
rows
[
1
][
0
],
judulColumn
:
resp
.
rows
[
2
]
})
}
});
...
...
@@ -440,6 +440,7 @@ export default class BalanceSheet extends Component {
item
.
error
]
})
console
.
log
(
dataTable
);
this
.
setState
({
dataTable
,
dataLoaded
:
true
,
loading
:
false
,
buttonError
:
false
,
editable
:
true
,
errorPreview
:
false
,
saveDraft
:
true
},
()
=>
{
this
.
state
.
dataTable
.
map
(
item
=>
{
if
(
item
[
26
].
length
>
0
)
{
...
...
@@ -1125,7 +1126,7 @@ export default class BalanceSheet extends Component {
type
=
"text"
placeholder
=
""
disabled
=
{
this
.
props
.
isApprover
==
true
?
true
:
((
this
.
props
.
lastStatus
===
'SUBMIT'
||
this
.
props
.
lastStatus
===
'REVISION'
)
&&
String
(
tableMeta
.
rowData
[
5
]).
toLocaleLowerCase
()
==
"r/e (cummulative)"
&&
this
.
props
.
prevRevision
===
false
&&
(
this
.
props
.
status
===
'revision'
||
this
.
props
.
status
===
'not-yet'
||
this
.
props
.
status
===
'draft'
||
this
.
props
.
status
===
'submitted'
)
?
false
:
true
)}
value
=
{
this
.
props
.
defaultCurrency
.
id
==
1
?
(
String
(
tableMeta
.
rowData
[
5
]).
toLocaleLowerCase
()
==
"r/e (cummulative)"
?
fixNumber
(
Number
(
value
.
value
),
1
)
:
fixNumber
(
Number
(
handleValueFormula
(
value
,
tableMeta
)),
1
))
:
(
String
(
tableMeta
.
rowData
[
5
]).
toLocaleLowerCase
()
==
"r/e (cummulative)"
?
Number
(
value
.
value
)
:
Number
(
handleValueFormula
(
value
,
tableMeta
)
))}
value
=
{
this
.
props
.
defaultCurrency
.
id
==
1
?
String
(
tableMeta
.
rowData
[
5
]).
toLocaleLowerCase
()
==
"r/e (cummulative)"
?
fixNumber
(
Number
(
value
.
value
),
1
)
:
fixNumber
(
Number
(
handleValueFormula
(
value
,
tableMeta
)),
1
)
:
String
(
tableMeta
.
rowData
[
5
]).
toLocaleLowerCase
()
==
"r/e (cummulative)"
?
Number
(
value
.
value
)
:
Number
(
handleValueFormula
(
value
,
tableMeta
))}
onBlur
=
{(
event
)
=>
{
handleChange
(
event
.
target
.
value
,
tableMeta
,
'r/e'
)
// console.log(dataTable2)
...
...
src/container/MonthlyReport/BalanceSheetMR.js
View file @
8f108332
...
...
@@ -66,7 +66,7 @@ export default class BalanceSheetMR extends Component {
componentDidMount
()
{
this
.
getSettingControl
()
this
.
getLatestUpdate
()
//
this.handleViewOnly()
this
.
handleViewOnly
()
}
handleViewOnly
()
{
...
...
src/container/MonthlyReport/CashFlowMR.js
View file @
8f108332
...
...
@@ -97,7 +97,7 @@ export default class CashFlowMR extends Component {
componentDidMount
()
{
// this.getItemHierarki()
console
.
log
(
this
.
props
.
PLBSFAMSubmitted
)
//
this.handleViewOnly()
this
.
handleViewOnly
()
this
.
getSettingControl
()
}
...
...
src/container/MonthlyReport/CorporateAnnualTargetMR.js
View file @
8f108332
This diff is collapsed.
Click to expand it.
src/container/MonthlyReport/ListOfCreditFacilitiesMR.js
View file @
8f108332
This diff is collapsed.
Click to expand it.
src/container/MonthlyReport/MonthlyReport.js
View file @
8f108332
...
...
@@ -2565,9 +2565,9 @@ export default class MonthlyReport extends Component {
:
// {
//
(tableMeta.rowData[5] ?
(
tableMeta
.
rowData
[
5
]
?
this
.
clickDetail
(
tableMeta
.
rowData
[
1
],
tableMeta
.
rowData
[
4
],
tableMeta
.
rowData
[
2
],
tableMeta
.
rowData
[
3
])
//
: null)
:
null
)
// console.log(tableMeta.rowData)
// }
...
...
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