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
b5ed8d3c
Commit
b5ed8d3c
authored
Nov 16, 2020
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
2560585b
b0faafcb
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
199 additions
and
659 deletions
+199
-659
index.js
src/api/index.js
+2
-0
TaxPlanning.js
src/container/BudgetTahunan/TaxPlanning.js
+110
-63
SubHolding.js
src/container/Laporan/SubHolding.js
+29
-29
MonthlyReport.js
src/container/MonthlyReport.js
+0
-1
TaxPlanningMR.js
src/container/MonthlyReport/TaxPlanningMR.js
+58
-566
No files found.
src/api/index.js
View file @
b5ed8d3c
...
@@ -255,6 +255,7 @@ const create = (type = "") => {
...
@@ -255,6 +255,7 @@ const create = (type = "") => {
const
getMonthlyReportID
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report_bs/get_monthly_report_id'
,
body
)
const
getMonthlyReportID
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report_bs/get_monthly_report_id'
,
body
)
const
getHierarkiMontlyReportBS
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report_bs/get_report_hierarki'
,
body
)
const
getHierarkiMontlyReportBS
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report_bs/get_report_hierarki'
,
body
)
const
getHierarkiMontlyReportOI
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report_oi/get_report_hierarki'
,
body
)
const
getHierarkiMontlyReportOI
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report_oi/get_report_hierarki'
,
body
)
const
getHierarkiMontlyReportTP
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report_tp/get_report_hierarki'
,
body
)
// MonthlyPL
// MonthlyPL
const
getHierarkiMontlyReportPL
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report_pl/get_report_hierarki'
,
body
)
const
getHierarkiMontlyReportPL
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report_pl/get_report_hierarki'
,
body
)
...
@@ -442,6 +443,7 @@ const create = (type = "") => {
...
@@ -442,6 +443,7 @@ const create = (type = "") => {
getDashboardUser
,
getDashboardUser
,
getHierarkiMontlyReportBS
,
getHierarkiMontlyReportBS
,
getHierarkiMontlyReportOI
,
getHierarkiMontlyReportOI
,
getHierarkiMontlyReportTP
,
getDetailReportCF
,
getDetailReportCF
,
getReportHierarkiPL
,
getReportHierarkiPL
,
getMonthlyReportID
,
getMonthlyReportID
,
...
...
src/container/BudgetTahunan/TaxPlanning.js
View file @
b5ed8d3c
This diff is collapsed.
Click to expand it.
src/container/Laporan/SubHolding.js
View file @
b5ed8d3c
...
@@ -505,7 +505,7 @@ export default class SubHolding extends Component {
...
@@ -505,7 +505,7 @@ export default class SubHolding extends Component {
}
else
if
(
this
.
state
.
report
.
value
===
4
)
{
}
else
if
(
this
.
state
.
report
.
value
===
4
)
{
api
.
create
().
getReportHierarkiFR
(
payload
).
then
(
response
=>
{
api
.
create
().
getReportHierarkiFR
(
payload
).
then
(
response
=>
{
// console.log(payload);
// console.log(payload);
console
.
log
(
response
);
//
console.log(response);
let
dataTable
=
[]
let
dataTable
=
[]
if
(
response
.
data
)
{
if
(
response
.
data
)
{
if
(
response
.
data
.
status
===
'success'
)
{
if
(
response
.
data
.
status
===
'success'
)
{
...
@@ -522,20 +522,20 @@ export default class SubHolding extends Component {
...
@@ -522,20 +522,20 @@ export default class SubHolding extends Component {
item
.
description
,
item
.
description
,
item
.
uom
,
item
.
uom
,
item
.
ratio
.
total_actual_before
===
null
?
"0.0"
:
item
.
ratio
.
total_actual_before
===
""
?
"0.0"
:
item
.
ratio
.
total_actual_before
,
item
.
ratio
.
total_actual_before
===
null
?
"0.0"
:
item
.
ratio
.
total_actual_before
===
""
?
"0.0"
:
item
.
ratio
.
total_actual_before
,
Number
(
item
.
ratio
.
january
).
toFixed
(
1
),
Number
(
item
.
ratio
.
january
).
toFixed
(
2
),
Number
(
item
.
ratio
.
february
).
toFixed
(
1
),
Number
(
item
.
ratio
.
february
).
toFixed
(
2
),
Number
(
item
.
ratio
.
march
).
toFixed
(
1
),
Number
(
item
.
ratio
.
march
).
toFixed
(
2
),
Number
(
item
.
ratio
.
april
).
toFixed
(
1
),
Number
(
item
.
ratio
.
april
).
toFixed
(
2
),
Number
(
item
.
ratio
.
may
).
toFixed
(
1
),
Number
(
item
.
ratio
.
may
).
toFixed
(
2
),
Number
(
item
.
ratio
.
june
).
toFixed
(
1
),
Number
(
item
.
ratio
.
june
).
toFixed
(
2
),
Number
(
item
.
ratio
.
july
).
toFixed
(
1
),
Number
(
item
.
ratio
.
july
).
toFixed
(
2
),
Number
(
item
.
ratio
.
august
).
toFixed
(
1
),
Number
(
item
.
ratio
.
august
).
toFixed
(
2
),
Number
(
item
.
ratio
.
september
).
toFixed
(
1
),
Number
(
item
.
ratio
.
september
).
toFixed
(
2
),
Number
(
item
.
ratio
.
october
).
toFixed
(
1
),
Number
(
item
.
ratio
.
october
).
toFixed
(
2
),
Number
(
item
.
ratio
.
november
).
toFixed
(
1
),
Number
(
item
.
ratio
.
november
).
toFixed
(
2
),
Number
(
item
.
ratio
.
december
).
toFixed
(
1
),
Number
(
item
.
ratio
.
december
).
toFixed
(
2
),
Number
(
item
.
ratio
.
total_next_year
).
toFixed
(
1
),
Number
(
item
.
ratio
.
total_next_year
).
toFixed
(
2
),
Number
(
item
.
ratio
.
total_more_year
).
toFixed
(
1
),
Number
(
item
.
ratio
.
total_more_year
).
toFixed
(
2
),
item
.
order
,
item
.
order
,
item
.
condition_it_should_be
,
item
.
condition_it_should_be
,
item
.
condition_if_wrong
item
.
condition_if_wrong
...
@@ -559,20 +559,20 @@ export default class SubHolding extends Component {
...
@@ -559,20 +559,20 @@ export default class SubHolding extends Component {
item
.
description
,
item
.
description
,
item
.
oum
,
item
.
oum
,
item
.
ratio
.
total_actual_before
===
null
?
"0.0"
:
item
.
ratio
.
total_actual_before
===
""
?
"0.0"
:
item
.
ratio
.
total_actual_before
,
item
.
ratio
.
total_actual_before
===
null
?
"0.0"
:
item
.
ratio
.
total_actual_before
===
""
?
"0.0"
:
item
.
ratio
.
total_actual_before
,
Number
(
item
.
ratio
.
january
).
toFixed
(
1
),
Number
(
item
.
ratio
.
january
).
toFixed
(
2
),
Number
(
item
.
ratio
.
february
).
toFixed
(
1
),
Number
(
item
.
ratio
.
february
).
toFixed
(
2
),
Number
(
item
.
ratio
.
march
).
toFixed
(
1
),
Number
(
item
.
ratio
.
march
).
toFixed
(
2
),
Number
(
item
.
ratio
.
april
).
toFixed
(
1
),
Number
(
item
.
ratio
.
april
).
toFixed
(
2
),
Number
(
item
.
ratio
.
may
).
toFixed
(
1
),
Number
(
item
.
ratio
.
may
).
toFixed
(
2
),
Number
(
item
.
ratio
.
june
).
toFixed
(
1
),
Number
(
item
.
ratio
.
june
).
toFixed
(
2
),
Number
(
item
.
ratio
.
july
).
toFixed
(
1
),
Number
(
item
.
ratio
.
july
).
toFixed
(
2
),
Number
(
item
.
ratio
.
august
).
toFixed
(
1
),
Number
(
item
.
ratio
.
august
).
toFixed
(
2
),
Number
(
item
.
ratio
.
september
).
toFixed
(
1
),
Number
(
item
.
ratio
.
september
).
toFixed
(
2
),
Number
(
item
.
ratio
.
october
).
toFixed
(
1
),
Number
(
item
.
ratio
.
october
).
toFixed
(
2
),
Number
(
item
.
ratio
.
november
).
toFixed
(
1
),
Number
(
item
.
ratio
.
november
).
toFixed
(
2
),
Number
(
item
.
ratio
.
december
).
toFixed
(
1
),
Number
(
item
.
ratio
.
december
).
toFixed
(
2
),
Number
(
item
.
ratio
.
total_next_year
).
toFixed
(
1
),
Number
(
item
.
ratio
.
total_next_year
).
toFixed
(
2
),
Number
(
item
.
ratio
.
total_more_year
).
toFixed
(
1
),
Number
(
item
.
ratio
.
total_more_year
).
toFixed
(
2
),
item
.
order
,
item
.
order
,
item
.
condition_it_should_be
,
item
.
condition_it_should_be
,
item
.
condition_if_wrong
item
.
condition_if_wrong
...
...
src/container/MonthlyReport.js
View file @
b5ed8d3c
...
@@ -778,7 +778,6 @@ export default class MonthlyReport extends Component {
...
@@ -778,7 +778,6 @@ export default class MonthlyReport extends Component {
company
=
{
this
.
state
.
company
}
company
=
{
this
.
state
.
company
}
revision
=
{
this
.
state
.
revisionTable
}
revision
=
{
this
.
state
.
revisionTable
}
periode
=
{
this
.
state
.
periode
.
periode
}
periode
=
{
this
.
state
.
periode
.
periode
}
// submissionID={this.state.submissionID}
monthlyReportId
=
{
this
.
state
.
monthlyReportId
}
monthlyReportId
=
{
this
.
state
.
monthlyReportId
}
month
=
{
this
.
state
.
month
}
month
=
{
this
.
state
.
month
}
// saveToMasterBudget={this.saveToMasterBudget.bind(this)}
// saveToMasterBudget={this.saveToMasterBudget.bind(this)}
...
...
src/container/MonthlyReport/TaxPlanningMR.js
View file @
b5ed8d3c
This diff is collapsed.
Click to expand it.
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