Commit ce71d106 authored by Riri Novita's avatar Riri Novita

update subco

parent dceaa979
.main-color{
background-color: #0b6b24 !important;
background-color: #273b80 !important;
}
/* for staging */
/* .main-color{
background-color: #0b6b24 !important;
} */
/* .main-color{
background-color: #1474CA !important;
} */
......@@ -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,
......
......@@ -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(this.state.periode);
console.log(tahun);
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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment