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
ce71d106
Commit
ce71d106
authored
Dec 19, 2023
by
Riri Novita
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update subco
parent
dceaa979
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
4 deletions
+14
-4
app.css
src/assets/sass/app.css
+6
-1
Home.js
src/container/Menu/Home.js
+2
-2
SubHolding.js
src/container/Reports/SubHolding.js
+6
-1
No files found.
src/assets/sass/app.css
View file @
ce71d106
.main-color{
background-color: #
0b6b24
!important;
background-color: #
273b80
!important;
}
/* for staging */
/* .main-color{
background-color: #0b6b24 !important;
} */
/* .main-color{
background-color: #1474CA !important;
} */
src/container/Menu/Home.js
View file @
ce71d106
...
...
@@ -71,7 +71,7 @@ const useStyles = makeStyles((theme) => ({
easing
:
theme
.
transitions
.
easing
.
sharp
,
duration
:
theme
.
transitions
.
duration
.
enteringScreen
,
}),
backgroundColor
:
'#
0b6b24
'
backgroundColor
:
'#
273b80
'
},
topleftClose
:
{
borderRight
:
0
,
...
...
@@ -87,7 +87,7 @@ const useStyles = makeStyles((theme) => ({
},
padding
:
20
,
display
:
'flex'
,
backgroundColor
:
'#
0b6b24
'
backgroundColor
:
'#
273b80
'
},
drawerOpen
:
{
width
:
drawerWidth
,
...
...
src/container/Reports/SubHolding.js
View file @
ce71d106
...
...
@@ -4326,6 +4326,11 @@ export default class SubHolding extends Component {
{...
this
.
state
.
listPeriode
}
id
=
"periode"
onChange
=
{(
event
,
newInputValue
)
=>
this
.
setState
({
periode
:
newInputValue
,
loading
:
true
,
previewTable
:
false
},
()
=>
{
let
tahun
=
Number
(
this
.
state
.
periode
.
periode
)
console
.
log
(
newInputValue
);
console
.
log
(
newInputValue
.
id
);
let
bizpar
=
tahun
>=
2024
&&
defaultCurrencyID
==
2
&&
newInputValue
.
id
==
1
?
defaultReport
.
filter
(
e
=>
e
.
report
===
2
)
:
defaultReport
this
.
setState
({
report
:
bizpar
[
0
],
reportType
:
bizpar
})
this
.
getReportType
()
})}
disabled
=
{
this
.
state
.
intent
===
'Home'
?
true
:
false
}
...
...
@@ -4388,7 +4393,7 @@ export default class SubHolding extends Component {
// console.log("report 2");
// }
let
tahun
=
Number
(
this
.
state
.
periode
.
periode
)
console
.
log
(
t
his
.
state
.
periode
);
console
.
log
(
t
ahun
);
let
bizpar
=
tahun
>=
2024
&&
defaultCurrencyID
==
2
&&
newInputValue
.
id
==
1
?
defaultReport
.
filter
(
e
=>
e
.
report
===
2
)
:
defaultReport
this
.
setState
({
report
:
bizpar
[
0
],
reportType
:
bizpar
})
this
.
getReportType
()
...
...
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