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
b6f5fc4c
Commit
b6f5fc4c
authored
Feb 02, 2021
by
Dida Adams Arizona
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'didam' into 'master'
Didam See merge request
!1095
parents
d56b1ea3
894e70b5
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
552 additions
and
12 deletions
+552
-12
index.js
src/api/index.js
+9
-1
BudgetTahunan.js
src/container/BudgetTahunan.js
+264
-9
SubHolding.js
src/container/Laporan/SubHolding.js
+4
-0
MonthlyReport.js
src/container/MonthlyReport.js
+267
-2
OperatingIndicator.js
src/container/OprIndicator/OperatingIndicator.js
+4
-0
OutlookPA.js
src/container/OutlookPA.js
+4
-0
No files found.
src/api/index.js
View file @
b6f5fc4c
...
@@ -247,7 +247,11 @@ const create = (type = "") => {
...
@@ -247,7 +247,11 @@ const create = (type = "") => {
const
createReportPLMB
=
(
body
)
=>
api
.
post
(
'/transaction/db_profit_loss/master_budget/create_submission_report'
,
body
)
const
createReportPLMB
=
(
body
)
=>
api
.
post
(
'/transaction/db_profit_loss/master_budget/create_submission_report'
,
body
)
const
createReportPLMR
=
(
body
)
=>
api
.
post
(
'/transaction/db_profit_loss/monthly_report/create_monthly_report'
,
body
)
const
createReportPLMR
=
(
body
)
=>
api
.
post
(
'/transaction/db_profit_loss/monthly_report/create_monthly_report'
,
body
)
const
getPLID
=
(
body
)
=>
api
.
post
(
'/transaction/db_profit_loss/get_profit_loss_id'
,
body
)
const
getPLID
=
(
body
)
=>
api
.
post
(
'/transaction/db_profit_loss/get_profit_loss_id'
,
body
)
const
getHierarkiCreateReportFRMB
=
(
body
)
=>
api
.
post
(
'/transaction/db_ratio/master_budget/get_report_hierarki'
,
body
)
const
getHierarkiCreateReportFRMR
=
(
body
)
=>
api
.
post
(
'/transaction/db_ratio/monthly_report/get_report_hierarki'
,
body
)
const
getFRID
=
(
body
)
=>
api
.
post
(
'/transaction/db_ratio/get_ratio_id'
,
body
)
const
getFRID
=
(
body
)
=>
api
.
post
(
'/transaction/db_ratio/get_ratio_id'
,
body
)
const
createReportFRMB
=
(
body
)
=>
api
.
post
(
'/transaction/db_ratio/master_budget/create_submission_report'
,
body
)
const
createReportFRMR
=
(
body
)
=>
api
.
post
(
'/transaction/db_ratio/monthly_report/create_monthly_report'
,
body
)
// const getReportPLMB = (body) => api.post('/transaction/db_profit_loss/get_report_hierarki', body)
// const getReportPLMB = (body) => api.post('/transaction/db_profit_loss/get_report_hierarki', body)
// const getReportPLMB = (body) => api.post('/transaction/db_profit_loss/get_report_hierarki', body)
// const getReportPLMB = (body) => api.post('/transaction/db_profit_loss/get_report_hierarki', body)
const
getReportPLMR
=
(
body
)
=>
api
.
post
(
'/transaction/db_profit_loss/monthly_report/get_report_hierarki'
,
body
)
const
getReportPLMR
=
(
body
)
=>
api
.
post
(
'/transaction/db_profit_loss/monthly_report/get_report_hierarki'
,
body
)
...
@@ -645,7 +649,11 @@ const create = (type = "") => {
...
@@ -645,7 +649,11 @@ const create = (type = "") => {
getFRID
,
getFRID
,
getHierarkiReportHistorical
,
getHierarkiReportHistorical
,
getHierarkiReportMTD
,
getHierarkiReportMTD
,
getHierarkiReportYtd
getHierarkiReportYtd
,
getHierarkiCreateReportFRMB
,
getHierarkiCreateReportFRMR
,
createReportFRMB
,
createReportFRMR
}
}
}
}
...
...
src/container/BudgetTahunan.js
View file @
b6f5fc4c
This diff is collapsed.
Click to expand it.
src/container/Laporan/SubHolding.js
View file @
b6f5fc4c
...
@@ -98,6 +98,10 @@ export default class SubHolding extends Component {
...
@@ -98,6 +98,10 @@ export default class SubHolding extends Component {
}
}
})
})
if
(
arrayBaru
.
length
>
0
)
{
arrayBaru
=
arrayBaru
.
sort
((
a
,
b
)
=>
a
.
company_name
.
localeCompare
(
b
.
company_name
))
}
let
defaultProps
=
{
let
defaultProps
=
{
options
:
arrayBaru
,
options
:
arrayBaru
,
getOptionLabel
:
(
option
)
=>
titleCase
(
option
.
company_name
),
getOptionLabel
:
(
option
)
=>
titleCase
(
option
.
company_name
),
...
...
src/container/MonthlyReport.js
View file @
b6f5fc4c
This diff is collapsed.
Click to expand it.
src/container/OprIndicator/OperatingIndicator.js
View file @
b6f5fc4c
...
@@ -188,6 +188,10 @@ export default class OperatingIndicator extends Component {
...
@@ -188,6 +188,10 @@ export default class OperatingIndicator extends Component {
}
}
})
})
if
(
arrayBaru
.
length
>
0
)
{
arrayBaru
=
arrayBaru
.
sort
((
a
,
b
)
=>
a
.
company_name
.
localeCompare
(
b
.
company_name
))
}
let
defaultProps
=
{
let
defaultProps
=
{
options
:
arrayBaru
,
options
:
arrayBaru
,
getOptionLabel
:
(
option
)
=>
titleCase
(
option
.
company_name
),
getOptionLabel
:
(
option
)
=>
titleCase
(
option
.
company_name
),
...
...
src/container/OutlookPA.js
View file @
b6f5fc4c
...
@@ -110,6 +110,10 @@ export default class OutlookPA extends Component {
...
@@ -110,6 +110,10 @@ export default class OutlookPA extends Component {
}
}
})
})
if
(
arrayBaru
.
length
>
0
)
{
companyData
=
companyData
.
sort
((
a
,
b
)
=>
a
.
company_name
.
localeCompare
(
b
.
company_name
))
}
let
defaultProps
=
{
let
defaultProps
=
{
options
:
companyData
,
options
:
companyData
,
getOptionLabel
:
(
option
)
=>
titleCase
(
option
.
company_name
),
getOptionLabel
:
(
option
)
=>
titleCase
(
option
.
company_name
),
...
...
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