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
d179e22d
Commit
d179e22d
authored
Mar 02, 2023
by
Riri Novita
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
download repot
parent
c54c0e3a
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
19 additions
and
7 deletions
+19
-7
index.js
src/api/index.js
+2
-1
BudgetTahunan.js
src/container/BudgetTahunan/BudgetTahunan.js
+2
-0
CashFlow.js
src/container/BudgetTahunan/CashFlow.js
+5
-5
MonthlyReport.js
src/container/MonthlyReport/MonthlyReport.js
+2
-0
OperatingIndicator.js
src/container/OperatingIndicator/OperatingIndicator.js
+3
-0
OutlookPA.js
src/container/OutlookPA/OutlookPA.js
+2
-0
RollingOutlook.js
src/container/RollingOutlook/RollingOutlook.js
+3
-1
No files found.
src/api/index.js
View file @
d179e22d
...
@@ -866,7 +866,8 @@ const create = (type = "") => {
...
@@ -866,7 +866,8 @@ const create = (type = "") => {
createZipReport
,
createZipReport
,
createDownloadFile
,
createDownloadFile
,
getListDownload
,
getListDownload
,
downloadZipReport
downloadZipReport
,
sendEmail
}
}
}
}
...
...
src/container/BudgetTahunan/BudgetTahunan.js
View file @
d179e22d
...
@@ -2407,6 +2407,8 @@ export default class BudgetTahunan extends Component {
...
@@ -2407,6 +2407,8 @@ export default class BudgetTahunan extends Component {
"company_id"
:
company
.
company_id
,
"company_id"
:
company
.
company_id
,
"year"
:
periode
.
periode
,
"year"
:
periode
.
periode
,
"report_id"
:
selectReport
,
"report_id"
:
selectReport
,
"month"
:
""
,
"quartal"
:
""
,
"type_report_name"
:
"Master Budget"
"type_report_name"
:
"Master Budget"
}
}
console
.
log
(
payload
);
console
.
log
(
payload
);
...
...
src/container/BudgetTahunan/CashFlow.js
View file @
d179e22d
...
@@ -714,11 +714,11 @@ export default class CashFlow extends Component {
...
@@ -714,11 +714,11 @@ export default class CashFlow extends Component {
// }
// }
if
(
tableMeta
.
rowData
[
5
]
==
"Cash at the end of the period"
&&
column
==
7
)
{
if
(
tableMeta
.
rowData
[
5
]
==
"Cash at the end of the period"
&&
column
==
7
)
{
console
.
log
(
splitFormula
)
//
console.log(splitFormula)
console
.
log
(
baru
)
//
console.log(baru)
console
.
log
(
anjay
)
//
console.log(anjay)
console
.
log
(
anjay2
)
//
console.log(anjay2)
console
.
log
(
total
)
//
console.log(total)
// let testttt = dataTable2[tableMeta.rowIndex - 1][8].value
// let testttt = dataTable2[tableMeta.rowIndex - 1][8].value
// console.log(testttt)
// console.log(testttt)
// total = testttt
// total = testttt
...
...
src/container/MonthlyReport/MonthlyReport.js
View file @
d179e22d
...
@@ -2225,6 +2225,8 @@ export default class MonthlyReport extends Component {
...
@@ -2225,6 +2225,8 @@ export default class MonthlyReport extends Component {
"company_id"
:
company
.
company_id
,
"company_id"
:
company
.
company_id
,
"year"
:
periode
.
periode
,
"year"
:
periode
.
periode
,
"report_id"
:
selectReport
,
"report_id"
:
selectReport
,
"month"
:
month
?
String
(
month
.
month_id
).
toString
()
:
""
,
"quartal"
:
""
,
"type_report_name"
:
"Monthly Report"
"type_report_name"
:
"Monthly Report"
}
}
console
.
log
(
payload
);
console
.
log
(
payload
);
...
...
src/container/OperatingIndicator/OperatingIndicator.js
View file @
d179e22d
...
@@ -537,6 +537,8 @@ export default class OperatingIndicator extends Component {
...
@@ -537,6 +537,8 @@ export default class OperatingIndicator extends Component {
"company_id"
:
company
.
company_id
,
"company_id"
:
company
.
company_id
,
"year"
:
periode
.
periode
,
"year"
:
periode
.
periode
,
"report_id"
:
selectReport
,
"report_id"
:
selectReport
,
"month"
:
""
,
"quartal"
:
""
,
"type_report_name"
:
"Operating Indicator"
"type_report_name"
:
"Operating Indicator"
}
}
console
.
log
(
payload
);
console
.
log
(
payload
);
...
@@ -602,6 +604,7 @@ export default class OperatingIndicator extends Component {
...
@@ -602,6 +604,7 @@ export default class OperatingIndicator extends Component {
if
(
String
(
report
[
1
]).
toLocaleLowerCase
().
includes
(
'master budget'
))
{
if
(
String
(
report
[
1
]).
toLocaleLowerCase
().
includes
(
'master budget'
))
{
let
url
=
`
${
process
.
env
.
REACT_APP_URL_MAIN_BE
}
/public/transaction/operating_indicator/master_budget/export_master_budget?operating_indicator_id=
${
operatingIndID
==
null
?
""
:
operatingIndID
}
&&report_id=
${
report
[
3
]}
&&company_id=
${
company
.
company_id
}
&&year=
${
periode
.
periode
}
&&download_file_report_id=
${
downloadedFileReportId
}
`
let
url
=
`
${
process
.
env
.
REACT_APP_URL_MAIN_BE
}
/public/transaction/operating_indicator/master_budget/export_master_budget?operating_indicator_id=
${
operatingIndID
==
null
?
""
:
operatingIndID
}
&&report_id=
${
report
[
3
]}
&&company_id=
${
company
.
company_id
}
&&year=
${
periode
.
periode
}
&&download_file_report_id=
${
downloadedFileReportId
}
`
console
.
log
(
url
);
let
res
=
await
fetch
(
let
res
=
await
fetch
(
`
${
process
.
env
.
REACT_APP_URL_MAIN_BE
}
/public/transaction/operating_indicator/master_budget/export_master_budget?operating_indicator_id=
${
operatingIndID
==
null
?
""
:
operatingIndID
}
&&report_id=
${
report
[
3
]}
&&company_id=
${
company
.
company_id
}
&&year=
${
periode
.
periode
}
&&download_file_report_id=
${
downloadedFileReportId
}
`
`
${
process
.
env
.
REACT_APP_URL_MAIN_BE
}
/public/transaction/operating_indicator/master_budget/export_master_budget?operating_indicator_id=
${
operatingIndID
==
null
?
""
:
operatingIndID
}
&&report_id=
${
report
[
3
]}
&&company_id=
${
company
.
company_id
}
&&year=
${
periode
.
periode
}
&&download_file_report_id=
${
downloadedFileReportId
}
`
)
)
...
...
src/container/OutlookPA/OutlookPA.js
View file @
d179e22d
...
@@ -1453,6 +1453,8 @@ export default class OutlookPA extends Component {
...
@@ -1453,6 +1453,8 @@ export default class OutlookPA extends Component {
"company_id"
:
company
.
company_id
,
"company_id"
:
company
.
company_id
,
"year"
:
periode
.
periode
,
"year"
:
periode
.
periode
,
"report_id"
:
selectReport
,
"report_id"
:
selectReport
,
"month"
:
""
,
"quartal"
:
""
,
"type_report_name"
:
"Outlook PA"
"type_report_name"
:
"Outlook PA"
}
}
console
.
log
(
payload
);
console
.
log
(
payload
);
...
...
src/container/RollingOutlook/RollingOutlook.js
View file @
d179e22d
...
@@ -1487,11 +1487,13 @@ export default class RollingOutlook extends Component {
...
@@ -1487,11 +1487,13 @@ export default class RollingOutlook extends Component {
}
}
handleDownloadReport
(
tableMeta
)
{
handleDownloadReport
(
tableMeta
)
{
let
{
selectReport
,
company
,
periode
,
month
}
=
this
.
state
let
{
selectReport
,
company
,
periode
,
quarter
}
=
this
.
state
let
payload
=
{
let
payload
=
{
"company_id"
:
company
.
company_id
,
"company_id"
:
company
.
company_id
,
"year"
:
periode
.
periode
,
"year"
:
periode
.
periode
,
"report_id"
:
selectReport
,
"report_id"
:
selectReport
,
"month"
:
""
,
"quartal"
:
quarter
?
quarter
.
value
:
""
,
"type_report_name"
:
"Rolling Outlook"
"type_report_name"
:
"Rolling Outlook"
}
}
console
.
log
(
payload
);
console
.
log
(
payload
);
...
...
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