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
99d74bb3
Commit
99d74bb3
authored
Jan 11, 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
cfbaf446
ebf07473
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
78 additions
and
91 deletions
+78
-91
Parameter.js
src/container/MasterData/Parameter/Parameter.js
+2
-2
Perusahaan.js
src/container/MasterData/Perusahaan/Perusahaan.js
+2
-2
ReportItems.js
src/container/MasterData/ReportItems.js
+2
-2
UnitBisnis.js
src/container/MasterData/UnitBisnis.js
+2
-2
BalanceSheetMR.js
src/container/MonthlyReport/BalanceSheetMR.js
+6
-3
ListOfCreditFacilities.js
src/container/MonthlyReport/ListOfCreditFacilities.js
+62
-78
User.js
src/container/Otorisasi/User.js
+2
-2
No files found.
src/container/MasterData/Parameter/Parameter.js
View file @
99d74bb3
...
...
@@ -224,7 +224,7 @@ export default class Parameter extends Component {
downloadFile
=
async
()
=>
{
let
res
=
await
fetch
(
"${process.env.REACT_APP_URL_MAIN_BE}/public/attachment/download_file?fileName=ParameterTemplate&&fileType=xlsx"
`
${
process
.
env
.
REACT_APP_URL_MAIN_BE
}
/public/attachment/download_file?fileName=ParameterTemplate&&fileType=xlsx`
)
res
=
await
res
.
blob
()
// console.log(res)
...
...
@@ -239,7 +239,7 @@ export default class Parameter extends Component {
downloadDataTable
=
async
()
=>
{
let
res
=
await
fetch
(
"${process.env.REACT_APP_URL_MAIN_BE}/public/setting/export_setting"
`
${
process
.
env
.
REACT_APP_URL_MAIN_BE
}
/public/setting/export_setting`
)
res
=
await
res
.
blob
()
// console.log(res)
...
...
src/container/MasterData/Perusahaan/Perusahaan.js
View file @
99d74bb3
...
...
@@ -468,7 +468,7 @@ export default class Perusahaan extends Component {
downloadFile
=
async
()
=>
{
let
res
=
await
fetch
(
"${process.env.REACT_APP_URL_MAIN_BE}/public/attachment/download_file?fileName=CompanyTemplate&&fileType=xlsx"
`
${
process
.
env
.
REACT_APP_URL_MAIN_BE
}
/public/attachment/download_file?fileName=CompanyTemplate&&fileType=xlsx`
)
res
=
await
res
.
blob
()
console
.
log
(
res
)
...
...
@@ -483,7 +483,7 @@ export default class Perusahaan extends Component {
downloadDataTable
=
async
()
=>
{
let
res
=
await
fetch
(
"${process.env.REACT_APP_URL_MAIN_BE}/public/company/export_company"
`
${
process
.
env
.
REACT_APP_URL_MAIN_BE
}
/public/company/export_company`
)
res
=
await
res
.
blob
()
console
.
log
(
res
)
...
...
src/container/MasterData/ReportItems.js
View file @
99d74bb3
...
...
@@ -752,7 +752,7 @@ export default class ReportItems extends Component {
downloadFile
=
async
()
=>
{
let
res
=
await
fetch
(
"${process.env.REACT_APP_URL_MAIN_BE}/public/attachment/download_file?fileName=ItemReportTemplate&&fileType=xlsx"
`
${
process
.
env
.
REACT_APP_URL_MAIN_BE
}
/public/attachment/download_file?fileName=ItemReportTemplate&&fileType=xlsx`
)
res
=
await
res
.
blob
()
// console.log(res)
...
...
@@ -767,7 +767,7 @@ export default class ReportItems extends Component {
downloadDataTable
=
async
()
=>
{
let
res
=
await
fetch
(
"${process.env.REACT_APP_URL_MAIN_BE}/public/item_report/export_item_report"
`
${
process
.
env
.
REACT_APP_URL_MAIN_BE
}
/public/item_report/export_item_report`
)
res
=
await
res
.
blob
()
// console.log(res)
...
...
src/container/MasterData/UnitBisnis.js
View file @
99d74bb3
...
...
@@ -418,7 +418,7 @@ export default class UnitBisnis extends Component {
downloadFile
=
async
()
=>
{
let
res
=
await
fetch
(
"${process.env.REACT_APP_URL_MAIN_BE}/public/attachment/download_file?fileName=BusinessUnitTemplate&&fileType=xlsx"
`
${
process
.
env
.
REACT_APP_URL_MAIN_BE
}
/public/attachment/download_file?fileName=BusinessUnitTemplate&&fileType=xlsx`
)
res
=
await
res
.
blob
()
console
.
log
(
res
)
...
...
@@ -433,7 +433,7 @@ export default class UnitBisnis extends Component {
downloadDataTable
=
async
()
=>
{
let
res
=
await
fetch
(
"${process.env.REACT_APP_URL_MAIN_BE}/public/business_unit/export_business_unit"
`
${
process
.
env
.
REACT_APP_URL_MAIN_BE
}
/public/business_unit/export_business_unit`
)
res
=
await
res
.
blob
()
console
.
log
(
res
)
...
...
src/container/MonthlyReport/BalanceSheetMR.js
View file @
99d74bb3
...
...
@@ -352,7 +352,8 @@ export default class BalanceSheetMR extends Component {
periode
:
this
.
props
.
periode
,
report_id
:
this
.
props
.
report_id
,
balance_sheet
:
payload
,
months
:
this
.
props
.
month
.
month_id
months
:
this
.
props
.
month
.
month_id
,
status
:
'submitted'
}
console
.
log
(
body
)
this
.
setState
({
payload
:
body
,
judul
:
resp
.
rows
[
1
][
0
],
judulColumn
:
resp
.
rows
[
0
][
0
]
})
...
...
@@ -456,13 +457,15 @@ export default class BalanceSheetMR extends Component {
"balance_sheet"
:
data
}
console
.
log
(
body
);
//
console.log(JSON.stringify(body));
console
.
log
(
JSON
.
stringify
(
body
));
console
.
log
(
body
)
api
.
create
(
'UPLOAD'
).
uploadMonthlyReportBS
(
body
).
then
(
response
=>
{
console
.
log
(
response
);
if
(
response
.
data
)
{
if
(
response
.
data
.
status
===
"success"
)
{
this
.
props
.
onClickClose
()
// this.props.onClickClose()
this
.
props
.
saveToMonthlyReport
()
this
.
setState
({
loading
:
false
,
handleTekTekTek
:
0
})
// this.props.getReport()
}
else
{
this
.
setState
({
alert
:
true
,
messageAlert
:
response
.
data
.
message
,
tipeAlert
:
'warning'
,
loading
:
false
,
handleTekTekTek
:
0
},
()
=>
{
...
...
src/container/MonthlyReport/ListOfCreditFacilities.js
View file @
99d74bb3
This diff is collapsed.
Click to expand it.
src/container/Otorisasi/User.js
View file @
99d74bb3
...
...
@@ -431,7 +431,7 @@ export default class UserRole extends Component {
downloadFile
=
async
()
=>
{
let
res
=
await
fetch
(
"${process.env.REACT_APP_URL_MAIN_BE}/public/attachment/download_file?fileName=UserTemplate&&fileType=xlsx"
`
${
process
.
env
.
REACT_APP_URL_MAIN_BE
}
/public/attachment/download_file?fileName=UserTemplate&&fileType=xlsx`
)
res
=
await
res
.
blob
()
// console.log(res)
...
...
@@ -445,7 +445,7 @@ export default class UserRole extends Component {
}
downloadDataTables
=
async
()
=>
{
let
res
=
await
fetch
(
"${process.env.REACT_APP_URL_MAIN_BE}/public/user/export_user"
)
let
res
=
await
fetch
(
`
${
process
.
env
.
REACT_APP_URL_MAIN_BE
}
/public/user/export_user`
)
res
=
await
res
.
blob
()
// console.log(res)
if
(
res
.
size
>
0
)
{
...
...
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