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
09dfd795
Commit
09dfd795
authored
Mar 10, 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
ff360cff
ecc45f9a
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
221 additions
and
454 deletions
+221
-454
index.js
src/api/index.js
+2
-1
BudgetTahunan.js
src/container/BudgetTahunan.js
+3
-3
RollingOutlook.js
src/container/RollingOutlook.js
+2
-1
TaxPlanningRO.js
src/container/RollingOutlook/TaxPlanningRO.js
+214
-449
No files found.
src/api/index.js
View file @
09dfd795
...
...
@@ -245,7 +245,7 @@ const create = (type = "") => {
const
getRollingOutlookBS
=
(
body
)
=>
api
.
post
(
'transaction/balance_sheet/rolling_outlook/get_report_hierarki'
,
body
)
const
createRollingOutlookBS
=
(
body
)
=>
api
.
post
(
'transaction/balance_sheet/rolling_outlook/create_rolling_outlook'
,
body
)
const
getRollingOutlookPL
=
(
body
)
=>
api
.
post
(
'transaction/profit_loss/rolling_outlook/get_report_hierarki'
,
body
)
const
getRollingOutlookTP
=
(
body
)
=>
api
.
post
(
'transaction/rolling_outlook/tax_planning/get_report_hierarki'
,
body
)
//REPORT NEW
const
getAllReportBS
=
(
body
)
=>
api
.
post
(
'/transaction/db_balance_sheet/get_report_hierarki'
,
body
)
...
...
@@ -699,6 +699,7 @@ const create = (type = "") => {
getRollingOutlookID
,
getRollingOutlookBS
,
createRollingOutlookBS
,
getRollingOutlookTP
,
getAllMasterDataCat
,
getParentItemReport
,
saveMasterDataCat
,
...
...
src/container/BudgetTahunan.js
View file @
09dfd795
...
...
@@ -1657,7 +1657,7 @@ export default class BudgetTahunan extends Component {
"months"
:
0
,
}
// console.log(this.state.dbCF)
console
.
log
(
JSON
.
stringify
(
payload
))
//
console.log(JSON.stringify(payload))
api
.
create
().
createReportPLMB
(
payload
).
then
((
res
)
=>
{
console
.
log
(
res
)
this
.
setState
({
loading
:
false
})
...
...
@@ -1962,7 +1962,7 @@ export default class BudgetTahunan extends Component {
}
approvalSubmission
(
type
)
{
this
.
scrollToMyRef
()
//
this.scrollToMyRef()
this
.
setState
({
loading
:
true
},
()
=>
{
document
.
body
.
style
.
overflow
=
'hidden'
;
})
...
...
@@ -2233,7 +2233,7 @@ export default class BudgetTahunan extends Component {
}
validateRevision
()
{
this
.
scrollToMyRef
()
//
this.scrollToMyRef()
let
arrayRevisi
=
this
.
state
.
detailRevisiCheck
let
remarksKosong
=
0
arrayRevisi
.
map
((
item
,
index
)
=>
{
...
...
src/container/RollingOutlook.js
View file @
09dfd795
...
...
@@ -327,7 +327,7 @@ export default class RollingOutlook extends Component {
options
:
periodeData
,
getOptionLabel
:
(
option
)
=>
option
.
periode
,
};
let
index
=
data
.
sort
((
a
,
b
)
=>
a
-
b
).
findIndex
((
val
)
=>
val
===
(
this
.
state
.
lastPeriod
==
""
?
String
(
Number
(
currentYear
)
+
1
)
:
this
.
state
.
la
stPeriod
))
let
index
=
data
.
sort
((
a
,
b
)
=>
a
-
b
).
findIndex
((
val
)
=>
val
===
(
this
.
state
.
lastPeriod
==
""
?
String
(
Number
(
currentYear
)
+
1
)
:
this
.
state
.
la
testPeriode
))
// console.log(data)
console
.
log
(
this
.
state
.
lastPeriod
)
// console.log(periodeData)
...
...
@@ -1241,6 +1241,7 @@ export default class RollingOutlook extends Component {
onClickClose
=
{()
=>
this
.
setState
({
visibleTP
:
false
,
visibleRollingOutlook
:
true
})}
status
=
{
this
.
state
.
status
}
lastStatus
=
{
this
.
state
.
lastStatus
}
isApprover
=
{
'false'
}
/
>
)}
...
...
src/container/RollingOutlook/TaxPlanningRO.js
View file @
09dfd795
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