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
8db482f5
Commit
8db482f5
authored
Oct 05, 2020
by
Rifka Kurnia Irfiana
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://103.44.149.204/d.arizona/tia-dev
into rifka
parents
a154ac1b
2741c98f
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
360 additions
and
13 deletions
+360
-13
Perusahaan.js
src/container/MasterData/Perusahaan/Perusahaan.js
+2
-2
ReportItems.js
src/container/MasterData/ReportItems.js
+6
-3
VisualReportItems.js
...container/MasterData/formReportItems/VisualReportItems.js
+1
-0
RollingOutlook.js
src/container/RollingOutlook.js
+12
-8
BalanceSheetRO.js
src/container/RollingOutlook/BalanceSheetRO.js
+339
-0
No files found.
src/container/MasterData/Perusahaan/Perusahaan.js
View file @
8db482f5
...
@@ -696,6 +696,7 @@ export default class Perusahaan extends Component {
...
@@ -696,6 +696,7 @@ export default class Perusahaan extends Component {
{
this
.
state
.
messageAlert
}
{
this
.
state
.
messageAlert
}
<
/Alert
>
<
/Alert
>
<
/Snackbar
>
<
/Snackbar
>
{
this
.
state
.
loading
&&
loadingComponent
}
{
this
.
state
.
visiblePerusahaan
===
true
?
{
this
.
state
.
visiblePerusahaan
===
true
?
this
.
state
.
load
&&
(
this
.
state
.
load
&&
(
<
div
>
<
div
>
...
@@ -790,7 +791,6 @@ export default class Perusahaan extends Component {
...
@@ -790,7 +791,6 @@ export default class Perusahaan extends Component {
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
div
style
=
{{
padding
:
25
}}
>
<
div
style
=
{{
padding
:
25
}}
>
{
this
.
state
.
loading
&&
loadingComponent
}
<
MuiThemeProvider
theme
=
{
getMuiTheme
()}
>
<
MuiThemeProvider
theme
=
{
getMuiTheme
()}
>
<
MUIDataTable
<
MUIDataTable
theme
=
{
getMuiTheme
()}
theme
=
{
getMuiTheme
()}
...
@@ -811,7 +811,7 @@ export default class Perusahaan extends Component {
...
@@ -811,7 +811,7 @@ export default class Perusahaan extends Component {
onClickClose
=
{()
=>
this
.
setState
({
visibleVisual
:
false
,
visiblePerusahaan
:
true
})}
onClickClose
=
{()
=>
this
.
setState
({
visibleVisual
:
false
,
visiblePerusahaan
:
true
})}
height
=
{
this
.
props
.
height
}
height
=
{
this
.
props
.
height
}
updateHierarchy
=
{
this
.
updateHierarchy
.
bind
(
this
)}
updateHierarchy
=
{
this
.
updateHierarchy
.
bind
(
this
)}
handleLoading
=
{()
=>
this
.
setState
({
loading
:
true
})}
handleLoading
=
{()
=>
this
.
setState
({
loading
:
true
}
,
()
=>
console
.
log
(
'aksdkas'
)
)}
/
>
/
>
:
:
<
div
>
<
div
>
...
...
src/container/MasterData/ReportItems.js
View file @
8db482f5
...
@@ -63,7 +63,7 @@ export default class ReportItems extends Component {
...
@@ -63,7 +63,7 @@ export default class ReportItems extends Component {
invalidTemplate
:
false
,
invalidTemplate
:
false
,
loading
:
false
loading
:
false
}
}
this
.
myRef
=
React
.
createRef
()
this
.
fileHandler
=
this
.
fileHandler
.
bind
(
this
);
this
.
fileHandler
=
this
.
fileHandler
.
bind
(
this
);
}
}
...
@@ -824,6 +824,8 @@ export default class ReportItems extends Component {
...
@@ -824,6 +824,8 @@ export default class ReportItems extends Component {
this
.
setState
({
alert
:
false
})
this
.
setState
({
alert
:
false
})
}
}
scrollToMyRef
=
()
=>
window
.
scrollTo
(
0
,
this
.
myRef
.
current
.
offsetTop
)
render
()
{
render
()
{
const
columns
=
[{
const
columns
=
[{
name
:
"Action"
,
name
:
"Action"
,
...
@@ -1049,7 +1051,7 @@ export default class ReportItems extends Component {
...
@@ -1049,7 +1051,7 @@ export default class ReportItems extends Component {
<
/div
>
<
/div
>
);
);
return
(
return
(
<
div
style
=
{{
height
:
this
.
props
.
height
}}
>
<
div
style
=
{{
height
:
this
.
props
.
height
}}
ref
=
{
this
.
myRef
}
>
{
/* <Row> */
}
{
/* <Row> */
}
<
div
className
=
{
"main-color"
}
style
=
{{
height
:
195
,
width
:
'100%'
}}
/
>
<
div
className
=
{
"main-color"
}
style
=
{{
height
:
195
,
width
:
'100%'
}}
/
>
<
Snackbar
open
=
{
this
.
state
.
alert
}
autoHideDuration
=
{
6000
}
onClose
=
{()
=>
this
.
closeAlert
()}
>
<
Snackbar
open
=
{
this
.
state
.
alert
}
autoHideDuration
=
{
6000
}
onClose
=
{()
=>
this
.
closeAlert
()}
>
...
@@ -1057,6 +1059,7 @@ export default class ReportItems extends Component {
...
@@ -1057,6 +1059,7 @@ export default class ReportItems extends Component {
{
this
.
state
.
messageAlert
}
{
this
.
state
.
messageAlert
}
<
/Alert
>
<
/Alert
>
<
/Snackbar
>
<
/Snackbar
>
{
this
.
state
.
loading
&&
loadingComponent
}
{
this
.
state
.
itemReport
===
true
?
{
this
.
state
.
itemReport
===
true
?
this
.
state
.
load
&&
(
this
.
state
.
load
&&
(
<
div
>
<
div
>
...
@@ -1150,7 +1153,6 @@ export default class ReportItems extends Component {
...
@@ -1150,7 +1153,6 @@ export default class ReportItems extends Component {
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
div
style
=
{{
padding
:
25
}}
>
<
div
style
=
{{
padding
:
25
}}
>
{
this
.
state
.
loading
&&
loadingComponent
}
<
MuiThemeProvider
theme
=
{
getMuiTheme
()}
>
<
MuiThemeProvider
theme
=
{
getMuiTheme
()}
>
<
MUIDataTable
<
MUIDataTable
theme
=
{
getMuiTheme
()}
theme
=
{
getMuiTheme
()}
...
@@ -1171,6 +1173,7 @@ export default class ReportItems extends Component {
...
@@ -1171,6 +1173,7 @@ export default class ReportItems extends Component {
onClickClose
=
{()
=>
this
.
setState
({
visualisasi
:
false
,
itemReport
:
true
},
()
=>
this
.
getData
())}
onClickClose
=
{()
=>
this
.
setState
({
visualisasi
:
false
,
itemReport
:
true
},
()
=>
this
.
getData
())}
height
=
{
this
.
props
.
height
}
height
=
{
this
.
props
.
height
}
handleLoading
=
{()
=>
this
.
setState
({
loading
:
true
})}
handleLoading
=
{()
=>
this
.
setState
({
loading
:
true
})}
scrollToTop
=
{()
=>
this
.
scrollToMyRef
()}
/
>
/
>
:
:
<
div
>
<
div
>
...
...
src/container/MasterData/formReportItems/VisualReportItems.js
View file @
8db482f5
...
@@ -336,6 +336,7 @@ export default class VisualReportItems extends Component {
...
@@ -336,6 +336,7 @@ export default class VisualReportItems extends Component {
<
/div
>
<
/div
>
<
button
onClick
=
{()
=>
{
<
button
onClick
=
{()
=>
{
this
.
props
.
handleLoading
()
this
.
props
.
handleLoading
()
this
.
props
.
scrollToTop
()
this
.
handleSave
()}}
>
this
.
handleSave
()}}
>
<
div
style
=
{{
width
:
102
,
height
:
30
,
marginLeft
:
25
,
backgroundColor
:
'#354960'
,
borderRadius
:
5
,
alignItems
:
'center'
,
display
:
'flex'
,
justifyContent
:
'center'
,
cursor
:
"pointer"
}}
>
<
div
style
=
{{
width
:
102
,
height
:
30
,
marginLeft
:
25
,
backgroundColor
:
'#354960'
,
borderRadius
:
5
,
alignItems
:
'center'
,
display
:
'flex'
,
justifyContent
:
'center'
,
cursor
:
"pointer"
}}
>
<
span
style
=
{{
color
:
'#fff'
,
fontSize
:
11
}}
>
Save
<
/span
>
<
span
style
=
{{
color
:
'#fff'
,
fontSize
:
11
}}
>
Save
<
/span
>
...
...
src/container/RollingOutlook.js
View file @
8db482f5
...
@@ -2,17 +2,13 @@ import React, { Component } from 'react';
...
@@ -2,17 +2,13 @@ import React, { Component } from 'react';
import
{
Typography
,
Paper
,
TextField
,
MenuItem
,
Select
,
FormControlLabel
}
from
'@material-ui/core'
;
import
{
Typography
,
Paper
,
TextField
,
MenuItem
,
Select
,
FormControlLabel
}
from
'@material-ui/core'
;
import
MUIDataTable
from
'mui-datatables'
;
import
MUIDataTable
from
'mui-datatables'
;
import
Images
from
'../assets/Images'
;
import
Images
from
'../assets/Images'
;
import
BalanceSheet
from
'./BudgetTahunan/BalanceSheet'
;
import
api
from
'../api'
;
import
api
from
'../api'
;
import
Autocomplete
from
'@material-ui/lab/Autocomplete'
;
import
Autocomplete
from
'@material-ui/lab/Autocomplete'
;
import
{
titleCase
}
from
'../library/Utils'
;
import
{
titleCase
}
from
'../library/Utils'
;
import
ProfitLoss
from
'./BudgetTahunan/ProfitLoss'
;
import
TaxPlanning
from
'./BudgetTahunan/TaxPlanning'
;
import
FixedAssetsMovement
from
'./BudgetTahunan/FixedAssetsMovement'
;
import
CorporateAnnualTarget
from
'./BudgetTahunan/CorporateAnnualTarget'
;
import
{
ExcelRenderer
}
from
'react-excel-renderer'
;
import
{
ExcelRenderer
}
from
'react-excel-renderer'
;
import
UploadFile
from
"../library/Upload"
;
import
UploadFile
from
"../library/Upload"
;
import
{
format
}
from
'date-fns'
;
import
{
format
}
from
'date-fns'
;
import
BalanceSheetRO
from
'./RollingOutlook/BalanceSheetRO'
;
export
default
class
RollingOutlook
extends
Component
{
export
default
class
RollingOutlook
extends
Component
{
constructor
(
props
)
{
constructor
(
props
)
{
...
@@ -285,9 +281,9 @@ export default class RollingOutlook extends Component {
...
@@ -285,9 +281,9 @@ export default class RollingOutlook extends Component {
<
div
style
=
{{
display
:
'flex'
}}
>
<
div
style
=
{{
display
:
'flex'
}}
>
{
val
===
"submitted"
||
val
===
"approved"
?
{
val
===
"submitted"
||
val
===
"approved"
?
<
img
src
=
{
Images
.
ceklis
}
style
=
{{
width
:
31
,
height
:
24
}}
/>
:
<
img
src
=
{
Images
.
ceklis
}
style
=
{{
width
:
31
,
height
:
24
}}
/>
:
val
===
"revision"
?
val
===
"revision"
?
<
span
>
Revisi
<
/span>
:
<
span
>
Revisi
<
/span>
:
null
null
}
}
<
/div
>
<
/div
>
);
);
...
@@ -522,6 +518,14 @@ export default class RollingOutlook extends Component {
...
@@ -522,6 +518,14 @@ export default class RollingOutlook extends Component {
<
/div
>
<
/div
>
<
/div
>
<
/div
>
)}
)}
{
this
.
state
.
visibleBS
&&
(
<
BalanceSheetRO
width
=
{
this
.
props
.
width
}
open
=
{
this
.
props
.
open
}
onClickClose
=
{()
=>
this
.
setState
({
visibleBS
:
false
,
visibleRollingOutlook
:
true
})}
/
>
)}
<
/div
>
<
/div
>
);
);
}
}
...
...
src/container/RollingOutlook/BalanceSheetRO.js
0 → 100644
View file @
8db482f5
This diff is collapsed.
Click to expand it.
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