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
b5553305
Commit
b5553305
authored
Feb 17, 2023
by
Riri Novita
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev/riri' into 'ENV-DEV'
fixsying isyuu See merge request
!1703
parents
9570b8d2
01797181
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
126 additions
and
29 deletions
+126
-29
app.css
src/assets/sass/app.css
+5
-1
BudgetTahunan.js
src/container/BudgetTahunan/BudgetTahunan.js
+23
-7
DownloadReport.js
src/container/DownloadReport/DownloadReport.js
+97
-20
TableSummaryTriputra.js
src/container/SummaryTriputra/TableSummaryTriputra.js
+1
-1
No files found.
src/assets/sass/app.css
View file @
b5553305
.main-color{
/*
.main-color{
background-color: #273b80 !important;
background-color: #273b80 !important;
} */
.main-color{
background-color: #1474CA !important;
}
}
.sub-color{
.sub-color{
src/container/BudgetTahunan/BudgetTahunan.js
View file @
b5553305
...
@@ -2452,14 +2452,30 @@ export default class BudgetTahunan extends Component {
...
@@ -2452,14 +2452,30 @@ export default class BudgetTahunan extends Component {
selectReport
.
map
(
async
(
items
)
=>
{
selectReport
.
map
(
async
(
items
)
=>
{
let
datas
=
data
.
findIndex
((
val
)
=>
val
[
4
]
==
items
)
let
datas
=
data
.
findIndex
((
val
)
=>
val
[
4
]
==
items
)
let
report
=
data
[
datas
]
let
report
=
data
[
datas
]
let
url
=
`
${
process
.
env
.
REACT_APP_URL_MAIN_BE
}
/public/transaction/master_budget/export_master_budget?submission_id=
${
submissionID
}
&&report_id=
${
report
[
4
]}
&&company_id=
${
company
.
company_id
}
&&year=
${
periode
.
periode
}
&&revision=
${
report
[
2
]}
&&download_file_report_id=
${
downloadedFileReportId
}
`
if
(
items
===
6
)
{
let
resReal
=
`
${
process
.
env
.
REACT_APP_URL_MAIN_BE
}
/public/transaction/cash_flow/master_budget/export_master_budget?submission_id=
${
submissionID
}
&&company_id=
${
company
.
company_id
}
&&year=
${
periode
.
periode
}
&&revision=
${
report
[
2
]}
&&report_id=
${
report
[
4
]}
&&download_file_report_id=
${
downloadedFileReportId
}
`
let
resNull
=
`
${
process
.
env
.
REACT_APP_URL_MAIN_BE
}
/public/transaction/cash_flow/master_budget/export_master_budget?submission_id=&&company_id=
${
company
.
company_id
}
&&year=
${
periode
.
periode
}
&&revision=
${
report
[
2
]}
&&report_id=
${
report
[
4
]}
&&download_file_report_id=
${
downloadedFileReportId
}
`
let
res
=
await
fetch
(
let
res
=
await
fetch
(
`
${
process
.
env
.
REACT_APP_URL_MAIN_BE
}
/public/transaction/master_budget/export_master_budget?submission_id=
${
submissionID
===
null
?
""
:
submissionID
}
&&report_id=
${
report
[
4
]}
&&company_id=
${
company
.
company_id
}
&&year=
${
periode
.
periode
}
&&revision=
${
report
[
2
]}
&&download_file_report_id=
${
downloadedFileReportId
}
`
this
.
props
.
submissionID
==
null
?
resNull
:
resReal
)
)
console
.
log
(
res
);
console
.
log
(
res
);
if
(
res
.
status
===
200
)
{
if
(
res
.
status
===
200
)
{
this
.
setState
({
arrayReport
:
[...
this
.
state
.
arrayReport
,
items
]
})
this
.
setState
({
arrayReport
:
[...
this
.
state
.
arrayReport
,
items
]
})
}
}
}
else
{
let
resReal
=
`
${
process
.
env
.
REACT_APP_URL_MAIN_BE
}
/public/transaction/master_budget/export_master_budget?submission_id=
${
submissionID
}
&&report_id=
${
report
[
4
]}
&&company_id=
${
company
.
company_id
}
&&year=
${
periode
.
periode
}
&&revision=
${
report
[
2
]}
&&download_file_report_id=
${
downloadedFileReportId
}
`
let
resNull
=
`
${
process
.
env
.
REACT_APP_URL_MAIN_BE
}
/public/transaction/master_budget/export_master_budget?submission_id=&&report_id=
${
report
[
4
]}
&&company_id=
${
company
.
company_id
}
&&year=
${
periode
.
periode
}
&&revision=
${
report
[
2
]}
&&download_file_report_id=
${
downloadedFileReportId
}
`
let
res
=
await
fetch
(
this
.
props
.
submissionID
==
null
?
resNull
:
resReal
)
console
.
log
(
res
);
if
(
res
.
status
===
200
)
{
this
.
setState
({
arrayReport
:
[...
this
.
state
.
arrayReport
,
items
]
})
}
}
// if (items === 1) {
// if (items === 1) {
// let datas = data.findIndex((val) => val[4] == items)
// let datas = data.findIndex((val) => val[4] == items)
// let report = data[datas]
// let report = data[datas]
...
...
src/container/DownloadReport/DownloadReport.js
View file @
b5553305
This diff is collapsed.
Click to expand it.
src/container/SummaryTriputra/TableSummaryTriputra.js
View file @
b5553305
...
@@ -2444,7 +2444,7 @@ export default class TableSummaryTriputra extends Component {
...
@@ -2444,7 +2444,7 @@ export default class TableSummaryTriputra extends Component {
<
span
>
{
"Debt to EBITDA"
}
<
/span
>
<
span
>
{
"Debt to EBITDA"
}
<
/span
>
<
/div
>
<
/div
>
<
div
className
=
"column-4"
style
=
{{
borderRight
:
'1px #fff solid'
,
justifyContent
:
'center'
,
display
:
'flex'
,
alignItems
:
'center'
,
backgroundColor
:
'#07a7d0'
,
height
:
40
}}
>
<
div
className
=
"column-4"
style
=
{{
borderRight
:
'1px #fff solid'
,
justifyContent
:
'center'
,
display
:
'flex'
,
alignItems
:
'center'
,
backgroundColor
:
'#07a7d0'
,
height
:
40
}}
>
<
span
>
{
"to Interest"
}
<
/span
>
<
span
>
{
"
EBITDA
to Interest"
}
<
/span
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
div
className
=
"column-2 grid grid-4x"
style
=
{{
justifyContent
:
'center'
,
display
:
'flex'
,
alignItems
:
'center'
,
backgroundColor
:
'#07a7d0'
}}
>
<
div
className
=
"column-2 grid grid-4x"
style
=
{{
justifyContent
:
'center'
,
display
:
'flex'
,
alignItems
:
'center'
,
backgroundColor
:
'#07a7d0'
}}
>
...
...
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