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
3b5a0bde
Commit
3b5a0bde
authored
Sep 20, 2023
by
fahrur huzain
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ENV-DEV' of
http://103.44.149.204/d.arizona/tia-dev
into dev/fahrur
parents
f04a16af
8f108332
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
253 additions
and
189 deletions
+253
-189
BalanceSheet.js
src/container/BudgetTahunan/BalanceSheet.js
+3
-2
ProfitLoss.js
src/container/BudgetTahunan/ProfitLoss.js
+69
-69
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 @
3b5a0bde
...
@@ -393,7 +393,7 @@ export default class BalanceSheet extends Component {
...
@@ -393,7 +393,7 @@ export default class BalanceSheet extends Component {
balance_sheet
:
payload
,
balance_sheet
:
payload
,
status
:
'submitted'
status
:
'submitted'
}
}
//
console.log(body)
console
.
log
(
body
)
this
.
setState
({
payload
:
body
,
judul
:
resp
.
rows
[
1
][
0
],
judulColumn
:
resp
.
rows
[
2
]
})
this
.
setState
({
payload
:
body
,
judul
:
resp
.
rows
[
1
][
0
],
judulColumn
:
resp
.
rows
[
2
]
})
}
}
});
});
...
@@ -440,6 +440,7 @@ export default class BalanceSheet extends Component {
...
@@ -440,6 +440,7 @@ export default class BalanceSheet extends Component {
item
.
error
item
.
error
]
]
})
})
console
.
log
(
dataTable
);
this
.
setState
({
dataTable
,
dataLoaded
:
true
,
loading
:
false
,
buttonError
:
false
,
editable
:
true
,
errorPreview
:
false
,
saveDraft
:
true
},
()
=>
{
this
.
setState
({
dataTable
,
dataLoaded
:
true
,
loading
:
false
,
buttonError
:
false
,
editable
:
true
,
errorPreview
:
false
,
saveDraft
:
true
},
()
=>
{
this
.
state
.
dataTable
.
map
(
item
=>
{
this
.
state
.
dataTable
.
map
(
item
=>
{
if
(
item
[
26
].
length
>
0
)
{
if
(
item
[
26
].
length
>
0
)
{
...
@@ -1125,7 +1126,7 @@ export default class BalanceSheet extends Component {
...
@@ -1125,7 +1126,7 @@ export default class BalanceSheet extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
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
)}
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
)
=>
{
onBlur
=
{(
event
)
=>
{
handleChange
(
event
.
target
.
value
,
tableMeta
,
'r/e'
)
handleChange
(
event
.
target
.
value
,
tableMeta
,
'r/e'
)
// console.log(dataTable2)
// console.log(dataTable2)
...
...
src/container/BudgetTahunan/ProfitLoss.js
View file @
3b5a0bde
This diff is collapsed.
Click to expand it.
src/container/MonthlyReport/BalanceSheetMR.js
View file @
3b5a0bde
...
@@ -66,7 +66,7 @@ export default class BalanceSheetMR extends Component {
...
@@ -66,7 +66,7 @@ export default class BalanceSheetMR extends Component {
componentDidMount
()
{
componentDidMount
()
{
this
.
getSettingControl
()
this
.
getSettingControl
()
this
.
getLatestUpdate
()
this
.
getLatestUpdate
()
//
this.handleViewOnly()
this
.
handleViewOnly
()
}
}
handleViewOnly
()
{
handleViewOnly
()
{
...
...
src/container/MonthlyReport/CashFlowMR.js
View file @
3b5a0bde
...
@@ -97,7 +97,7 @@ export default class CashFlowMR extends Component {
...
@@ -97,7 +97,7 @@ export default class CashFlowMR extends Component {
componentDidMount
()
{
componentDidMount
()
{
// this.getItemHierarki()
// this.getItemHierarki()
console
.
log
(
this
.
props
.
PLBSFAMSubmitted
)
console
.
log
(
this
.
props
.
PLBSFAMSubmitted
)
//
this.handleViewOnly()
this
.
handleViewOnly
()
this
.
getSettingControl
()
this
.
getSettingControl
()
}
}
...
...
src/container/MonthlyReport/CorporateAnnualTargetMR.js
View file @
3b5a0bde
This diff is collapsed.
Click to expand it.
src/container/MonthlyReport/ListOfCreditFacilitiesMR.js
View file @
3b5a0bde
This diff is collapsed.
Click to expand it.
src/container/MonthlyReport/MonthlyReport.js
View file @
3b5a0bde
...
@@ -2565,9 +2565,9 @@ export default class MonthlyReport extends Component {
...
@@ -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
])
this
.
clickDetail
(
tableMeta
.
rowData
[
1
],
tableMeta
.
rowData
[
4
],
tableMeta
.
rowData
[
2
],
tableMeta
.
rowData
[
3
])
//
: null)
:
null
)
// console.log(tableMeta.rowData)
// 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