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
d28b9c17
Commit
d28b9c17
authored
Sep 04, 2020
by
a.bairuha
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://103.44.149.204/d.arizona/tia-dev
into syadziy
parents
065f3d55
85eea79e
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
81 additions
and
48 deletions
+81
-48
BalanceSheet.js
src/container/BudgetTahunan/BalanceSheet.js
+11
-11
Home.js
src/container/Home.js
+51
-32
ReportItems.js
src/container/MasterData/ReportItems.js
+3
-3
CustomTable.js
src/library/CustomTable.js
+16
-2
No files found.
src/container/BudgetTahunan/BalanceSheet.js
View file @
d28b9c17
...
...
@@ -856,7 +856,7 @@ export default class BalanceSheet extends Component {
}
}
},
{
name
:
"Jan
uary
2021"
,
name
:
"Jan 2021"
,
options
:
{
customHeadRender
:
(
columnMeta
)
=>
(
<
TableCell
style
=
{{
...
style2
,
top
:
0
,
zIndex
:
99
,
backgroundColor
:
'#354960'
,
width
:
96
}}
>
...
...
@@ -928,7 +928,7 @@ export default class BalanceSheet extends Component {
}
}
},
{
name
:
"Feb
ruary
2021"
,
name
:
"Feb 2021"
,
options
:
{
customHeadRender
:
(
columnMeta
)
=>
(
<
TableCell
style
=
{{
...
style2
,
top
:
0
,
zIndex
:
99
,
backgroundColor
:
'#354960'
,
width
:
96
}}
>
...
...
@@ -1000,7 +1000,7 @@ export default class BalanceSheet extends Component {
}
}
},
{
name
:
"Mar
ch
2021"
,
name
:
"Mar 2021"
,
options
:
{
customHeadRender
:
(
columnMeta
)
=>
(
<
TableCell
style
=
{{
...
style2
,
top
:
0
,
zIndex
:
99
,
backgroundColor
:
'#354960'
,
width
:
96
}}
>
...
...
@@ -1072,7 +1072,7 @@ export default class BalanceSheet extends Component {
}
}
},
{
name
:
"Apr
il
2021"
,
name
:
"Apr 2021"
,
options
:
{
customHeadRender
:
(
columnMeta
)
=>
(
<
TableCell
style
=
{{
...
style2
,
top
:
0
,
zIndex
:
99
,
backgroundColor
:
'#354960'
,
width
:
96
}}
>
...
...
@@ -1216,7 +1216,7 @@ export default class BalanceSheet extends Component {
}
}
},
{
name
:
"Jun
e
2021"
,
name
:
"Jun 2021"
,
options
:
{
customHeadRender
:
(
columnMeta
)
=>
(
<
TableCell
style
=
{{
...
style2
,
top
:
0
,
zIndex
:
99
,
backgroundColor
:
'#354960'
,
width
:
96
}}
>
...
...
@@ -1288,7 +1288,7 @@ export default class BalanceSheet extends Component {
}
}
},
{
name
:
"Jul
y
2021"
,
name
:
"Jul 2021"
,
options
:
{
customHeadRender
:
(
columnMeta
)
=>
(
<
TableCell
style
=
{{
...
style2
,
top
:
0
,
zIndex
:
99
,
backgroundColor
:
'#354960'
,
width
:
96
}}
>
...
...
@@ -1360,7 +1360,7 @@ export default class BalanceSheet extends Component {
}
}
},
{
name
:
"Aug
ust
2021"
,
name
:
"Aug 2021"
,
options
:
{
customHeadRender
:
(
columnMeta
)
=>
(
<
TableCell
style
=
{{
...
style2
,
top
:
0
,
zIndex
:
99
,
backgroundColor
:
'#354960'
,
width
:
96
}}
>
...
...
@@ -1432,7 +1432,7 @@ export default class BalanceSheet extends Component {
}
}
},
{
name
:
"Sep
tember
2021"
,
name
:
"Sep 2021"
,
options
:
{
customHeadRender
:
(
columnMeta
)
=>
(
<
TableCell
style
=
{{
...
style2
,
top
:
0
,
zIndex
:
99
,
backgroundColor
:
'#354960'
,
width
:
96
}}
>
...
...
@@ -1504,7 +1504,7 @@ export default class BalanceSheet extends Component {
}
}
},
{
name
:
"Oct
ober
2021"
,
name
:
"Oct 2021"
,
options
:
{
customHeadRender
:
(
columnMeta
)
=>
(
<
TableCell
style
=
{{
...
style2
,
top
:
0
,
zIndex
:
99
,
backgroundColor
:
'#354960'
,
width
:
96
}}
>
...
...
@@ -1576,7 +1576,7 @@ export default class BalanceSheet extends Component {
}
}
},
{
name
:
"Nov
ember
2021"
,
name
:
"Nov 2021"
,
options
:
{
customHeadRender
:
(
columnMeta
)
=>
(
<
TableCell
style
=
{{
...
style2
,
top
:
0
,
zIndex
:
99
,
backgroundColor
:
'#354960'
,
width
:
96
}}
>
...
...
@@ -1648,7 +1648,7 @@ export default class BalanceSheet extends Component {
}
}
},
{
name
:
"Dec
ember
2021"
,
name
:
"Dec 2021"
,
options
:
{
customHeadRender
:
(
columnMeta
)
=>
(
<
TableCell
style
=
{{
...
style2
,
top
:
0
,
zIndex
:
99
,
backgroundColor
:
'#354960'
,
width
:
96
}}
>
...
...
src/container/Home.js
View file @
d28b9c17
...
...
@@ -18,6 +18,7 @@ import Collapse from '@material-ui/core/Collapse';
import
DateFnsUtils
from
'@date-io/date-fns'
;
import
{
MuiPickersUtilsProvider
}
from
"@material-ui/pickers"
;
import
localeID
from
'date-fns/locale/en-US'
;
import
ReactTooltip
from
'react-tooltip'
;
import
{
BrowserRouter
as
Router
,
...
...
@@ -511,20 +512,26 @@ export default function MiniDrawer() {
{
application
.
map
((
item
,
index
)
=>
(
<
div
style
=
{{
marginTop
:
index
===
0
?
null
:
5
}}
>
{
item
.
subItem
.
length
!==
0
?
<
a
data
-
tip
=
{
item
.
label
}
data
-
for
=
{
item
.
label
}
>
<
div
style
=
{{
justifyContent
:
'space-between'
,
flexDirection
:
'row'
,
display
:
'flex'
,
paddingLeft
:
5
,
paddingRight
:
10
,
cursor
:
'pointer'
}}
onClick
=
{()
=>
{
handleCollapse
(
item
)
}}
>
<
ListItem
key
=
{
item
.
label
}
>
<
ListItemIcon
style
=
{{
minWidth
:
open
?
40
:
56
}}
><
img
src
=
{
item
.
img
}
/></
ListItemIcon
>
<
Typography
style
=
{{
fontFamily
:
'Nunito Sans, sans-serif'
,
color
:
'#525355'
,
fontSize
:
14
}}
>
{
item
.
label
}
<
/Typography
>
<
/ListItem
>
{
item
.
subItem
.
length
!==
0
?
(
item
.
collapse
?
<
ExpandLess
style
=
{{
color
:
"#525355"
,
marginLeft
:
50
,
alignSelf
:
'center'
}}
/> : <ExpandMore style={{ color: "#525355", marginLeft: 50, alignSelf: 'center' }} /
>
)
:
null
}
{
!
open
&&
(
<
ReactTooltip
border
=
{
true
}
id
=
{
item
.
label
}
place
=
"bottom"
type
=
"light"
effect
=
"solid"
/>
)}
<
/div
>
<
/a
>
:
<
Link
to
=
{
`
${
url
}
/
${
item
.
path
}
`
}
>
<
div
style
=
{{
paddingLeft
:
5
}}
className
=
{
selectedIndex
===
item
.
label
?
"active"
:
""
}
>
<
a
data
-
tip
=
{
item
.
label
}
data
-
for
=
{
item
.
label
}
>
<
ListItem
button
key
=
{
item
.
label
}
onClick
=
{()
=>
selectIndex
(
item
.
label
)}
>
<
ListItemIcon
style
=
{{
minWidth
:
open
?
40
:
56
}}
><
img
src
=
{
item
.
img
}
style
=
{{
fill
:
'#525355'
}}
/></
ListItemIcon
>
<
Typography
style
=
{{
fontFamily
:
'Nunito Sans, sans-serif'
,
color
:
'#525355'
,
fontSize
:
14
}}
>
{
item
.
label
}
<
/Typography
>
<
/ListItem
>
<
/a
>
{
!
open
&&
(
<
ReactTooltip
border
=
{
true
}
id
=
{
item
.
label
}
place
=
"bottom"
type
=
"light"
effect
=
"solid"
/>
)}
<
/div
>
<
/Link
>
}
...
...
@@ -535,11 +542,14 @@ export default function MiniDrawer() {
{
item
.
subItem
.
map
((
sub
,
indexs
)
=>
{
return
(
<
Link
to
=
{
sub
.
label
===
"Logout"
?
`/`
:
`
${
url
}
/
${
sub
.
path
}
`
}
>
<
a
data
-
tip
=
{
sub
.
label
}
data
-
for
=
{
sub
.
label
}
>
<
div
style
=
{{
paddingLeft
:
5
,
}}
className
=
{
selectedSubIndex
===
sub
.
label
?
"active"
:
""
}
onClick
=
{()
=>
sub
.
label
===
"Logout"
?
logout
()
:
selectSub
(
sub
.
label
)}
>
<
ListItem
button
style
=
{{
paddingLeft
:
57
}}
>
<
Typography
style
=
{{
fontFamily
:
'Nunito Sans, sans-serif'
,
color
:
'#525355'
,
fontSize
:
14
}}
>
{
sub
.
label
}
<
/Typography
>
<
/ListItem
>
<
/div
>
<
/a
>
{
!
open
&&
(
<
ReactTooltip
border
=
{
true
}
id
=
{
sub
.
label
}
place
=
"bottom"
type
=
"light"
effect
=
"solid"
/>
)}
<
/Link
>
)
})}
...
...
@@ -559,20 +569,26 @@ export default function MiniDrawer() {
{
setting
.
map
((
item
,
index
)
=>
(
<
div
style
=
{{
marginTop
:
index
===
0
?
null
:
5
}}
>
{
item
.
subItem
.
length
!==
0
?
<
a
data
-
tip
=
{
item
.
label
}
data
-
for
=
{
item
.
label
}
>
<
div
style
=
{{
justifyContent
:
'space-between'
,
flexDirection
:
'row'
,
display
:
'flex'
,
paddingLeft
:
5
,
paddingRight
:
10
,
cursor
:
'pointer'
}}
onClick
=
{()
=>
{
handleCollapseSetting
(
item
)
}}
>
<
ListItem
key
=
{
item
.
label
}
>
<
ListItemIcon
style
=
{{
minWidth
:
open
?
40
:
56
}}
><
img
src
=
{
item
.
img
}
/></
ListItemIcon
>
<
Typography
style
=
{{
fontFamily
:
'Nunito Sans, sans-serif'
,
color
:
'#525355'
,
fontSize
:
14
}}
>
{
item
.
label
}
<
/Typography
>
<
/ListItem
>
{
item
.
subItem
.
length
!==
0
?
(
item
.
collapse
?
<
ExpandLess
style
=
{{
color
:
"#525355"
,
marginLeft
:
50
,
alignSelf
:
'center'
}}
/> : <ExpandMore style={{ color: "#525355", marginLeft: 50, alignSelf: 'center' }} /
>
)
:
null
}
{
!
open
&&
(
<
ReactTooltip
border
=
{
true
}
id
=
{
item
.
label
}
place
=
"bottom"
type
=
"light"
effect
=
"solid"
/>
)}
<
/div
>
<
/a
>
:
<
Link
to
=
{
`
${
url
}
/
${
item
.
path
}
`
}
>
<
div
style
=
{{
paddingLeft
:
5
}}
className
=
{
selectedIndex
===
item
.
label
?
"active"
:
""
}
>
<
a
data
-
tip
=
{
item
.
label
}
data
-
for
=
{
item
.
label
}
>
<
ListItem
button
key
=
{
item
.
label
}
onClick
=
{()
=>
selectIndex
(
item
.
label
)}
>
<
ListItemIcon
style
=
{{
minWidth
:
open
?
40
:
56
}}
><
img
src
=
{
item
.
img
}
style
=
{{
fill
:
'#525355'
}}
/></
ListItemIcon
>
<
Typography
style
=
{{
fontFamily
:
'Nunito Sans, sans-serif'
,
color
:
'#525355'
,
fontSize
:
14
}}
>
{
item
.
label
}
<
/Typography
>
<
/ListItem
>
<
/a
>
{
!
open
&&
(
<
ReactTooltip
border
=
{
true
}
id
=
{
item
.
label
}
place
=
"bottom"
type
=
"light"
effect
=
"solid"
/>
)}
<
/div
>
<
/Link
>
}
...
...
@@ -583,11 +599,14 @@ export default function MiniDrawer() {
{
item
.
subItem
.
map
((
sub
,
indexs
)
=>
{
return
(
<
Link
to
=
{
sub
.
label
===
"Logout"
?
`/`
:
`
${
url
}
/
${
sub
.
path
}
`
}
>
<
a
data
-
tip
=
{
sub
.
label
}
data
-
for
=
{
sub
.
label
}
>
<
div
style
=
{{
paddingLeft
:
5
,
}}
className
=
{
selectedSubIndex
===
sub
.
label
?
"active"
:
""
}
onClick
=
{()
=>
sub
.
label
===
"Logout"
?
logout
()
:
selectSub
(
sub
.
label
)}
>
<
ListItem
button
style
=
{{
paddingLeft
:
57
}}
>
<
Typography
style
=
{{
fontFamily
:
'Nunito Sans, sans-serif'
,
color
:
'#525355'
,
fontSize
:
14
}}
>
{
sub
.
label
}
<
/Typography
>
<
/ListItem
>
<
/div
>
<
/a
>
{
!
open
&&
(
<
ReactTooltip
border
=
{
true
}
id
=
{
sub
.
label
}
place
=
"bottom"
type
=
"light"
effect
=
"solid"
/>
)}
<
/Link
>
)
})}
...
...
src/container/MasterData/ReportItems.js
View file @
d28b9c17
...
...
@@ -863,9 +863,9 @@ export default class ReportItems extends Component {
{
this
.
state
.
itemReport
===
true
?
<
div
>
{
this
.
state
.
load
&&
(
<
div
style
=
{{
display
:
'flex'
,
flexDirection
:
'row'
,
justifyContent
:
'space-between'
,
paddingRight
:
25
,
paddingLeft
:
25
,
marginTop
:
-
1
18
}}
>
<
div
style
=
{{
display
:
'flex'
,
flexDirection
:
'row'
,
justifyContent
:
'space-between'
,
paddingRight
:
25
,
paddingLeft
:
25
,
marginTop
:
-
1
80
}}
>
<
label
style
=
{{
color
:
'white'
,
fontSize
:
16
,
alignSelf
:
'center'
,
width
:
'20%'
,
}}
>
Master
Data
-
Report
Items
<
/label
>
<
div
style
=
{{
color
:
'white'
,
width
:
'50%'
,
height
:
37
,
display
:
'flex'
,
backgroundColor
:
'white'
,
borderWidth
:
2
,
alignItems
:
'center'
,
borderRadius
:
6
,
paddingLeft
:
5
,
paddingRight
:
5
,
alignSelf
:
'center'
}}
>
{
/*
<div style={{ color: 'white', width: '50%', height: 37, display: 'flex', backgroundColor: 'white', borderWidth: 2, alignItems: 'center', borderRadius: 6, paddingLeft: 5, paddingRight: 5, alignSelf: 'center' }}>
<img src={Images.searchBlack} style={{ marginRight: 10 }} />
<InputBase
style={{ width: '100%' }}
...
...
@@ -874,7 +874,7 @@ export default class ReportItems extends Component {
onChange={(e) => this.handleInputChange(e.target.value)}
inputProps={{ 'aria-label': 'naked' }}
/>
<
/div
>
</div>
*/
}
<
div
style
=
{{
width
:
'30%'
,
justifyContent
:
'flex-end'
,
display
:
'flex'
,
flexFlow
:
'wrap'
}}
>
<
a
data
-
tip
=
{
'Download Template'
}
data
-
for
=
"template"
>
<
button
...
...
src/library/CustomTable.js
View file @
d28b9c17
...
...
@@ -442,8 +442,22 @@ exports.customTable3 = function () {
},
MUIDataTableBodyCell
:
{
root
:
{
fontSize
:
"10pt"
,
padding
:
"3px"
fontSize
:
"10pt"
}
},
MuiTableCell
:
{
root
:
{
display
:
'table-cell'
,
padding
:
7
,
paddingLeft
:
25
,
fontSize
:
'0.875rem'
,
textAlign
:
'left'
,
fontFamily
:
"Roboto, Helvetica, Arial, sans-serif"
,
fontWeight
:
400
,
lineHeight
:
1.43
,
borderBottom
:
'1px solid rgba(224, 224, 224, 1)'
,
letterSpacing
:
'0.01071em'
,
verticalAlign
:
'inherit'
,
}
},
MUIDataTableSelectCell
:
{
...
...
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