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
a3f54782
Commit
a3f54782
authored
Mar 26, 2021
by
r.kurnia
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://103.44.149.204/d.arizona/tia-dev
into rifka
parents
e1c8c194
19b938e9
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
116 additions
and
83 deletions
+116
-83
index.js
src/api/index.js
+4
-2
EditMasterDataCAT.js
src/container/MasterData/MasterDataCAT/EditMasterDataCAT.js
+5
-4
MasterDataCAT.js
src/container/MasterData/MasterDataCAT/MasterDataCAT.js
+30
-1
CashFlowRO.js
src/container/RollingOutlook/CashFlowRO.js
+2
-2
CatRevision.js
src/container/RollingOutlook/CatRevision.js
+70
-68
OperatingIndicatorRO.js
src/container/RollingOutlook/OperatingIndicatorRO.js
+1
-2
ProfitLossRO.js
src/container/RollingOutlook/ProfitLossRO.js
+4
-4
No files found.
src/api/index.js
View file @
a3f54782
...
@@ -189,8 +189,9 @@ const create = (type = "") => {
...
@@ -189,8 +189,9 @@ const create = (type = "") => {
const
getAllMasterDataCat
=
()
=>
api
.
get
(
'item_report_company/get_all_item_report_company'
)
const
getAllMasterDataCat
=
()
=>
api
.
get
(
'item_report_company/get_all_item_report_company'
)
const
getParentItemReport
=
(
body
)
=>
api
.
post
(
'item_report/get_parent_item_report_default'
,
body
)
const
getParentItemReport
=
(
body
)
=>
api
.
post
(
'item_report/get_parent_item_report_default'
,
body
)
const
saveMasterDataCat
=
(
body
)
=>
api
.
post
(
'item_report_company/create_item_report_company'
,
body
)
const
saveMasterDataCat
=
(
body
)
=>
api
.
post
(
'item_report_company/create_item_report_company'
,
body
)
const
getDetailMasterDataCat
=
(
idCompany
,
years
)
=>
api
.
get
(
`item_report_company/get_item_report_company_by_companyid_years/
${
idCompany
}
/
${
years
}
`
)
const
getDetailMasterDataCat
=
(
idCompany
,
years
)
=>
api
.
get
(
`item_report_company/get_item_report_company_by_company_id_years/
${
idCompany
}
/
${
years
}
`
)
const
deleteMasterDataCat
=
(
idCompany
,
years
)
=>
api
.
get
(
`item_report_company/delete_item_report_company/
${
idCompany
}
/
${
years
}
`
)
const
deleteMasterDataCat
=
(
idCompany
,
years
)
=>
api
.
post
(
`item_report_company/delete_item_report_company/
${
idCompany
}
/
${
years
}
`
)
const
updateMasterDataCat
=
(
body
)
=>
api
.
post
(
'item_report_company/update_item_report_company'
,
body
)
//Transaction
//Transaction
const
getReportTypeBody
=
(
body
)
=>
api
.
post
(
'transaction/master_budget/get_all_report'
,
body
)
const
getReportTypeBody
=
(
body
)
=>
api
.
post
(
'transaction/master_budget/get_all_report'
,
body
)
...
@@ -746,6 +747,7 @@ const create = (type = "") => {
...
@@ -746,6 +747,7 @@ const create = (type = "") => {
getAllMasterDataCat
,
getAllMasterDataCat
,
getParentItemReport
,
getParentItemReport
,
saveMasterDataCat
,
saveMasterDataCat
,
updateMasterDataCat
,
getDetailMasterDataCat
,
getDetailMasterDataCat
,
deleteMasterDataCat
,
deleteMasterDataCat
,
getListChildDashboardCAT
,
getListChildDashboardCAT
,
...
...
src/container/MasterData/MasterDataCAT/EditMasterDataCAT.js
View file @
a3f54782
...
@@ -144,7 +144,7 @@ export default class EditMasterDataCAT extends Component {
...
@@ -144,7 +144,7 @@ export default class EditMasterDataCAT extends Component {
// console.log(this.props.data)
// console.log(this.props.data)
// console.log(this.state.latestPeriode)
// console.log(this.state.latestPeriode)
// console.log(periodeData)
// console.log(periodeData)
console
.
log
(
index
)
//
console.log(index)
this
.
setState
({
listPeriode
:
defaultProps
,
periode
:
index
===
-
1
?
periodeData
[
0
]
:
periodeData
[
index
],
loading
:
false
})
this
.
setState
({
listPeriode
:
defaultProps
,
periode
:
index
===
-
1
?
periodeData
[
0
]
:
periodeData
[
index
],
loading
:
false
})
}
}
}
}
...
@@ -218,6 +218,7 @@ export default class EditMasterDataCAT extends Component {
...
@@ -218,6 +218,7 @@ export default class EditMasterDataCAT extends Component {
console
.
log
(
simpan
)
console
.
log
(
simpan
)
let
payload
=
{
let
payload
=
{
"company_id"
:
this
.
state
.
company
.
company_id
,
"company_id"
:
this
.
state
.
company
.
company_id
,
"company_old"
:
this
.
props
.
data
[
8
],
"years"
:
this
.
state
.
periode
.
periode
,
"years"
:
this
.
state
.
periode
.
periode
,
"detail"
:
simpan
"detail"
:
simpan
}
}
...
@@ -381,8 +382,8 @@ export default class EditMasterDataCAT extends Component {
...
@@ -381,8 +382,8 @@ export default class EditMasterDataCAT extends Component {
<
Autocomplete
<
Autocomplete
{...
this
.
state
.
listCompany
}
{...
this
.
state
.
listCompany
}
id
=
"company"
id
=
"company"
onChange
=
{(
event
,
newInputValue
)
=>
this
.
setState
({
company
_name
:
newInputValue
},
()
=>
this
.
getParent
(),
this
.
clearMessage
())}
onChange
=
{(
event
,
newInputValue
)
=>
this
.
setState
({
company
:
newInputValue
},
()
=>
this
.
getParentIR
(),
this
.
clearMessage
())}
d
ebug
d
isableClearable
style
=
{{
width
:
250
}}
style
=
{{
width
:
250
}}
renderInput
=
{(
params
)
=>
renderInput
=
{(
params
)
=>
<
TextField
{...
params
}
<
TextField
{...
params
}
...
@@ -410,7 +411,7 @@ export default class EditMasterDataCAT extends Component {
...
@@ -410,7 +411,7 @@ export default class EditMasterDataCAT extends Component {
onChange
=
{(
event
,
newInputValue
)
=>
this
.
setState
({
periode
:
newInputValue
,
loading
:
true
,
previewTable
:
false
},
()
=>
{
onChange
=
{(
event
,
newInputValue
)
=>
this
.
setState
({
periode
:
newInputValue
,
loading
:
true
,
previewTable
:
false
},
()
=>
{
this
.
getParentIR
()
this
.
getParentIR
()
})}
})}
d
ebug
d
isableClearable
renderInput
=
{(
params
)
=>
renderInput
=
{(
params
)
=>
<
TextField
{...
params
}
<
TextField
{...
params
}
label
=
"Year"
label
=
"Year"
...
...
src/container/MasterData/MasterDataCAT/MasterDataCAT.js
View file @
a3f54782
...
@@ -749,6 +749,35 @@ export default class MasterDataCAT extends Component {
...
@@ -749,6 +749,35 @@ export default class MasterDataCAT extends Component {
})
})
}
}
updateReportItems
=
(
payload
)
=>
{
this
.
setState
({
add
:
false
,
edit
:
false
})
api
.
create
().
updateMasterDataCat
(
payload
).
then
(
response
=>
{
console
.
log
(
payload
);
console
.
log
(
response
);
if
(
response
.
data
)
{
if
(
response
.
ok
)
{
if
(
response
.
data
.
status
==
'success'
)
{
this
.
getData
()
this
.
setState
({
alert
:
true
,
messageAlert
:
response
.
data
.
message
,
tipeAlert
:
'success'
})
}
else
{
this
.
setState
({
alert
:
true
,
messageAlert
:
response
.
data
.
message
,
tipeAlert
:
'warning'
},
()
=>
{
if
(
response
.
data
.
message
.
includes
(
"Someone Logged In"
))
{
setTimeout
(()
=>
{
localStorage
.
removeItem
(
Constant
.
TOKEN
)
window
.
location
.
reload
();
},
1000
);
}
})
}
}
else
{
this
.
setState
({
alert
:
true
,
messageAlert
:
response
.
data
.
message
,
tipeAlert
:
'error'
})
}
}
else
{
this
.
setState
({
alert
:
true
,
messageAlert
:
response
.
problem
,
tipeAlert
:
'error'
})
}
})
}
downloadFile
=
async
()
=>
{
downloadFile
=
async
()
=>
{
let
res
=
await
fetch
(
let
res
=
await
fetch
(
`
${
process
.
env
.
REACT_APP_URL_MAIN_BE
}
/public/attachment/download_file?fileName=ItemReportTemplate&&fileType=xlsx`
`
${
process
.
env
.
REACT_APP_URL_MAIN_BE
}
/public/attachment/download_file?fileName=ItemReportTemplate&&fileType=xlsx`
...
@@ -1141,7 +1170,7 @@ export default class MasterDataCAT extends Component {
...
@@ -1141,7 +1170,7 @@ export default class MasterDataCAT extends Component {
onClickClose
=
{()
=>
this
.
setState
({
edit
:
false
})}
onClickClose
=
{()
=>
this
.
setState
({
edit
:
false
})}
data
=
{
this
.
state
.
rowData
}
data
=
{
this
.
state
.
rowData
}
refresh
=
{
this
.
getData
.
bind
(
this
)}
refresh
=
{
this
.
getData
.
bind
(
this
)}
updateReportItems
=
{
this
.
cre
ateReportItems
.
bind
(
this
)}
updateReportItems
=
{
this
.
upd
ateReportItems
.
bind
(
this
)}
/
>
/
>
)}
)}
{
this
.
state
.
popupError
&&
(
{
this
.
state
.
popupError
&&
(
...
...
src/container/RollingOutlook/CashFlowRO.js
View file @
a3f54782
...
@@ -1955,7 +1955,7 @@ export default class CashFlow extends Component {
...
@@ -1955,7 +1955,7 @@ export default class CashFlow extends Component {
return
(
return
(
<
div
style
=
{{
height
:
this
.
props
.
height
,
backgroundColor
:
'#f8f8f8'
,
marginBottom
:
100
,
minHeight
:
1000
}}
>
<
div
style
=
{{
height
:
this
.
props
.
height
,
backgroundColor
:
'#f8f8f8'
,
marginBottom
:
100
,
minHeight
:
1000
}}
>
<
div
className
=
{
"main-color"
}
style
=
{{
height
:
78
,
flex
:
1
,
display
:
'flex'
,
alignItems
:
'center'
,
paddingLeft
:
20
}}
>
<
div
className
=
{
"main-color"
}
style
=
{{
height
:
78
,
flex
:
1
,
display
:
'flex'
,
alignItems
:
'center'
,
paddingLeft
:
20
}}
>
<
Typography
style
=
{{
fontSize
:
'16px'
,
color
:
'white'
}}
>
Pengajuan
Budget
Tahunan
<
/Typography
>
<
Typography
style
=
{{
fontSize
:
'16px'
,
color
:
'white'
}}
>
Rolling
Outlook
&
Revision
CAT
<
/Typography
>
<
/div
>
<
/div
>
<
Snackbar
open
=
{
this
.
state
.
alert
}
autoHideDuration
=
{
3000
}
onClose
=
{()
=>
this
.
closeAlert
()}
>
<
Snackbar
open
=
{
this
.
state
.
alert
}
autoHideDuration
=
{
3000
}
onClose
=
{()
=>
this
.
closeAlert
()}
>
<
Alert
onClose
=
{()
=>
this
.
closeAlert
()}
severity
=
{
this
.
state
.
tipeAlert
}
>
<
Alert
onClose
=
{()
=>
this
.
closeAlert
()}
severity
=
{
this
.
state
.
tipeAlert
}
>
...
@@ -1965,7 +1965,7 @@ export default class CashFlow extends Component {
...
@@ -1965,7 +1965,7 @@ export default class CashFlow extends Component {
<
div
style
=
{{
flex
:
1
,
padding
:
20
,
width
:
'100%'
}}
>
<
div
style
=
{{
flex
:
1
,
padding
:
20
,
width
:
'100%'
}}
>
<
Paper
style
=
{{
paddingTop
:
10
,
paddingBottom
:
20
}}
>
<
Paper
style
=
{{
paddingTop
:
10
,
paddingBottom
:
20
}}
>
<
div
style
=
{{
borderBottom
:
'solid 1px #c4c4c4'
}}
>
<
div
style
=
{{
borderBottom
:
'solid 1px #c4c4c4'
}}
>
<
Typography
style
=
{{
fontSize
:
'12px'
,
color
:
'#4b4b4b'
,
margin
:
10
}}
>
Budget
Tahunan
-
Cash
Flow
<
/Typography
>
<
Typography
style
=
{{
fontSize
:
'12px'
,
color
:
'#4b4b4b'
,
margin
:
10
}}
>
Rolling
Outlook
-
Cash
Flow
<
/Typography
>
<
/div
>
<
/div
>
<
div
style
=
{{
padding
:
20
}}
>
<
div
style
=
{{
padding
:
20
}}
>
<
div
style
=
{{
display
:
'flex'
,
justifyContent
:
'space-between'
}}
>
<
div
style
=
{{
display
:
'flex'
,
justifyContent
:
'space-between'
}}
>
...
...
src/container/RollingOutlook/CatRevision.js
View file @
a3f54782
...
@@ -1228,53 +1228,6 @@ export default class CatRevision extends Component {
...
@@ -1228,53 +1228,6 @@ export default class CatRevision extends Component {
{
value
}
{
value
}
<
/div
>
<
/div
>
<
/div
>
<
/div
>
// <div style={{ textAlign: 'center' }}>
// {tableMeta.rowData[0] === 1 || tableMeta.rowData[0] === 2 || tableMeta.rowData[0] === 4 ?
// null :
// <FormControlLabel
// style={{ margin: 0 }}
// // value={value}
// control={
// // !handleAction(tableMeta.rowData[2], tableMeta.rowData[0]) ?
// <Input
// disableUnderline={true}
// style={{ fontSize: 12, textAlign: 'center', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent', marginTop: -10 }}
// type="text"
// placeholder=""
// defaultValue={value}
// color={"#5198ea"}
// disabled={true}
// onBlur={(event) => {
// // // // // console.log(event.target.value)
// // updateValue(event.target.value)
// // handleChangeText(event.target.value, tableMeta)
// // // // // console.log(dataTable2)
// }}
// />
// // />
// // />
// // :
// // <ThemeProvider theme={theme}>
// // <Input
// // disableUnderline={true}
// // style={{ fontSize: 12, textAlign: 'center', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent', marginBottom: -5 }}
// // type="text"
// // placeholder=""
// // defaultValue={value}
// // color={"#5198ea"}
// // // disabled={this.props.isApprover ? true : ((this.props.lastStatus == 'SUBMIT' || this.props.lastStatus == 'REVISION') && this.props.prevRevision === false ? false : !handleAction(tableMeta.rowData[2]))}
// // onBlur={(event) => {
// // // // // // console.log(event.target.value)
// // // updateValue(event.target.value)
// // handleChangeText(event.target.value, tableMeta)
// // // // // // console.log(dataTable2)
// // }}
// // />
// // </ThemeProvider>
// }
// />
// }
// </div>
)
)
}
}
}
}
...
@@ -2537,37 +2490,86 @@ export default class CatRevision extends Component {
...
@@ -2537,37 +2490,86 @@ export default class CatRevision extends Component {
{
tableMeta
.
rowData
[
0
]
===
1
||
tableMeta
.
rowData
[
0
]
===
2
||
tableMeta
.
rowData
[
0
]
===
4
?
{
tableMeta
.
rowData
[
0
]
===
1
||
tableMeta
.
rowData
[
0
]
===
2
||
tableMeta
.
rowData
[
0
]
===
4
?
null
:
null
:
this
.
state
.
get_for
==
"view"
?
this
.
state
.
get_for
==
"view"
?
<
Inpu
t
<
NumberForma
t
disableUnderline
=
{
true
}
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'
center
'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
style
=
{{
fontSize
:
12
,
textAlign
:
'
right
'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
disabled
=
{
true
}
defaultValue
=
{
value
}
value
=
{
Number
(
value
).
toFixed
(
1
)
}
/
>
/
>
:
:
<
FormControlLabel
tableMeta
.
rowData
[
5
]
===
'ROIC'
?
style
=
{{
margin
:
0
}}
<
FormControlLabel
control
=
{
style
=
{{
margin
:
0
}}
<
ThemeProvider
theme
=
{
theme
}
>
value
=
{
value
}
<
Input
control
=
{
disableUnderline
=
{
true
}
<
NumberFormat
style
=
{{
fontSize
:
12
,
textAlign
:
'center'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
,
marginBottom
:
-
5
}}
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
this
.
props
.
quarter
==
'q1'
?
false
:
true
}
value
=
{
Number
(
value
).
toFixed
(
1
)}
disable
=
{
true
}
disabled
=
{
true
}
defaultValue
=
{
value
}
onBlur
=
{(
event
)
=>
{
onBlur
=
{(
event
)
=>
{
//
// // // console.log
(event.target.value)
//
updateValue
(event.target.value)
handleChange
Text
(
event
.
target
.
value
,
tableMeta
)
handleChange
(
event
.
target
.
value
,
tableMeta
)
// // // // console.log(
dataTable2
)
// // // // console.log(
tableMeta.rowData[0]
)
}}
}}
/
>
/
>
<
/ThemeProvider
>
}
/>
:
}
tableMeta
.
rowData
[
0
]
===
1
||
tableMeta
.
rowData
[
0
]
===
2
||
tableMeta
.
rowData
[
0
]
===
4
?
/
>
null
:
(
handleReturnFormula
(
tableMeta
.
rowData
[
2
],
tableMeta
)
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
value
=
{
value
}
control
=
{
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
// value={Number(handleValueFormula(value, tableMeta, 4)).toFixed(1)}
value
=
{
Number
(
value
).
toFixed
(
1
)}
disabled
=
{
true
}
decimalScale
=
{
1
}
onBlur
=
{(
event
)
=>
{
// updateValue(event.target.value)
handleChange
(
event
.
target
.
value
,
tableMeta
)
// // // // console.log(tableMeta.rowData[0])
}}
/
>
}
/
>
<
/div
>
:
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
value
=
{
value
}
control
=
{
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
color
:
this
.
props
.
quarter
==
'q1'
?
"#5198ea"
:
'#555252'
,
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
value
=
{
Number
(
value
).
toFixed
(
1
)}
disabled
=
{
this
.
props
.
quarter
==
'q1'
?
false
:
true
}
decimalScale
=
{
1
}
onBlur
=
{(
event
)
=>
{
// updateValue(event.target.value)
handleChange
(
event
.
target
.
value
,
tableMeta
)
// // // // console.log(tableMeta.rowData[0])
}}
/
>
}
/
>
<
/div
>
)
}
}
<
/div
>
<
/div
>
)
)
...
...
src/container/RollingOutlook/OperatingIndicatorRO.js
View file @
a3f54782
...
@@ -2045,8 +2045,7 @@ export default class OperatingIndicatorRO extends Component {
...
@@ -2045,8 +2045,7 @@ export default class OperatingIndicatorRO extends Component {
{
!
this
.
state
.
emptyData
&&
<
div
style
=
{{
display
:
'flex'
,
justifyContent
:
'space-between'
}}
>
{
!
this
.
state
.
emptyData
&&
<
div
style
=
{{
display
:
'flex'
,
justifyContent
:
'space-between'
}}
>
<
div
>
<
div
>
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
}}
>
{
this
.
props
.
data
.
company
.
company_name
}
<
/Typography
>
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
}}
>
{
this
.
props
.
data
.
company
.
company_name
}
<
/Typography
>
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
}}
>
Period
:
{
this
.
props
.
data
.
periode
}
{
String
(
this
.
props
.
quartal
).
toLocaleUpperCase
()}
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
}}
>
Period
:
{
this
.
props
.
data
.
periode
}
{
String
(
this
.
props
.
quartal
).
toLocaleUpperCase
()}
<
/Typography
>
<
/Typography
>
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
}}
>
in
IDR
mn
<
/Typography
>
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
}}
>
in
IDR
mn
<
/Typography
>
<
/div
>
<
/div
>
<
div
style
=
{{
width
:
'50%'
}}
>
<
div
style
=
{{
width
:
'50%'
}}
>
...
...
src/container/RollingOutlook/ProfitLossRO.js
View file @
a3f54782
...
@@ -910,7 +910,7 @@ export default class ProfitLossROO extends Component {
...
@@ -910,7 +910,7 @@ export default class ProfitLossROO extends Component {
}
}
}
}
},
{
},
{
name
:
`
${
Number
(
this
.
props
.
periode
)
-
1
}
Total`
,
name
:
`
${
Number
(
this
.
props
.
periode
)
-
1
}
Total
Actual
`
,
options
:
{
options
:
{
customHeadRender
:
(
columnMeta
)
=>
(
customHeadRender
:
(
columnMeta
)
=>
(
<
TableCell
style
=
{{
...
style2
,
top
:
0
,
zIndex
:
99
,
backgroundColor
:
'#1c71b8'
,
width
:
96
,
borderRight
:
'1px #fff solid'
}}
>
<
TableCell
style
=
{{
...
style2
,
top
:
0
,
zIndex
:
99
,
backgroundColor
:
'#1c71b8'
,
width
:
96
,
borderRight
:
'1px #fff solid'
}}
>
...
@@ -2184,7 +2184,7 @@ export default class ProfitLossROO extends Component {
...
@@ -2184,7 +2184,7 @@ export default class ProfitLossROO extends Component {
}
}
}
}
},
{
},
{
name
:
`
${
this
.
props
.
periode
}
Total`
,
name
:
`
${
this
.
props
.
periode
}
Total
Outlook
`
,
options
:
{
options
:
{
customHeadRender
:
(
columnMeta
)
=>
(
customHeadRender
:
(
columnMeta
)
=>
(
<
TableCell
style
=
{{
...
style2
,
top
:
0
,
zIndex
:
99
,
backgroundColor
:
'#1c71b8'
,
width
:
96
,
borderRight
:
'1px #fff solid'
}}
>
<
TableCell
style
=
{{
...
style2
,
top
:
0
,
zIndex
:
99
,
backgroundColor
:
'#1c71b8'
,
width
:
96
,
borderRight
:
'1px #fff solid'
}}
>
...
@@ -2316,7 +2316,7 @@ export default class ProfitLossROO extends Component {
...
@@ -2316,7 +2316,7 @@ export default class ProfitLossROO extends Component {
<
div
style
=
{{
display
:
'flex'
,
justifyContent
:
'space-between'
}}
>
<
div
style
=
{{
display
:
'flex'
,
justifyContent
:
'space-between'
}}
>
<
div
>
<
div
>
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
}}
>
{
this
.
props
.
company
.
company_name
}
<
/Typography
>
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
}}
>
{
this
.
props
.
company
.
company_name
}
<
/Typography
>
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
}}
>
Period
:
{
this
.
props
.
periode
}
(
rev
.{
this
.
props
.
revision
})
{
String
(
this
.
props
.
quarter
).
toLocaleUpperCase
()}
<
/Typography
>
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
}}
>
Period
:
{
this
.
props
.
periode
}
{
String
(
this
.
props
.
quarter
).
toLocaleUpperCase
()}
(
rev
.{
this
.
props
.
revision
})
<
/Typography
>
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
}}
>
in
IDR
mn
<
/Typography
>
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
}}
>
in
IDR
mn
<
/Typography
>
<
/div
>
<
/div
>
<
div
style
=
{{
width
:
'50%'
}}
>
<
div
style
=
{{
width
:
'50%'
}}
>
...
@@ -2540,7 +2540,7 @@ export default class ProfitLossROO extends Component {
...
@@ -2540,7 +2540,7 @@ export default class ProfitLossROO extends Component {
<
div
style
=
{{
padding
:
20
}}
>
<
div
style
=
{{
padding
:
20
}}
>
<
div
>
<
div
>
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
}}
>
{
this
.
props
.
company
.
company_name
}
<
/Typography
>
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
}}
>
{
this
.
props
.
company
.
company_name
}
<
/Typography
>
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
}}
>
Period
:
{
this
.
props
.
periode
}
(
rev
.{
this
.
props
.
revision
})
{
String
(
this
.
props
.
quarter
).
toLocaleUpperCase
()}
<
/Typography
>
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
}}
>
Period
:
{
this
.
props
.
periode
}
{
String
(
this
.
props
.
quarter
).
toLocaleUpperCase
()}
(
rev
.{
this
.
props
.
revision
})
<
/Typography
>
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
}}
>
in
IDR
mn
<
/Typography
>
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
}}
>
in
IDR
mn
<
/Typography
>
<
/div
>
<
/div
>
<
div
style
=
{{
marginTop
:
20
,
width
:
this
.
props
.
width
-
(
this
.
props
.
open
===
true
?
400
:
150
)
}}
>
<
div
style
=
{{
marginTop
:
20
,
width
:
this
.
props
.
width
-
(
this
.
props
.
open
===
true
?
400
:
150
)
}}
>
...
...
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