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
d55db148
Commit
d55db148
authored
Apr 07, 2026
by
Hardiansyah
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ENV-DEV' into 'ENV-DEPLOYMENT'
tambah master report type id create monthly See merge request
!2415
parents
278eb5d9
62cc0a9a
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
25 additions
and
8 deletions
+25
-8
BalanceSheetMR.js
src/container/MonthlyReport/BalanceSheetMR.js
+2
-1
CorporateAnnualTargetMR.js
src/container/MonthlyReport/CorporateAnnualTargetMR.js
+2
-1
FixedAssetsMovementMR.js
src/container/MonthlyReport/FixedAssetsMovementMR.js
+2
-1
ListOfCreditFacilitiesMR.js
src/container/MonthlyReport/ListOfCreditFacilitiesMR.js
+2
-1
MonthlyReport.js
src/container/MonthlyReport/MonthlyReport.js
+13
-2
ProfitLossMR.js
src/container/MonthlyReport/ProfitLossMR.js
+2
-1
TaxPlanningMR.js
src/container/MonthlyReport/TaxPlanningMR.js
+2
-1
No files found.
src/container/MonthlyReport/BalanceSheetMR.js
View file @
d55db148
...
@@ -604,7 +604,8 @@ export default class BalanceSheetMR extends Component {
...
@@ -604,7 +604,8 @@ export default class BalanceSheetMR extends Component {
"currency_id"
:
this
.
props
.
defaultCurrency
.
id
,
"currency_id"
:
this
.
props
.
defaultCurrency
.
id
,
"status"
:
type
,
"status"
:
type
,
"months"
:
this
.
props
.
month
.
month_id
,
"months"
:
this
.
props
.
month
.
month_id
,
"balance_sheet"
:
data
"balance_sheet"
:
data
,
"master_report_type_id"
:
this
.
props
?.
master_report_type_id
}
}
api
.
create
(
'UPLOAD'
).
createMonthlyReportBS
(
payload
).
then
(
response
=>
{
api
.
create
(
'UPLOAD'
).
createMonthlyReportBS
(
payload
).
then
(
response
=>
{
console
.
log
(
payload
);
console
.
log
(
payload
);
...
...
src/container/MonthlyReport/CorporateAnnualTargetMR.js
View file @
d55db148
...
@@ -701,7 +701,8 @@ export default class CorporateAnnualTargetMR extends Component {
...
@@ -701,7 +701,8 @@ export default class CorporateAnnualTargetMR extends Component {
"currency_id"
:
this
.
props
.
defaultCurrency
.
id
,
"currency_id"
:
this
.
props
.
defaultCurrency
.
id
,
"corporate_annual_target"
:
data
,
"corporate_annual_target"
:
data
,
"total_score"
:
this
.
state
.
totalScore
,
"total_score"
:
this
.
state
.
totalScore
,
"performance"
:
this
.
state
.
perfomanceScore
"performance"
:
this
.
state
.
perfomanceScore
,
"master_report_type_id"
:
this
.
props
?.
master_report_type_id
}
}
// console.log(JSON.stringify(payload));
// console.log(JSON.stringify(payload));
console
.
log
(
payload
);
console
.
log
(
payload
);
...
...
src/container/MonthlyReport/FixedAssetsMovementMR.js
View file @
d55db148
...
@@ -473,7 +473,8 @@ export default class FixedAssetsMovementMR extends Component {
...
@@ -473,7 +473,8 @@ export default class FixedAssetsMovementMR extends Component {
"currency_id"
:
this
.
props
.
defaultCurrency
.
id
,
"currency_id"
:
this
.
props
.
defaultCurrency
.
id
,
"status"
:
type
,
"status"
:
type
,
"months"
:
this
.
props
.
month
.
month_id
,
"months"
:
this
.
props
.
month
.
month_id
,
"fixed_asset_movement"
:
data
"fixed_asset_movement"
:
data
,
"master_report_type_id"
:
this
.
props
?.
master_report_type_id
}
}
// console.log(JSON.stringify(payload));
// console.log(JSON.stringify(payload));
...
...
src/container/MonthlyReport/ListOfCreditFacilitiesMR.js
View file @
d55db148
...
@@ -418,7 +418,8 @@ export default class ListOfCreditFacilities extends Component {
...
@@ -418,7 +418,8 @@ export default class ListOfCreditFacilities extends Component {
"locf"
:
data
,
"locf"
:
data
,
"per_bs"
:
this
.
state
.
perBSLOCF
,
"per_bs"
:
this
.
state
.
perBSLOCF
,
"diff"
:
this
.
state
.
diffLOCF
,
"diff"
:
this
.
state
.
diffLOCF
,
"total_loan"
:
this
.
state
.
totalLoanLOCF
"total_loan"
:
this
.
state
.
totalLoanLOCF
,
"master_report_type_id"
:
this
.
props
?.
master_report_type_id
}
}
console
.
log
(
body
);
console
.
log
(
body
);
console
.
log
(
error
);
console
.
log
(
error
);
...
...
src/container/MonthlyReport/MonthlyReport.js
View file @
d55db148
...
@@ -2603,6 +2603,13 @@ export default class MonthlyReport extends Component {
...
@@ -2603,6 +2603,13 @@ export default class MonthlyReport extends Component {
return
tableKey
===
'CAT'
?
lastStatusCat
:
lastStatus
return
tableKey
===
'CAT'
?
lastStatusCat
:
lastStatus
}
}
getActiveMasterReportTypeId
=
()
=>
{
const
{
tableKey
,
rowDataFinance
,
rowDataCAT
}
=
this
.
state
const
mstIdFinance
=
rowDataFinance
?.
length
>
0
&&
rowDataFinance
[
0
]?.
master_report_type_id
const
mstIdCAT
=
rowDataCAT
?.
length
>
0
&&
rowDataCAT
[
0
]?.
master_report_type_id
return
tableKey
===
'CAT'
?
mstIdCAT
:
mstIdFinance
}
getSubmissionObj
=
(
tableKeyParam
)
=>
{
getSubmissionObj
=
(
tableKeyParam
)
=>
{
const
{
const
{
tableKey
,
tableKey
,
...
@@ -3415,8 +3422,6 @@ export default class MonthlyReport extends Component {
...
@@ -3415,8 +3422,6 @@ export default class MonthlyReport extends Component {
const
mstIdFinance
=
this
.
state
?.
rowDataFinance
?.
length
>
0
&&
this
.
state
.
rowDataFinance
[
0
]?.
master_report_type_id
const
mstIdFinance
=
this
.
state
?.
rowDataFinance
?.
length
>
0
&&
this
.
state
.
rowDataFinance
[
0
]?.
master_report_type_id
const
mstIdCAT
=
this
.
state
?.
rowDataCAT
?.
length
>
0
&&
this
.
state
.
rowDataCAT
[
0
]?.
master_report_type_id
const
mstIdCAT
=
this
.
state
?.
rowDataCAT
?.
length
>
0
&&
this
.
state
.
rowDataCAT
[
0
]?.
master_report_type_id
console
.
log
(((
this
.
state
.
checkApprover
&&
this
.
state
.
isApproverCAT
)
||
this
.
state
.
submitterCAT
),
'1'
)
console
.
log
(
this
.
state
.
checkApprover
,
this
.
state
.
isApproverCAT
,
this
.
state
.
submitterCAT
,
'2'
)
return
(
return
(
<
div
style
=
{{
flex
:
1
,
backgroundColor
:
'#f8f8f8'
,
overflow
:
'scroll'
}}
>
<
div
style
=
{{
flex
:
1
,
backgroundColor
:
'#f8f8f8'
,
overflow
:
'scroll'
}}
>
<
Snackbar
open
=
{
this
.
state
.
alert
}
autoHideDuration
=
{
6000
}
onClose
=
{()
=>
this
.
closeAlert
()}
>
<
Snackbar
open
=
{
this
.
state
.
alert
}
autoHideDuration
=
{
6000
}
onClose
=
{()
=>
this
.
closeAlert
()}
>
...
@@ -3599,6 +3604,7 @@ export default class MonthlyReport extends Component {
...
@@ -3599,6 +3604,7 @@ export default class MonthlyReport extends Component {
isApprover
=
{
this
.
state
.
isApprover
}
isApprover
=
{
this
.
state
.
isApprover
}
status
=
{
this
.
state
.
status
}
status
=
{
this
.
state
.
status
}
lastStatus
=
{
this
.
getLastStatus
()}
lastStatus
=
{
this
.
getLastStatus
()}
master_report_type_id
=
{
this
.
getActiveMasterReportTypeId
()}
prevRevision
=
{
this
.
state
.
isSubmit
?
this
.
state
.
prevRevision
:
true
}
prevRevision
=
{
this
.
state
.
isSubmit
?
this
.
state
.
prevRevision
:
true
}
createCF
=
{
this
.
createCashFlow
.
bind
(
this
)}
createCF
=
{
this
.
createCashFlow
.
bind
(
this
)}
// getReport={this.getCompanyActive.bind(this)}
// getReport={this.getCompanyActive.bind(this)}
...
@@ -3622,6 +3628,7 @@ export default class MonthlyReport extends Component {
...
@@ -3622,6 +3628,7 @@ export default class MonthlyReport extends Component {
isApprover
=
{
this
.
state
.
isApprover
}
isApprover
=
{
this
.
state
.
isApprover
}
status
=
{
this
.
state
.
status
}
status
=
{
this
.
state
.
status
}
lastStatus
=
{
this
.
getLastStatus
()}
lastStatus
=
{
this
.
getLastStatus
()}
master_report_type_id
=
{
this
.
getActiveMasterReportTypeId
()}
prevRevision
=
{
this
.
state
.
isSubmit
?
this
.
state
.
prevRevision
:
true
}
prevRevision
=
{
this
.
state
.
isSubmit
?
this
.
state
.
prevRevision
:
true
}
createCF
=
{
this
.
createCashFlow
.
bind
(
this
)}
createCF
=
{
this
.
createCashFlow
.
bind
(
this
)}
// getReport={this.getCompanyActive.bind(this)}
// getReport={this.getCompanyActive.bind(this)}
...
@@ -3648,6 +3655,7 @@ export default class MonthlyReport extends Component {
...
@@ -3648,6 +3655,7 @@ export default class MonthlyReport extends Component {
isApprover
=
{
this
.
state
.
isApprover
}
isApprover
=
{
this
.
state
.
isApprover
}
status
=
{
this
.
state
.
status
}
status
=
{
this
.
state
.
status
}
lastStatus
=
{
this
.
getLastStatus
()}
lastStatus
=
{
this
.
getLastStatus
()}
master_report_type_id
=
{
this
.
getActiveMasterReportTypeId
()}
// getReport={this.getCompanyActive.bind(this)}
// getReport={this.getCompanyActive.bind(this)}
prevRevision
=
{
this
.
state
.
isSubmit
?
this
.
state
.
prevRevision
:
true
}
prevRevision
=
{
this
.
state
.
isSubmit
?
this
.
state
.
prevRevision
:
true
}
/
>
/
>
...
@@ -3670,6 +3678,7 @@ export default class MonthlyReport extends Component {
...
@@ -3670,6 +3678,7 @@ export default class MonthlyReport extends Component {
isApprover
=
{
this
.
state
.
isApprover
}
isApprover
=
{
this
.
state
.
isApprover
}
status
=
{
this
.
state
.
status
}
status
=
{
this
.
state
.
status
}
lastStatus
=
{
this
.
getLastStatus
()}
lastStatus
=
{
this
.
getLastStatus
()}
master_report_type_id
=
{
this
.
getActiveMasterReportTypeId
()}
createCF
=
{
this
.
createCashFlow
.
bind
(
this
)}
createCF
=
{
this
.
createCashFlow
.
bind
(
this
)}
prevRevision
=
{
this
.
state
.
isSubmit
?
this
.
state
.
prevRevision
:
true
}
prevRevision
=
{
this
.
state
.
isSubmit
?
this
.
state
.
prevRevision
:
true
}
/
>
/
>
...
@@ -3694,6 +3703,7 @@ export default class MonthlyReport extends Component {
...
@@ -3694,6 +3703,7 @@ export default class MonthlyReport extends Component {
// status={'not-yet'}
// status={'not-yet'}
// lastStatus={'SUBMIT'}
// lastStatus={'SUBMIT'}
lastStatus
=
{
this
.
getLastStatus
()}
lastStatus
=
{
this
.
getLastStatus
()}
master_report_type_id
=
{
this
.
getActiveMasterReportTypeId
()}
prevRevision
=
{
this
.
state
.
isSubmit
?
this
.
state
.
prevRevision
:
true
}
prevRevision
=
{
this
.
state
.
isSubmit
?
this
.
state
.
prevRevision
:
true
}
/
>
/
>
)}
)}
...
@@ -3715,6 +3725,7 @@ export default class MonthlyReport extends Component {
...
@@ -3715,6 +3725,7 @@ export default class MonthlyReport extends Component {
isApprover
=
{
this
.
state
.
isApprover
}
isApprover
=
{
this
.
state
.
isApprover
}
status
=
{
this
.
state
.
status
}
status
=
{
this
.
state
.
status
}
lastStatus
=
{
this
.
getLastStatus
()}
lastStatus
=
{
this
.
getLastStatus
()}
master_report_type_id
=
{
this
.
getActiveMasterReportTypeId
()}
prevRevision
=
{
this
.
state
.
isSubmit
?
this
.
state
.
prevRevision
:
true
}
prevRevision
=
{
this
.
state
.
isSubmit
?
this
.
state
.
prevRevision
:
true
}
/
>
/
>
)}
)}
...
...
src/container/MonthlyReport/ProfitLossMR.js
View file @
d55db148
...
@@ -434,7 +434,8 @@ export default class ProfitLossMR extends Component {
...
@@ -434,7 +434,8 @@ export default class ProfitLossMR extends Component {
"status"
:
type
,
"status"
:
type
,
"months"
:
this
.
props
.
month
.
month_id
,
"months"
:
this
.
props
.
month
.
month_id
,
"currency_id"
:
this
.
props
.
defaultCurrency
.
id
,
"currency_id"
:
this
.
props
.
defaultCurrency
.
id
,
"profit_loss"
:
data
"profit_loss"
:
data
,
"master_report_type_id"
:
this
.
props
?.
master_report_type_id
}
}
console
.
log
(
payload
);
console
.
log
(
payload
);
// console.log(JSON.stringify(payload));
// console.log(JSON.stringify(payload));
...
...
src/container/MonthlyReport/TaxPlanningMR.js
View file @
d55db148
...
@@ -334,7 +334,8 @@ export default class TaxPlanningMR extends Component {
...
@@ -334,7 +334,8 @@ export default class TaxPlanningMR extends Component {
"status"
:
type
,
"status"
:
type
,
"months"
:
this
.
props
.
month
.
month_id
,
"months"
:
this
.
props
.
month
.
month_id
,
"currency_id"
:
this
.
props
.
defaultCurrency
.
id
,
"currency_id"
:
this
.
props
.
defaultCurrency
.
id
,
"tax_planning"
:
data
"tax_planning"
:
data
,
"master_report_type_id"
:
this
.
props
?.
master_report_type_id
}
}
api
.
create
(
'UPLOAD'
).
createMonthlyReportTP
(
payload
).
then
(
response
=>
{
api
.
create
(
'UPLOAD'
).
createMonthlyReportTP
(
payload
).
then
(
response
=>
{
...
...
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