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
65272d3e
Commit
65272d3e
authored
Jan 11, 2021
by
Riri Novita
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://103.44.149.204/d.arizona/tia-dev
into riri
parents
9682c2a7
bbae27c1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
7 deletions
+14
-7
BalanceSheetMR.js
src/container/MonthlyReport/BalanceSheetMR.js
+1
-1
CorporateAnnualTargetMR.js
src/container/MonthlyReport/CorporateAnnualTargetMR.js
+11
-5
TaxPlanningMR.js
src/container/MonthlyReport/TaxPlanningMR.js
+2
-1
No files found.
src/container/MonthlyReport/BalanceSheetMR.js
View file @
65272d3e
...
@@ -130,7 +130,7 @@ export default class BalanceSheetMR extends Component {
...
@@ -130,7 +130,7 @@ export default class BalanceSheetMR extends Component {
getSettingControl
()
{
getSettingControl
()
{
let
body
=
{
let
body
=
{
group
:
'THRESHOLD_
VARIANCE
'
,
group
:
'THRESHOLD_
CONTROL
'
,
company_id
:
this
.
props
.
company
.
company_id
,
company_id
:
this
.
props
.
company
.
company_id
,
type
:
'BALANCE_SHEET'
type
:
'BALANCE_SHEET'
}
}
...
...
src/container/MonthlyReport/CorporateAnnualTargetMR.js
View file @
65272d3e
...
@@ -345,7 +345,8 @@ export default class CorporateAnnualTargetMR extends Component {
...
@@ -345,7 +345,8 @@ export default class CorporateAnnualTargetMR extends Component {
periode
:
this
.
props
.
periode
,
periode
:
this
.
props
.
periode
,
report_id
:
this
.
props
.
report_id
,
report_id
:
this
.
props
.
report_id
,
months
:
this
.
props
.
month
.
month_id
,
months
:
this
.
props
.
month
.
month_id
,
corporate_annual_target
:
payload
corporate_annual_target
:
payload
,
status
:
"submitted"
}
}
console
.
log
(
body
)
console
.
log
(
body
)
this
.
setState
({
payload
:
body
,
judul
:
resp
.
rows
[
1
][
0
],
judulColumn
:
resp
.
rows
[
0
][
0
]
})
this
.
setState
({
payload
:
body
,
judul
:
resp
.
rows
[
1
][
0
],
judulColumn
:
resp
.
rows
[
0
][
0
]
})
...
@@ -356,7 +357,7 @@ export default class CorporateAnnualTargetMR extends Component {
...
@@ -356,7 +357,7 @@ export default class CorporateAnnualTargetMR extends Component {
checkUpload
()
{
checkUpload
()
{
this
.
setState
({
loading
:
true
})
this
.
setState
({
loading
:
true
})
api
.
create
().
checkUploadMonthlyReportCAT
(
this
.
state
.
payload
).
then
(
response
=>
{
api
.
create
().
checkUploadMonthlyReportCAT
(
this
.
state
.
payload
).
then
(
response
=>
{
console
.
log
(
JSON
.
stringify
(
this
.
state
.
payload
));
//
console.log(JSON.stringify(this.state.payload));
console
.
log
(
this
.
state
.
payload
)
console
.
log
(
this
.
state
.
payload
)
console
.
log
(
response
)
console
.
log
(
response
)
if
(
response
.
data
)
{
if
(
response
.
data
)
{
...
@@ -428,7 +429,9 @@ export default class CorporateAnnualTargetMR extends Component {
...
@@ -428,7 +429,9 @@ export default class CorporateAnnualTargetMR extends Component {
"report_id"
:
this
.
props
.
report_id
,
"report_id"
:
this
.
props
.
report_id
,
"status"
:
type
,
"status"
:
type
,
"months"
:
this
.
props
.
month
.
month_id
,
"months"
:
this
.
props
.
month
.
month_id
,
"corporate_annual_target"
:
data
"corporate_annual_target"
:
data
,
"total_score"
:
this
.
state
.
totalScore
,
"performance"
:
this
.
state
.
perfomanceScore
}
}
console
.
log
(
JSON
.
stringify
(
body
));
console
.
log
(
JSON
.
stringify
(
body
));
api
.
create
(
'UPLOAD'
).
uploadMonthlyReportCAT
(
body
).
then
(
response
=>
{
api
.
create
(
'UPLOAD'
).
uploadMonthlyReportCAT
(
body
).
then
(
response
=>
{
...
@@ -570,9 +573,12 @@ export default class CorporateAnnualTargetMR extends Component {
...
@@ -570,9 +573,12 @@ export default class CorporateAnnualTargetMR extends Component {
"report_id"
:
this
.
props
.
report_id
,
"report_id"
:
this
.
props
.
report_id
,
"status"
:
type
,
"status"
:
type
,
"months"
:
this
.
props
.
month
.
month_id
,
"months"
:
this
.
props
.
month
.
month_id
,
"corporate_annual_target"
:
data
"corporate_annual_target"
:
data
,
"total_score"
:
this
.
state
.
totalScore
,
"performance"
:
this
.
state
.
perfomanceScore
}
}
console
.
log
(
JSON
.
stringify
(
payload
));
// console.log(JSON.stringify(payload));
console
.
log
(
payload
);
api
.
create
(
'UPLOAD'
).
createMonthlyReportCAT
(
payload
).
then
(
response
=>
{
api
.
create
(
'UPLOAD'
).
createMonthlyReportCAT
(
payload
).
then
(
response
=>
{
console
.
log
(
response
);
console
.
log
(
response
);
...
...
src/container/MonthlyReport/TaxPlanningMR.js
View file @
65272d3e
...
@@ -359,7 +359,8 @@ export default class TaxPlanningMR extends Component {
...
@@ -359,7 +359,8 @@ export default class TaxPlanningMR extends Component {
periode
:
this
.
props
.
periode
,
periode
:
this
.
props
.
periode
,
report_id
:
this
.
props
.
report_id
,
report_id
:
this
.
props
.
report_id
,
months
:
this
.
props
.
month
.
month_id
,
months
:
this
.
props
.
month
.
month_id
,
tax_planning
:
payload
tax_planning
:
payload
,
status
:
"submitted"
}
}
this
.
setState
({
payload
:
body
,
judul
:
resp
.
rows
[
1
][
0
],
judulColumn
:
resp
.
rows
[
0
][
0
]
})
this
.
setState
({
payload
:
body
,
judul
:
resp
.
rows
[
1
][
0
],
judulColumn
:
resp
.
rows
[
0
][
0
]
})
// console.log(this.state.judulColumn)
// console.log(this.state.judulColumn)
...
...
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