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
821b714e
Commit
821b714e
authored
Feb 17, 2023
by
Riri Novita
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ENV-DEV' into 'ENV-DEPLOYMENT'
fixsying isyuu See merge request
!1704
parents
a8a6e608
b5553305
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 @
821b714e
.main-color{
/*
.main-color{
background-color: #273b80 !important;
} */
.main-color{
background-color: #1474CA !important;
}
.sub-color{
src/container/BudgetTahunan/BudgetTahunan.js
View file @
821b714e
...
...
@@ -2452,14 +2452,30 @@ export default class BudgetTahunan extends Component {
selectReport
.
map
(
async
(
items
)
=>
{
let
datas
=
data
.
findIndex
((
val
)
=>
val
[
4
]
==
items
)
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
(
`
${
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
);
if
(
res
.
status
===
200
)
{
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) {
// let datas = data.findIndex((val) => val[4] == items)
// let report = data[datas]
...
...
src/container/DownloadReport/DownloadReport.js
View file @
821b714e
This diff is collapsed.
Click to expand it.
src/container/SummaryTriputra/TableSummaryTriputra.js
View file @
821b714e
...
...
@@ -2444,7 +2444,7 @@ export default class TableSummaryTriputra extends Component {
<
span
>
{
"Debt to EBITDA"
}
<
/span
>
<
/div
>
<
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
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